(Venu Anuganti) Last week I was working on one of the issue where the sub-query related to OLAP staging was running for about 2+ hours in the production server and finally nailed down to get the query to run in < 7 secs. It was bit interesting and kind of known issue in MySQL sub-queries world and o [membership level="0"] […]
Tag: Open Source
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
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.
Don’t Assume – Transactions
(Ronald Bradford) MySQL by default is a NON transactional database. For the hobbyist (See The Hobbyist and the Professional), startup entrepreneur and website developer this may not appear foreign, however to the seasoned Oracle DBA who has only used Oracle the concept is very foreign.
Static charts vs. interactive charts
(Shlomi Noach) I’m having my usual fun with charts. Working on mycheckpoint, I’ve generated monitoring charts using the Google Chars API. But I’ve also had chance to experiment and deploy interactive charts, JavaScript based. In particular, I used and tweaked dygraphs.
When the ALTER TABLE privilege is not enough to run ALTER TABLE
(Singer Wang) I recently granted ALTER access in MySQL so a user could run the ALTER TABLE command . However after I granted the necessary privileges, the user was still not able to perform the tasks needed. Reproducing the issue using a test instance, I granted a test user the required privileges a
Why you should ignore MySQL’s key cache hit ratio
(Baron Schwartz) I have not caused a fist fight in a while, so it’s time to take off the gloves. I claim that somewhere around of 99% of advice about tuning MySQL’s key cache hit ratio is wrong, even when you hear it from experts. There are two major problems with the key buffer hit ratio, and a hos
on NULL and NOT IN
(Ben Krug) I’ve been trying to think of something “big” to write about for so long, I haven’t written anything. So I’ll write about something “small” that I found out the other day.
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 –
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
