Sometimes I get really frustrated by the things I used to know, but somehow forgot.
For instance, I USED to know that, in a relational database, nothing is ever always true.
Huh?
Perhaps an example will be illuminating.
Indexes - we are told that they help reads and hurt writes. I suppose that's true, on some level, because of the processing the RDBMS has to do in order to perform the actual operation of writing to the table, and updating the indexes.
However, I had a situation today wherein I found myself creating an index to DRAMATICALLY speed up a write operation.
Both for a delete where and an update where, adding the index cut the execution (in DB2, measured in timerons) by 60 - 80 %. Wow.
Honestly, I should have known this. I've been doing this for a while. I get used to pat ideas and the looking at a problem in a very particular way, or on a small set of data.
Bottom line, in relational databases, nothing ever always.
Subscribe to:
Post Comments (Atom)
DBT-50000 when using DBCA.bat on Windows (Oracle 19.11)
I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...
-
Most of what we're going to want to look at when you're having production issues are available through DMV's. If granti...
-
I spent a lot of time on this one, and it wasn't clear from examples precisely how the various items should be used together. The form...
-
I was not able to find what I considered a good, clear reference for this when I recently encountered it at a customer installation. I fou...
No comments:
Post a Comment