|
|
|
|
|
by tluyben2
1537 days ago
|
|
I am old :) But experience is a big thing; I can sniff by just skimming the table definitions where probably something is very wrong. In uni in the 90s I studied both relational theory and formal methods and I had to spend a lot of time figuring out and fixing complexity; if you take a university level book on big O complexity and work through it, you will have a good feeling what software can and cannot do and in what way. That has not really changed; we have more efficient and more cache, we have improved algorithms, but things that cannot be looked up in O(1) are still dangerous and possibly can incur enormous IO even with only a few million records. Naive developers see that things are blazingly fast locally on their laptops and that’s it. I have met, especially in the last few years (In my bubble this is getting worse, quite fast), quite a lot of lead devs that actually do not know what an index is for and so I see entire dbs without any or only on the id field. I know people (for some reasons) do not like ORMs that create tables and indexes, but it would prevent many rookie mistakes if they did. |
|
I’ve never seen a database use “advanced” features like clustered columnstore or even just page compression.
I just have an email in my inbox from this morning from a small vendor that “doesn’t recommend” columnstore for a database containing 10 TB of numeric metrics in one table.
That would compress to a few gigabytes and query times would go from minutes to milliseconds.
But they “don’t support it”.
Which I now translate to: “we haven’t even flipped through the manual and when we googled it in a panic we didn’t understand it.”
This is how your data is being managed at huge enterprises and government agencies around the world.