… locking hints in MySQL and SQL Server. In MySQL/Innodb LOCK IN SHARE MODE and …: SESSION1: mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> insert into tst… also blocks access to the data using LOCK IN SHARE MODE. So by …memory and CPU overhead. For some bulk operations it would be more …
Post: MySQL 5.6.7-RC in tpcc-mysql benchmark
…MySQL Version: 5.6.7-RC Benchmark specification Benchmark name: tpcc-mysql Scale factor: 2500W (~250GB of data…change the result significantly, especially in intensive IO workloads. In MySQL 5.6 it is finally …_size = 1M read_rnd_buffer_size = 4M bulk_insert_buffer_size = 8M myisam_sort_buffer_size …
Post: Using MyISAM in production
…inserts which can go concurrently with selects. This is sometimes presented as great concurrency for inserts but in reality it means only one INSERT…MySQL Server crashes or power goes down. In case crash happens without this option is enabled in…
Post: MySQL Server Memory Usage
… how should they estimate memory consumption by MySQL Server in given configuration. What is the formula … memory usage might be even larger – bulk inserts may allocate bulk_insert_buffer_size bytes of memory if …. Innodb has its own table cache in which meta data about each table accessed from the …
Post: Heikki Tuuri answers to Innodb questions, Part II
…Mysql is the main one with “innodb_buffer_pool_size=20480Mâ€) while the bulk of…become fragmented? Or maybe you have not inserted in the ascending order of the primary key…in a tolerable time? PZ: Indeed using master-master setup and switching roles is a good way to get large data manageable. MySQL…
Post: Aligning IO on a hard disk RAID – the Benchmarks
…mysqld] datadir=/data/mysql socket=/var/run/mysqld/mysqld.sock innodb_file_per_table = true innodb_data_file_path…tmp_table_size = 64M key_buffer_size = 8M bulk_insert_buffer_size = 8M myisam_sort_buffer_size =…similar, due to high concurrency response time in the first case is significantly better. …
Comment: Edge-case behavior of INSERT...ODKU
… I have been doing importing large amounts of data from a legacy schema to a completely re-…if it will be an insert or a select (and you must do those operations in bulk anyway to offset …feature in MySQL. InsODKU would be much better implemented on the server side in the same fashion I have done in …
Post: How many partitions can you have ?
… customer dealing with large MySQL data warehouse had the table which was had data merged into it with INSERT ON DUPLICATE KEY UPDATE statements… was set same as ID column) using bulk insert statements – 1000 rows in each. Loading the data was taking 9 seconds for 1 partitions… as in reality only 1 (max 2) partitions got data inserted to them per insert statement. As I tested the UPDATE path on INSERT OF…
Comment: MySQL Server Variables - SQL layer or Storage Engine specific.
…DATA INFILE and INSERT INTO … SELECT if target is empty MyISAM table. In such case the speed is very close. LOAD DATA INFLE in theory needs to do a bit more job by parsing the file but in practice overhead is minimal: mysql> load data…

