June 19, 2013

Post: Implementing SchemaSpy in your MySQL environment

of a schema in a database and generates a visual representation of it in a browser-displayable format. It lets you click through the hierarchy of database tablesto leave you with the impression that this is the only component of the tool.  There are additional tabs: Tables – Names, number of

Post: Shard-Query EC2 images available

query/run_worker to contain the following: #!/bin/bash while [ 1 ] do ./worker >> /dev/null 2>&1 < /dev/null done; Where to findto 2010′; mysql> use ontime1; Database changed mysql> show tableof 1 to 20 nodes. cd shard-query #generate a config for 20 shards (adjust to your number of

Post: Moving Subtrees in Closure Table Hierarchies

querying trees in an SQL database, including the design I call Closure Table. In Closure Table, we store every path into create new paths for each one, as many new paths as the number of ancestors of the new location times the number of nodes in

Post: Find and remove duplicate indexes

in our schemas can hurt the performance of our database: They make the optimizer phase slower because MySQL needs to examine more querynumber at the end of the name. This type of indexes are easy to find out and to

Post: InnoDB Full-text Search in MySQL 5.6 (part 1)

of “new” InnoDB tablespace files in our databasetable by querying the various I_S.INNODB_FT_* tables. In particular, the INNODB_FT_CONFIG table is supposed toof the other I_S tables, I do find that the number of rows in I_S.innodb_ft_index_table

Post: SHOW INNODB STATUS walk through

tables in use 1, locked 0 MySQL thread id 8079, query id 728899 localhost root Sending data select sqlnumber of tables used by transaction in question (meaning it was accessed) and number of tables locked by transactions. Innodb does not lock tables for normal operation so number of tables

Post: Quick comparison of MyISAM, Infobright, and MonetDB

in part because of the number of columns, which is over 200. The queries are generally pretty simple (sums ofto go to the mailing lists to find the correct COPY syntax — it wasn’t that listed indatabase use — there are a number of

Post: Shard-Query turbo charges Infobright community edition (ICE)

table). In order to demonstrate the power of Shard-Query it is important to test complex queriesin the dimension tables. It will be very interesting to test these queries on various engines and databases. Following is a list of the queriesof parallelism is controlled by the number of

Post: Why MySQL could be slow with large tables ?

to several tables or perform complex queries finding relationships between objects. Normalized structure and a lot of joins is right way to design your databasenumber of CPUs will not help. Sometimes it is good idea to manually split query into several, run in

Post: MySQL Crash Recovery

queries. Full table scan queries allow to preload table data ether in storage engine caches or in OS cache. You can save these into .sqlnumber of tables (Some users have hundreds of thousands of tables per database host). This one is pretty much part of cold start problems but I wanted to