mcconnellj
MIS
I have a large table with 24 million rows. I have one complex update statement that is updating about 15 columns, but it is taking 4 hours to update the entire table.
I noticed when evaluating the table structure, that I have datatypes that are larger than necessary. For example, I have a dec(14,2), but a dec(9,2) will suffice. This would reduce the storage requirement down by 4 bytes.
If I make this change and others I have identified, I estimate that I will decrease the size of the table by 1 - 2 GB.
Should I expect this change will translate into a faster execution of the above mentioned 4 hour update query?
Thanks for your help!
I noticed when evaluating the table structure, that I have datatypes that are larger than necessary. For example, I have a dec(14,2), but a dec(9,2) will suffice. This would reduce the storage requirement down by 4 bytes.
If I make this change and others I have identified, I estimate that I will decrease the size of the table by 1 - 2 GB.
Should I expect this change will translate into a faster execution of the above mentioned 4 hour update query?
Thanks for your help!