June 20, 2013

Post: Implementing SchemaSpy in your MySQL environment

…data if you don’t need to?).  I get up to speed a lot faster and can… 5.6.10 sandbox: description=MySQL driver=com.mysql.jdbc.Driver connectionSpec=jdbc:mysql://127.0.0.1:5610… There are additional tabs: Tables – Names, number of children, parents, count of columns, row counts, and comments — a great…

Post: MySQL Query Patterns, Optimized - Webinar questions followup

…presentation on “MySQL Query Patterns, Optimized” for Percona MySQL Webinars.  If you … matching rows that you’ll get skewed results.  For instance, if… no movies, but your random number generator picks values in that … that it requires storing another column, and reinitializing the sequence after …

Post: Percona XtraDB Cluster 5.5.30-23.7.4 for MySQL now available

…fixed #1080539 (Teemu Ollakka). Standard MySQL port would be used when port number wasn’t explicitly defined… fail in case mixed CHAR and VARCHAR columns would be used in foreign key definitions. …server package, /usr/bin/clustercheck script would get overwritten, and any changes (such as username …

Post: Understanding the maximum number of columns in a MySQL table

… polls: “What is the maximum number of columns in MySQL?” and “What is the minimum maximum number of columns in MySQL?”. Before you read on, ponder…. However… for those using MySQL, Percona Server, MariaDB or any other of the MySQL branches/forks, you get to have these odd limitations…

Post: Is Synchronous Replication right for your app?

get to disk. This has no effect on standard MySQL replication from this instance, since MySQL replication is asynchronous. What about semi-sync MySQL…, each autocommit is retried only the number of times specified by this variable…above, how above moving the ‘joined’ column to the users_groups table …

Post: How to recover table structure from InnoDB dictionary

…NULL properties etc. `LEN` is the maximum number of bytes a field uses to …`PREC` please let me know. mysql> select * from SYS_COLUMNS WHERE TABLE_ID=741; +———-+—–+————-+——-+———+——+——+ | TABLE_ID… know all fields of the table, we can get the type. Is it enough for …

Post: Multi Column indexes vs Index Merge

… about how MySQL uses the index but not exactly what it gets from the index – typically (unless it is covering index) MySQL gets a… combined index but single index on another column. This is because MySQL is able to estimate number of rows it will find using… it: If we disable index on the second column we get a full table scan: mysql [localhost] {msandbox} (test) > explain select avg(length…

Post: High Rate insertion with MySQL and Innodb

…directly, still it is nice to see you can get the numbers as high with Innodb too. I will spare… bunch of indexes will see lower numbers. So what’s the deal ? First MySQL 5.5 (frankly I did not… performance by hash partitioning table by one of the columns and I would expect gains can be higher with…

Post: Testing MySQL column stores

… since I have experience developing such cases for MySQL column-based storage engines in the past. I reported … version. In addition, I was not able to get accurate results for all of the queries on …carsales.sales_fact” when run on InfiniDB returned a number that was higher than it should have been, …