(no title)
Brakenshire | 3 years ago
Is it a matter of having a conceptual model of relational algebra and the way the different db engines work, or is it more an accumulation of heuristics over time for what probably will cause problems, and an iterative process of using EXPLAIN, adjusting the query and seeing what happens?
tluyben2|3 years ago
jiggawatts|3 years ago
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.
pfarrell|3 years ago
zasdffaa|3 years ago
> Is it a matter of having a conceptual model of relational algebra and the way the different db engines work
...no....
> or is it more an accumulation of heuristics over time for what probably will cause problems
...no....
> an iterative process of using EXPLAIN, adjusting the query and seeing what happens?
...that's more like it!
Once you understand the underlying data structures, all the magic goes away. As it should.
tluyben2|3 years ago
> Once you understand the underlying data structures, all the magic goes away. As it should.
Once you actually understand them, I feel you don’t need explain in most cases; you will simply ‘see’ why certain queries or definitions or structures are bad.