June 19, 2013

Comment: Upgrading MySQL

takes too long. In that case often the alternative is to takemysql_upgrade it tries to check and upgrade all tables which need to be changed but fails miserably with Innodb tables. Recommendation by the mysql

Post: MySQL optimizer: ANALYZE TABLE and Waiting for table flush

check the following blog post for more information: http://www.mysqlperformanceblog.com/2011/10/06/when-does-innodb-update-tableTABLE: mysql> analyze table t; +——–+———+———-+———-+ | Tablelong query finishes or kill the query. Also, we have to take

Post: Working with large data sets in MySQL

mySQL teach you ? Of course you have to learn a lot about query optimization, art of building summary tables…after power failure as check and repair may take long hours (this …how you’re going to alter your database because it takes… using keycache) If it does not performance may drop performance…

Post: The tool I've been waiting for years

check how pages are cached. For example every second page cached may be helpful for point queries but doestable is cached would allow optimizer to take much smarter decisions in many cases. Lets now see some examples: [root@DB01 mysql

Post: Innodb undo segment size and transaction isolation

Long transactions can also be bad for other reasons such as takinghow long transaction looks: —TRANSACTION 17402D749, ACTIVE 15867 sec, process no 19349, OS thread id 1630148928 MySQL…to check: mysql> select * from information_…table at that point in time. If you use READ-COMMITTED mode Innodb does

Post: Percona XtraDB Cluster - installation and setup webinar follow up Q&A

…built-in mysql replication are…Binaries ? A: Check out Jay…long as there are at least 3 datacenters, and the total number of the datacenters is odd. Q: How is configuration for the arbitrator? A: You should use the garbd binary for that, is takes… FLUSH TABLES WITH READ…MyISAM. Q: How does write …

Post: How number of columns affects performance ?

tables which have long rows tend to be slower than tables with short rows. I was interested to checktables is to use covering indexes. I added one to t99v1 table and repeated the query: mysql

Post: The new cool MySQL patch has landed! Check your queries performance!

…see those which take less than 1s. Now long_query_time …table is required for query execution Tmp_table will be set. Sometimes that tableMySQL currently allows you to see many per-session statistics for operations with SHOW SESSION STATUS, but that does…_r_wait you can see how much time (in seconds) …

Post: Distributed Set Processing with Shard-Query

…writing Flexviews, I learned how to distribute the …on sets Shard-Query takes relational algebra to its…means that Shard-Query does not have to… database administrator. As long as all of …but right now only MySQL storage nodes are supported… for a UNIQUE CHECK * on the base table: `origin_airport_id…

Post: MySQL Blob Compression performance benefits

… the table it often makes sense to keep it compressed. Unfortunately MySQL doesMySQL tools. Some people get best of both worlds by taking COMPRESS/UNCOMPRESS functions from the MySQL… I usually run some checks to see how much compression will benefit …forum posts (if they are generally long enough) …