SCD Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 80
- Joined: Sat Mar 18, 2006 10:27 pm
SCD Stage
As far as best practices front,
Is State file better option than DB sequence for surrogate key generation?
If so, Why?
Is State file better option than DB sequence for surrogate key generation?
If so, Why?
Re: SCD Stage
It will prefer DB rather than file, as i had the bad experience "file corrupted"
DB is safe.
DS User
DB is safe.
DS User
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you don't do anything to corrupt the state file, such as opening it with a text editor, the state file is also perfectly safe - it does not corrupt itself.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 80
- Joined: Sat Mar 18, 2006 10:27 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 80
- Joined: Sat Mar 18, 2006 10:27 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The word "perforce" is an adverb meaning "necessarily".
I claim only that getting a block of keys out of a local state file will be quicker than sending a request over a network to invoke a database and issue a query against a sequence in that database then wait for the response from that database.
I make no claim about the "performance" of a state file, because it makes no sense to do so. What are your criteria?
I claim only that getting a block of keys out of a local state file will be quicker than sending a request over a network to invoke a database and issue a query against a sequence in that database then wait for the response from that database.
I make no claim about the "performance" of a state file, because it makes no sense to do so. What are your criteria?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not necessarily. It will be wherever the DB2 database is.
If you're thinking of using a sequence in XMETA, there's still no requirement for the database (metadata repository tier) to be co-resident with the engine tier.
If you're thinking of using a sequence in XMETA, there's still no requirement for the database (metadata repository tier) to be co-resident with the engine tier.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.