June 20, 2013

Post: Implementing SchemaSpy in your MySQL environment

Tables – Names, number of children, parents, count of columns, row counts, and comments — a great way for a high level overview of the tableto use the search feature of your browser to zero in on a particular table Constraints – lists the explicit Foreign Key constraints in the database

Post: Is Synchronous Replication right for your app?

… replication to allhow about maintaining the counter in memcache or redis and only flushing to the database periodically? if( $last_countcount = $last_count where achievement = ‘killed_troll’”; } change your schema In Example 2, above, how above moving the ‘joined’ column to the users_groups table

Post: How To Test Your Upgrades - pt-upgrade

counts, checksums, column count, query execution time including execution errors and warnings. So howtable from your production databases and tables. Use a separate account for testing – one that has read (i.e. SELECT) to all objects within the database… which tells in general how each fingerprint …

Post: How to find MySQL queries worth optimizing ?

… be thinking in this case there is no database access happening at all – you would…tables but because the access type to the tables is “const” MySQL does not count it as access to two tables. In case of “real” access to… no” answer but rather helps to understand how much optimization is possible. For …

Post: Database access Optimization in Web Applications.

to keep page look the same. Your task is simply to have this information delivered from the database most efficient way. Investigate howdatabase access. This applies to anything else – if you can avoid dynamic page generation at all and have server cache to… tbl to count amount of rows in the table (…

Post: How fast is FLUSH TABLES WITH READ LOCK?

to it, all other processes attempting to modify anything in the system are locked out. In theory, this might not seem so bad because after all…test | Query | 80 | Sending data | select countto get a list of tables and columns in the current database for tab-completion. Note also that “Flushing tables

Post: Using any general purpose computer as a special purpose SIMD computer

to show how to count the number of unique words, an how many times those words appear indatabase system can not provide native parallelism, then performance will be poor. — SQL TO SEND TOin set (0.00 sec) How to factor numbers create table

Post: How much memory Innodb locks really take ?

… row in set (0.27 sec) Table with rather small row size, containing 1638400 rows. Now lets lock all rows in this table and see how long does it take: mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> select count… on serious systems. Furtermore you would unlikely need or want to lock every row in your table/database which makes it even smaller problem.

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

to find out how to make InnoDB FTS blazingly-fast, but simply to get a sense of how it works compared toin our databasetable by querying the various I_S.INNODB_FT_* tables. In particular, the INNODB_FT_CONFIG table is supposed to

Post: Why MySQL could be slow with large tables ?

…understand how much having data in memory …count(pad) | +————+ | 314008 | +————+ 1 row in set (29 min 53.01 sec) Also remember – not alltables or perform complex queries finding relationships between objects. Normalized structure and a lot of joins is right way to design your database