![]() | |
#41
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#42
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#43
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#44
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#45
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#46
| |||
| |||
|
|
"Christoph Rupp" <cruppst... (AT) gmail (DOT) com> wrote in message news:91140c56-1f05-4b5d-b45f-b34920db2051 (AT) x41g2000hsb (DOT) googlegroups.com... Brian, On Apr 21, 11:00 pm, "Brian Selzer" <br... (AT) selzer-software (DOT) com> wrote: Why not go with #4: 4. a physical log based on modified rows. Whenever a row is modified, added or removed, it is logged. Then you could also implement row versioning--just add a row version field to the physical rows. I believe that this what snapshot isolation is built on. It's not an SQL database, i don't even have the notion of "rows", but basically i think your #4 is the same as my #1 or #2. No, it isn't. #1 requires the logging of additional records that may not have been affected by an update. #2 doesn't log the entire changed record, but only bits and pieces. I would think that limiting the units of change to individual records--entire records--would simplify the process of marking and isolating units of work while at the same time guaranteeing consistency. |
#47
| |||
| |||
|
|
Several advantages of logical logging, not the only ones, I'm sure: 1) Likely more insensitive to future changes in physical organization/operations. 2) Potential to reconstruct old db values with additional constraints applied (I don't know how many times this would have avoided much more awkward surprise requirements). 3) Ability to shadow via another physical db, eg., for read-only audit or various performance requirements (my favourite advantage, maybe most people would favour #1.) |
#48
| |||
| |||
|
|
Several advantages of logical logging, not the only ones, I'm sure: 1) Likely more insensitive to future changes in physical organization/operations. 2) Potential to reconstruct old db values with additional constraints applied (I don't know how many times this would have avoided much more awkward surprise requirements). 3) Ability to shadow via another physical db, eg., for read-only audit or various performance requirements (my favourite advantage, maybe most people would favour #1.) |
#49
| |||
| |||
|
|
Several advantages of logical logging, not the only ones, I'm sure: 1) Likely more insensitive to future changes in physical organization/operations. 2) Potential to reconstruct old db values with additional constraints applied (I don't know how many times this would have avoided much more awkward surprise requirements). 3) Ability to shadow via another physical db, eg., for read-only audit or various performance requirements (my favourite advantage, maybe most people would favour #1.) |
#50
| |||
| |||
|
|
Several advantages of logical logging, not the only ones, I'm sure: 1) Likely more insensitive to future changes in physical organization/operations. 2) Potential to reconstruct old db values with additional constraints applied (I don't know how many times this would have avoided much more awkward surprise requirements). 3) Ability to shadow via another physical db, eg., for read-only audit or various performance requirements (my favourite advantage, maybe most people would favour #1.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |