(Peter Zaitsev) Many of us find INFORMATION_SCHEMA painfully slow to work it when it comes to retrieving table meta data. Many people resort to using file system tools instead to find for example how much space innodb tables are using and things like it. Besides being just slow accessing information
Tag: Open Source
The Grant Statement in MySQL
(Alejandro Gervasio) In this article, I’ll introduce you to what the MySQL GRANT statement is, and how it can be used to assign all sorts of privileges to a given user, based on different scopes and conditions.
How to Check and Repair MySQL Tables Using Mysqlcheck
(Ramesh Natarajan) When your mysql table gets corrupted, use mysqlcheck command to repair it.
On protecting MySQL from unwanted use of –skip_grant_tables
(Mike Frank) If a DBA needs to reset the mysql root password – one method of doing this is to run mysqld with -skip-grant-tables as a command line parameter. This is a bad practice for many reasons and as a DBA friend of mine says – it’s a lot like locking your door with the window open. If you are
Inner vs Outer Joins on a Many-To-Many Relationship
(Lorna Mitchell) Someone will probably tell me that this is an elementary-level topic, but I got some good questions regarding joins from my most recent ZCE class students, so I thought I’d put down the examples that I used to explain this to them. Being able to join with confidence is a key skill,
Monitor your MySQL servers as done before, for free!
(Shlomi Noach) With genuine respect to other products, the people making those products and the efforts involved, I would like to make an issue:
What Ops doesn’t tell you about your MySQL Database
(Sean Hull) MySQL is a very scalable platform which has proven robust even in the most dense and complex data environments. MySQL’s indispensable replication function is ‘sold’ as being fail-safe so you have little to sweat about as long as your backups are running regularly. But what the ops guys a
Statement based replication with Stored Functions, Triggers and Events
(Miguel Angel Nieto) Statement based replication writes the queries that modify data in the Binary Log to replicate them on the slave or to use it as a PITR recovery. Here we will see what is the behavior of the MySQL when it needs to log “not usual” queries like Events, Functions, Stored Procedures
INFORMATION_SCHEMA Optimizations: still crashing my servers
(Shlomi Noach) INFORMATION_SCHEMA Optimizations are meant to make your INFORMATION_SCHEMA queries lighter and safer.
MySQL DATE_FORMAT function and ORDER BY
(Shahryar Ghazi) An interesting scenario that I came across today was the fact that if you use the same alias as the column name in a formatted string (using DATE_FORMAT) and you also use same alias in ORDER BY or GROUP BY clause then MySQL uses the string output of DATE_FORMAT to sort records rathe
