June 19, 2013

Post: Should MySQL and Web Server share the same box ?

… you need to have multiple servers you may decide ether to grow system in MySQL+Apache pairs or split MySQL And Web Server…. Easier to maintain – Same thing if box happens to run multiple things it is harder to maintain. I would not call… corruption, use RAID to avoid loosing database with any hard drive loss etc. Database boxes also generally require more monitoring and…

Post: How would you compress your MySQL Backup

…may not be available, especially for CPU bound MySQL Load. The benefit in this case is …of CPU itself, if it is target for multiple backups, plus there are higher network bandwidth requirements…decompression – this is again much less than hard drive sequential read performance, though the fact this …

Post: MySQL Users Conference - Innodb

… others due to statement level MySQL Replication which among other requirements, needs all auto-increment values in multiple value insert to be… 1-2 SATA drives so they are far from optimal for server grade IO subsystems. These are for MySQL 4.0 at… them to MySQL 5.0+ Heikki also mentioned there are more things inside Innodb to unleash performance such as multiple purge threads…

Post: Concatenating MyISAM files

… (read almost impossible) to locate on a drive with tools like ext3grep. No headers… that …records: 6 And then, back in mysql: mysql> use test Database changed mysql> flush tables; Query OK, 0 rows…, yes, you can concatenate MyISAM files, even when multiple keys are defined. Not for everyday use …

Post: MySQL Server Memory Usage

… – it really depends on application and configuration. Some applications will drive server to 10% of theoretical memory consumptions others only to… amount of memory MySQL will allocate for this operation. Note it is more complicated than once may think – multiple buffers of the… to run some queries. There can be mutiple key caches. Multiple key caches can be created to accomodate query executions Query…

Post: Cache Miss Storm

… is just one execution unit). Because we normally have multiple cores and multiple drives it can be less than that but it is… have instrumentation in your applications or take a look at MySQL Slow queries – which is good enough if you populate each… you’re better wait rather than starting populating it. For MySQL Query Cache the solution should have been to make queries…

Post: Distributed Set Processing with Shard-Query

… expressions always produce sets as output. Just to drive it home, SQL is relational algebra, and this… 99.9% of the work, due to the multiple levels of result set reduction. Finally, Shard-Query…resource which speaks SQL, but right now only MySQL storage nodes are supported. Amdahl’s law applies…

Post: The perils of uniform hardware and RAID auto-learn cycles

… short time span (a couple of hours). Queries were taking multiple seconds to execute instead of being practically instantaneous. But nothing… the same shipment from the manufacturer? Did they have hard drives from a single manufacturing batch? It turned out that the… cluster of problems, such as a bad batch of hard drives all failing close together, but this is the first time…

Post: InnoDB Full-text Search in MySQL 5.6: Part 2, The Queries!

… and the like. We are using MySQL 5.5.30 and MySQL 5.6.10 with no… 27.557558059692383 | | 408 | Free Colorado DMV Resources and Driving Records | 24.933029174804688 | | 48 | California Free Public … arizona” then we might expect to get back multiple matches containing the words “James” and “Peterson”,…

Post: Side load may massively impact your MySQL Performance

…=mysqlmysql-host=localhost –mysql-table-engine=innodb –mysql-db=test –oltp-table-name=md_cache_test_small –oltp-table-size=1100000 –mysql-user=msandbox –mysql… competing for what is single hard drive on this test system. It is worth to note MySQL actually uses midpoint insertion for… complex batch job query) you are likely going to have multiple accesses to the data on the same page before being…