June 19, 2013

Comment: Database problems in MySQL/PHP Applications

…a clustered index based on (in order) the primary key you specify (an auto_increment), a unique …/ how to create indexes. Foreign key references may add processing time to inserts, updates, and deletes…however start > to crawl. > So developing you PHP applications use test database with reasonable > …

Comment: Edge-case behavior of INSERT...ODKU

…straight inserts are faster; if you think about the operations involved – an insert … removing any need to examine secondary indexes. FWIW, I don’t think … much easier to scale a [perl|php|ruby|bash] script and run …any *performance* issues directly related to auto-increment density. That would be an …

Post: Heikki Tuuri answers to Innodb questions, Part II

…0 series. Also note the “Auto Increment Issue” is finally solved in… http://bugs.mysql.com/bug.php?id=29560 Concerning a …scalability (concurrent queries, autoincrement, concurrent inserts, instrumentation, etc.). Rather than treat…run to show any table / index fragmentation, without having to run the…

Comment: Why MySQL could be slow with large tables ?

… using MySql, Apache and Php. The database has a …INSERTing in them is a nightmare. I use multiple record INSERTs (150 each time), and the first INSERT…=InnoDB; The capital letters are INDEXes and some reference columns in… letter column, and a different AUTO_INCREMENT column as PRIMARY or even…

Post: Using MMM to ALTER huge tables

auto_increment or change ENUM values. When it comes to changes that really require table to be rebuilt – adding/dropping columns or indexesinserts without columns named (bad e.g. “INSERT INTO table VALUES (id,value1,value2,..)”; good e.g. “INSERT… cli, execute some php/python/ruby script or anything…