Tagged With: SQL

OLTP Database Optimization 102 – DIY Heterogeneous Replication (Part II)

October 31, 2017 by “No Bugs” Bunny

OLTP Database Optimization 102 – DIY Heterogeneous Replication (Part II) - Post preview image

Quote:

The point of Super-Replica is that it is a replica Slave DB which is larger than original Master DB

Another Quote:

this “don’t write some HISTORICAL data to Master DB” approach can easily allow to reduce the load on the Master OLTP DB by a factor of 2x-3x

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

Read more

OLTP Optimization 102: DYI Heterogeneous Replication. Part I (Basics)

October 24, 2017 by “No Bugs” Bunny

OLTP Optimization 102: DYI Heterogeneous Replication. Part I (Basics) - Post preview image

Quote:

there are still several Big Fat Reasons™ to use DIY replicas

Another Quote:

With the Replication Messages described above, it is ok to apply Replication Messages to Slave DB which is newer than exactly necessary.

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

Read more

OLTP Optimization Cheat Sheets for dbdevs and DBAs

September 5, 2017 by “No Bugs” Bunny

OLTP Optimization Cheat Sheets for dbdevs and DBAs - Post preview image

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 more

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