The ANSI/ISO standard SQL 92 refers to three different read phenomena when Transaction 1 reads data that Transaction 2 might have changed.
In the following examples, two transactions take place. In the first, Query 1 is performed. Then, in the second transaction, Query 2 is performed and committed. Finally, in the first transaction, Query 1 is performed again.
The queries use the following data table:
id | name | age |
---|---|---|
1 | Joe | 20 |
2 | Jill | 25 |
Read more about this topic: Isolation (database Systems)
Famous quotes containing the words read and/or phenomena:
“But then people dont read literature in order to understand; they read it because they want to re-live the feelings and sensations which they found exciting in the past. Art can be a lot of things; but in actual practice, most of it is merely the mental equivalent of alcohol and cantharides.”
—Aldous Huxley (18941963)
“All the phenomena which surround him are simple and grand, and there is something impressive, even majestic, in the very motion he causes, which will naturally be communicated to his own character, and he feels the slow, irresistible movement under him with pride, as if it were his own energy.”
—Henry David Thoreau (18171862)