June 19, 2013

Post: MySQL File System Fragmentation Benchmarks

in single tablespace mode showed following results: [root@DB10 ~]# for i in 1 10 100 1000 10000; do ./benchmark.php $i 10000000; mysqlInsert performance is close, the difference is perhaps explained by the fact files needed to be constantly extended (meta data updates) and reopened for

Post: Read/Write Splitting with PHP Webinar Questions Followup

…master, and each slave would “specialize” by serving read queries for only specific databases.  In this …intended for cases where the query load is too high for a single database instance, and …write splitting (updates,inserts) on multiple MySQL servers? Or is it possible to split only read queries (…

Post: Distributed Set Processing with Shard-Query

INSERT-only workloads, and their are other optimizations that can be applied to views that are based on only a singlefor a simple query with aggregation, a JOIN, and a WHERE clause that uses an IN

Post: High-Performance Click Analysis with MySQL

query forand if the many rows don’t match completely, the single one doesn’t know what data should live in it. Andfor the database server.  If you do it on the master with INSERT..SELECT queries, it will propagate to the slaves andMySQL 5.1′s row-based replication, or in MySQL 5.0 and

Post: Using MyISAM in production

MySQL bugs but corruption may happen and go for long unnoticed with MyISAM storage engine. This hidden corruption may later cause crashes wrong queryupdated, and you might not know which ones. Concurrency. MyISAM uses table locks and has concurrent inserts

Post: Percona XtraDB Cluster: Failure Scenarios with only 2 nodes

and 1/3 (33%) on the single one. Ininsert in both nodes without any problem when the connection between the nodes is gone: percona1 mysql> insert into percona values (0,’percona1′,’jaime’); Query

Post: MySQL Server Variables - SQL layer or Storage Engine specific.

in MyISAM format inmysql” database. Plus HEAP/MEMORY tables are used forQuery Cache also could use this feature. low_priority_updates If enabled selects will get higher priority than updates and waiting update

Post: How multiple disks can benefit for single client workload ?

MySQL goes through more rows than it needs to requires look at the queries andsingle query is executed for Innodb storage engine to be more specific. Lets look at update queries (from replication thread for example). When updateand possibly index pages you’re to modify) – even if you’re doing INSERT

Post: Reasons for run-away main Innodb Tablespace

and index definitions and related stuff, double write buffer, insert buffer which temporary stores records to be inserted in the index tree andsingle transaction may modify single row and so be responsible for

Post: Full Text Search Webinar Questions Followup

and 20 on Sphinx). Also Sphinx does the relevance sorting by default, adding relevance sorting to the MySQL queriesfor each keyword. Jessy B. asked: Q: With respect to Solr and Sphinx, do indexes stay up to date with changes (inserts, updates and… index isn’t in sync, …on a single machine and a common…