Tagged With: Database
OLTP DB Optimizations 102 – Group Commits
October 17, 2017 by • “No Bugs” Bunny
Quote:
if we can commit several transactions at the same time – RDBMS needs to fsync() our DB logs to physical disks only once
Another Quote:
if going our preferred way of single-writing-DB connection – make sure NOT to use RDBMS-level Group Commit
Filed under: Book: D&D of MOGs1st beta of Vol. VII-IXOn.ProgrammingOptimizations
Read moreOLTP DB Optimizations 102 –100% Coherent App-Level Cache for Single-writing-DB-connection
October 10, 2017 by • “No Bugs” Bunny
Quote:
with our app-level cache, we’re guaranteed to get exactly the same results as if we’d be querying the underlying database.
Another Quote:
why settle for invalidation when we can modify cache accordingly, saving on the extra DB request when we’re dealing with the same USER again?
Filed under: Book: D&D of MOGs1st beta of Vol. VII-IXOn.ProgrammingOptimizations
Read moreOLTP Optimization Cheat Sheets for dbdevs and DBAs
September 5, 2017 by • “No Bugs” Bunny
Quote:
Have I already mentioned that you DO need to understand execution plans?
Another Quote:
DO keep in mind that maintaining indexes has its own cost
Filed under: Book: D&D of MOGs1st beta of Vol. VII-IXOn.ProgrammingOptimizations
Read moreDB Execution Plans for C++/Java Developers, and for anybody who has read Knuth
August 29, 2017 by • “No Bugs” Bunny
Quote:
If I was a compiler-with-ability-to-create-indexes-as-I-need-it – what would I do to make The Ideal Execution Plan™ for this request?
Another Quote:
When we have that ideal-execution-plan – we still need to convince our SQL compiler to use it
Filed under: Book: D&D of MOGs1st beta of Vol. VII-IX
Read more