Tag: Open Source

Community

Finding useless indexes

(Arjen Lentz) I’ll say beforehand that the following is not very clean – for a number of reasons. I’ll discuss some issues after the query. The query returns all indexes in a db where the cardinality is lower than 30% of the rows, thus making it unlikely that the server will ever use that index.

Community

SQL Mode ANSI_QUOTES

(Sheeri Cabral) I was asked today about the ANSI_QUOTES SQL mode. According to http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html, ANSI_QUOTES mode changes the functionality of double quotes () to be like the backtick (`). Normally the functionality of double quotes is more like that of