Re:Domain Logic and SQL (2003)
by silon42 on Friday February 21, 2020 @07:24AM
(#22382579)
+1 Also, in my experience, SQL query optimizers can also be unpredictable on complex queries (behavior changes with data size and statistics) which can cause them to suddenly change to slow execution plan when data grows or something is added , despite having all indexes for a good plan possible (which for interactive apps is to avoid table scans always -- they might be faster in some bad corner cases, but if data doesn't fit memory, they can't be cached and they slow down everything else).
[ Parent
| on HN ]
Re:Domain Logic and SQL (2003)
by tkyjonathan on Friday February 21, 2020 @07:52AM
(#22382696)
That could be a fault of complex physical data models that need simplification.
Re:Domain Logic and SQL (2003)
by knightofmars on Monday February 24, 2020 @09:10AM
(#22404049)
When dealing with decades old legacy data models sometimes it's what you have to deal with.