(Ike Walker) It’s easy to load multiple rows of data from a file into a MySQL table with a single LOAD DATA INFILE command, but if the file is over a certain size you may want to load it in multiple chunks. When I have a file with millions of lines I typically use pt-fifo-split to separate the file
Tag: Open Source
Performance Schema memory tables and rightless users
(Sveta Smirnova) When I talk about troubleshooting I like to repeat: “Don’t grant database access to everybody!” This can sound a bit weird having one can give very limited read-only access.
MySQL Error Codes Out Of Context
(Baron Schwartz) In the wrong context, almost anything can be funny, and MySQL’s error codes are no exception. A few weeks ago, things got a little loopy at VividCortex headquarters as we discovered some definitions that could be taken more than one way.
MySQL 5.7: only_full_group_by Improved, Recognizing Functional Dependencies, Enabled by Default!
(Guilhem Bichot) Here’s an account of recent work which has kept me busy and excited for a few months. For those unfamiliar with the only_full_group_by sql mode, let me provide some context.
Recover MySQL root password without restarting MySQL (no downtime!)
(Daniel Guzmán Burgos) The situation is the classic “need to recover MySQL root password” but you cannot restart MySQL (because it is the master production server, or any other reason), which makes the –skip-grant-tables solution as a no-no possibility.
SYS Schema First Steps
(Dave Stokes) Oracle DBAs have has the luxury of their V$ variables for a long time while we MySQL DBAs pretended we were not envious. With MySQL 5.6 and 5.7 we were gifted with the PERFORMANCE_SCHEMA tables.
Failed MySQL DDL commands and Galera replication
(Shinguz) We have recently seen a case where the following command was executed on a Galera Cluster node:
MySQL 5.6 Transportable Tablespaces best practices
(Muhammad Irfan) In MySQL 5.6 Oracle introduced a Transportable Tablespace feature (copying tablespaces to another server) and Percona Server adopted it for partial backups which means you can now take individual database or table backups and your destination server can be a vanilla MySQL server.
If Eventual Consistency Seems Hard, Wait Till You Try MVCC
(Baron Schwartz) This should sound familiar: One of the great lies about NoSQL databases is that they’re simple. Simplicity done wrong makes things a lot harder and more complicated to develop and operate. Programmers and operations staff end up reimplementing (badly) things the database should do.
What happens when your application cannot open yet another connection to MySQL
(Fernando Laudares) Have you ever experienced a situation where one moment you can connect to the MySQL database and the next moment you cannot, only to be able to connect again a second later? As you may know one cannot open infinite connections with MySQL.
