June 18, 2013

Post: MySQL File System Fragmentation Benchmarks

… default MySQL settings for MyISAM (table_cache=64) and set innodb_buffer_pool_size=8G innodb_flush_logs_at_trx_commit=2 innodb_log… overhead for this server configuration. Going to 10000 tables however insert speed dropped 20 times. This could be because ext3 does not… see insert speed starts slower but degrades less, even though drop from 1000 to 10000 tables is dramatic as well. The read speed

Post: MySQL Users Conference - Innodb

…engine for MySQLInnodb. Innodb Storage Engine was covered in a lot of talks, many of them done by Innodb users. … much larger than table itself) The index build speed is however not only reason I can’t … and same for all insert cases – in fact if the insert is single value insert or the number of …

Post: How InnoDB handles REDO logging

… if InnoDB cannot log at all, your transaction will never complete. Both the MySQL configuration and hardware will affect the speed at which InnoDB can log. You can request that InnoDB force its REDO… to the speed at which check-pointing can occur. In order to insert a new record in the transaction log, InnoDB must ensure…

Post: MySQL Indexing Best Practices: Webinar Questions Followup

… down your inserts and make primary key significantly fragmented. I also would note there are some MySQL optimizer …, will the index have any impact on the speed of the query? A: If you extend the… “order by desc” indicates a double linked list. Innodb has double linked list – each leaf page contains …

Comment: MySQL File System Fragmentation Benchmarks

MySQL/MySQL Server 5.0/” datadir=”C:/Program Files/MySQL/MySQL Server 5.0/Data/” default-character-set=latin1 default-storage-engine=INNODBinserted) I got 1121, 1133, and 1166 inserts per second into that one table. using autocommit for innodb inserts I got 1125, and 1158 inserts

Comment: Predicting how long data load would take

… this blog. I tuned on the paramerters like innodb_buffer_pool_size, large innodb_log_file_size, and a few other ones… test on MySql 5.0 and my laptop has 2.6 GHZ CPU and 2GB Memory. I found the insertion speed slow down at about 1GB table size. I use JDBC to insert 50,000 records with one insertion. the insertion time…

Post: Improved InnoDB fast index creation

…: mysql> CREATE TABLE t(id INT AUTO_INCREMENT PRIMARY KEY, c FLOAT) ENGINE=InnoDB; Query OK, 0 rows affected (0.00 sec) mysql> INSERT INTO t(c) VALUES (RAND()); Query OK, 1 row affected (0.00 sec) mysql> INSERT INTO t(c) SELECT… Quoting the fast index creation chapter in the MySQL manual: “… you can generally speed the overall process of creating and loading an…

Post: SHOW INNODB STATUS walk through

… sec, process no 3946, OS thread id 1151088992 inserting, thread declared inside InnoDB 500 mysql tables in use 1, locked 1 3 lock… number of inserts is pretty much insert buffer efficiency. Adaptive hash index is hash index Innodb builds for some pages to speed up row… views open inside InnoDB Main thread process no. 10099, id 88021936, state: waiting for server activity Number of rows inserted 143, updated…

Post: Heikki Tuuri Innodb answers - Part I

… features in MySQL 5.1 Q15: How frequently does Innodb fuzzy checkpointing is activated HT: InnoDB flushes … can see the full write speed of the disk for throughput. INNODB uses fuzzy checkpointing to…€™re performing INSERT with multiple values? We build up INSERTS on our clients and insert values 50 …

Post: MySQL performance on EC2/EBS versus RDS

…from your MySQL database. When you do, the limitations on the core counts and effective CPU speeds …as equivalent to the number of threads inside InnoDB, or to the Threads_running SHOW STATUS counter…design, you can make certain workloads, such as insert-heavy, work better in the Amazon cloud platform…