June 19, 2013

Post: Virident vCache vs. FlashCache: Part 2

…time=7200 ­­–max­-requests=0 ­­–percentile=95 ­­\ –mysql­-user=root –mysql­-socket=/tmp/mysql.sock ­­–mysql­-table­-engine=innodb ­­\ –oltp­-read­-only=off … back_log = 50 wait_timeout = 120 max_connections = 5000 max_prepared_stmt_count=500000 max_connect_errors = 10 table_open_cache = 10240 …

Post: Benchmarking Percona Server TokuDB vs InnoDB

…=insert_roll.lua –oltp-table-size=10000 –mysql-user=root –oltp-tables-count=32 –mysql_table_engine=tokudb –oltp_auto_inc=on –max… (fixed) port = 3306 back_log = 50 max_connections = 2000 max_prepared_stmt_count=500000 max_connect_errors = 10 table_open_cache = 2048 max… = 10G myisam_repair_threads = 1 myisam_recover socket=/var/lib/mysql/mysql.sock user=root skip-grant-tables TokuDB-related options are…

Post: Ultimate MySQL variable and status reference list

…constantly referring to the amazing MySQL manual, especially the option and variable reference table. … port_open_timeoutblogpercona.commanual preload_buffer_sizeblogpercona.commanual Prepared_stmt_countblogpercona.commanual print_defaultsblogpercona.commanual profilingblogpercona.commanual profiling…

Post: Troubleshooting MySQL Memory Usage

…. For prepared statements you might want to look at Prepared_stmt_count to see how many prepared statements are allocated on server and Com_stmt_send… and fixed. This is where your MySQL Support contract can be handy. Conclusion Understanding where MySQL can allocate memory can help us…

Post: MySQL Prepared Statements

… in MySQL Server turned out to be prepare statements or cursors which were forgotten to be closed. Watch Com_stmt_prepare and Com_stmt_close to see if you’re closing all prepared statements. In newer versions you can also use prepared_stmt_count variable…

Post: 10+ Ways to Crash or Overload MySQL

prepared statements and keep max_prepared_stmt_count very low. Prepared Statements and Blob Data If you’re want to get memory consumed by single prepared…_size or max_prepared_stmt_count are designed to protect from typical application mistakes not from someone intentionally trying to bring MySQL Server down…

Post: MySQL 5.6.7-RC in tpcc-mysql benchmark

… two bugs: MySQL 5.6.7 locks itself on CREATE INDEX MySQL 5.6.7-rc crashed under tpcc-mysql workload But at… change the result significantly, especially in intensive IO workloads. In MySQL 5.6 it is finally possible to achieve stable throughput… (fixed) port = 3306 back_log = 50 max_connections = 2000 max_prepared_stmt_count=500000 max_connect_errors = 10 table_open_cache = 2048 max…

Post: XtraDB/InnoDB CPU bound benchmarks on 24cores server

… : 40 bits physical, 48 bits virtual power management: I tested MySQL-5.1.30 with InnoDB plugin, Xtradb-1.0.2…=1M max_connections=3000 max_heap_table_size=64M max_prepared_stmt_count=1000000 query_cache_size=0 skip_grant_tables skip_locking…

Post: SQL Injection Questions Followup

…= join(“,”, array_fill(0, count($params), “?”)); $sql = “SELECT * FROM Bugs WHERE bug_id IN ($placeholders)”; $stmt = $pdo->prepare($sql); $stmt->execute($params); Radu … too much computation load onto their database server.  Their MySQL server became CPU-bound, while their multiple PHP application …

Comment: 10+ Ways to Crash or Overload MySQL

prepared statement like Insert into test(long_text) values (?); while (chunck_cnt<535000) { mysql_stmt_send_long_data(mysql, 0, chunk, 2000); chunk_cnt++; } mysql_stmt