Tag: Open Source

Community

Don’t Assume – Data Integrity

(Ronald Bradford) MySQL has the same level of data integrity for numbers and strings as Oracle; when MySQL is correctly configured. By default (a reason I wish I knew why it is still the default), MySQL performs silent conversions on boundary conditions of data that will result in your data not alwa

Community

In Defense of varchar(x)

(Leo Hsu and Regina Obe) This is a rebuttal to Hubert’s charx, varcharx, varchar, and text and David Fetter’s varchar(n) considered harmful. I respect both Hubert and David and in fact enjoy reading their blogs. We just have deferring opinions on the topic.

Community

MySQL Boolean Data Type

(Michael McLaughlin) Somebody posted a quick question about the outcome of defining a table with a bool data type in PHPMyAdmin. They were subsequently surprised when they checked the MySQL database and found that it was actually a tinyint(1). The natural question they had was: “What do you enter –

Community

Ineffective concatenated indexes

(Ronald Bradford) In MySQL significant performance improvements can be achieved by the correct use of indexes. It is important to understand different MySQL index implementations and one key improvement on indexes defined on single columns is to use multiple column or more commonly known concatenate