May 23, 2012

Post: MySQL File System Fragmentation Benchmarks

in 1 10 100 1000 10000; do ./benchmark.php $i 10000000; mysql -e’drop database test1′; mysql -e’create databaseindex header (most complex part of opening and closing MyISAM table) can happen by OS in

Post: Improved InnoDB fast index creation

index creation chapter in the MySQL manual: “… you can generally speed the overall process of creating and loading an indexedindex creation uses temporary files in tmpdir for all indexes being created. So make sure you have enough tmpdir space when using expand_fast_index

Post: How Percona does a MySQL Performance Audit

databases Many people assume their application is difficult or somehow different, and that we need all kinds ofin mysqlof the analysis for last. You cannot consider any one of these factors (schema, queries, indexing) in

Post: Connecting orphaned .ibd files

INDEXES are relevant. These are usual InnoDB tables, but they’re hidden from a user(you can see them in information_scheme database inin < MySQL-4.0.14 space id the page belongs to (== 0) but in later versions the ‘new’ checksum ofin InnoDB dictionary for table test/t2 In this case you need to drop

Post: High-Performance Click Analysis with MySQL

of data processing in MySQL, you’re going to end up heavily I/O bound.  Listen to any of the talks at past MySQLof some of the tactics I’ve used to successfully scale large click-processing and other types of event-analysis databases. In

Post: MySQL extensions for hosting

MySQL patch bundle. They were extensions adding per-user and per-table accounting to the database, accessible with a new set ofindex are the most active or which are not being used at all and could be candidates for dropping. All… block users having huge spike in MySQL usage Personally I would see …

Post: Why MySQL could be slow with large tables ?

all indexes are created equal. Some indexes may be placed in sorted way or pages placed in random places – this may affect indexIn MySQL single query runs as single thread (with exeption of MySQL Cluster) and MySQL

Post: Shard-Query EC2 images available

of the input data. The ICE schema was discussed in the comments of the last post. ICE does not have any indexes…(but not the ontime_fact data): DROP TABLE IF EXISTS `dim_airport`; CREATE TABLE `…COMMENT=’Contains all avaialble data from 1988 to 2010′; mysql> use ontime1; Database changed mysql> show …

Post: Getting around optimizer limitations with an IN() list

Database search by “within x number of miles” radius? Anyone out there created a zipcode database and created a “search within x numer ofin MySQL, it’s best to show some execution plans on dummy data: EXPLAIN SELECT * FROM coordinates FORCE INDEX

Post: The two even more fundamental performance metrics

index of dispersion, an amazingly useful metric for discovering periods of poor performance), and more. Analyze the distribution ofin most systems such as databasein MySQL servers I work with when they’re running a simple read-mostly workload with most data in