How MySQL Optimizes WHERE Clauses

MySQL Cluster

Some of the optimizations performed by MySQL on where clauses as follow: Removal of unnecessary parentheses: ((a AND b) AND c OR (((a AND b) AND (c AND d)))) To (a AND b AND c) OR (a AND b AND c AND d) Constant folding: (a<b AND b=c) AND a=5 To b>5 AND b=c AND … Read more

Optimizing MySQL SELECT statements

MySQL Cluster

The core logic of a database application is performed through SQL statements, whether issued directly through an interpreter or submitted behind the scenes through an API. The tuning guidelines of this post will help to speed up all kinds of MySQL applications. The guidelines cover SQL operations that read and write data, the behind-the-scenes overhead … Read more

CSS Selectors – manipulate HTML element : Chapter 3

html-css-website

CSS Selectors CSS selectors allow you to select and manipulate HTML element(s). CSS selectors are used to “find” (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more. 1. The element Selector The element selector selects elements based on the element name.You can select all <p> elements on … Read more