![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It is essential that these items be locked and updated , never duplicated. It seems that one has a deal more handling if one has to index search every time. In fact it can turn into a duplicated record very easily. |
#3
| |||
| |||
|
|
Outside of triggers, there are database-level mechanisms to enforce any data constraints |
#4
| |||
| |||
|
|
On 2011-04-06 20:59:40 -0400, Kevin Powick <nos... (AT) spamless (DOT) com> said: Outside of triggers, there are database-level mechanisms to enforce any data constraints That should have read, "... there are *no* database-level mechanisms...." -- Kevin Powick |
#5
| |||
| |||
|
|
Actually should have read "no MV Database level mechanisms...." |

|
That's what gave Bad Odor and others the ammunition to sink us |
#6
| |||
| |||
|
|
On 2011-04-07 04:36:54 -0400, Robert Joslyn <bobjoslyn... (AT) gmail (DOT) com> said: Actually should have read "no MV Database level mechanisms...." I kind of figured that the "MV" part was a given, considering the forum and all. ![]() That's what gave Bad Odor and others the ammunition to sink us With the growing popularity of NoSQL databases such as CouchDB, MongoDB, etc., I wonder if that school of though is changing? *Many of those NoSQL databases attribute, to a degree, their scalability to the fact that data integrity is not built into the database and, just like MV, must be maintained at the application level. Actually, I'm aware of some large, high-throughput systems built on SQL/RDBMS that do not use any database level integrity checks because it is too much of a performance penalty. -- Kevin Powick |
#7
| |||
| |||
|
|
Hi My case sensitive question has morphed so I have separated this out. I wonder about the wisdom of dumping unique complex ids in favour of just using the next number plus a set of indices. No problem for log or transaction files as they should never be altered anyway. However in the case of say a debtors master and delivery address files I can see a lot of problems. Debtor key company*debtor id 1*29 in my case the 9 is a mod11 check digit based on the combination of a fixed length company and fixed length debtor id for the purposes of calculation only. Debtor's delivery addresses 1*29*0 .....999 It is essential that these items be locked and updated , never duplicated. *It seems that one has a deal more handling if one has to index search every time. *In fact it can turn into a duplicated record very easily. Although I can see that flagging the record as closed and making a new one could bypass the need for a separate audit change file. Also I have always maintained that indices are simply look up devices and can always be rebuilt from the master file. *In the numeric id case this seems to go out of the window as duplicates will be replicated. Any thoughts welcome Peter McMurray |
![]() |
| Thread Tools | |
| Display Modes | |
| |