Tagged With: OLTP

DB Execution Plans for C++/Java Developers, and for anybody who has read Knuth

August 29, 2017 by “No Bugs” Bunny

DB Execution Plans for C++/Java Developers, and for anybody who has read Knuth - Post preview image

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

OLTP DB Optimizations 101 - Thinking in Terms of Execution Plans

August 22, 2017 by “No Bugs” Bunny

OLTP DB Optimizations 101 - Thinking in Terms of Execution Plans - Post preview image

Quote:

to realize how our queries are working – we need to start thinking in terms of so-called “execution plans”.

Another Quote:

it can be faster to use Table Scan rather than Index-Scan+fetch over such a low-selectivity index

Filed under: Book: D&D of MOGs1st beta of Vol. VII-IX

Read more

Databases and RAIDs

May 30, 2017 by “No Bugs” Bunny

Databases and RAIDs - Post preview image

Quote:

for quite a few applications out there, the most important feature of the RAID is not even redundancy, but greatly improved write latency. Moreover – this is the thing which we cannot possibly get from software RAID (!).

Another Quote:

As a rule of thumb – I am trying to keep the size of OLTP DB small enough to fit into RAM of the OLTP DB Server.

Filed under: Book: D&D of MOGs1st beta of Vol. VII-IX

Read more

Gradual OLTP DB Development - from Zero to 10 Billion Transactions per Year and Beyond

December 13, 2016 by “No Bugs” Bunny

Gradual OLTP DB Development - from Zero to 10 Billion Transactions per Year and Beyond - Post preview image

Quote:

to make an efficient representation usable for OLAP – we need to modify our data on its way to OLAP replicas

Another Quote:

Each of the DB Server Apps is a replica master, but all replica targets are within the same Replica DB

Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System ArchitectureDesign decisionsDistributed systems(Re)Actors

Read more