Advanced Total found: 23
Posts (13) Pages (0) Comments (10)

July 3, 2008

Post: How to load large files safely into InnoDB with LOAD DATA INFILE

Posted by Baron Schwartz |
…one chunk: time mysql -e “set foreign_key_checks=0; set sql_log_bin=0; set unique_checks=0; load data local infile ‘infile….]; do time mysql -e “set foreign_key_checks=0; set sql_log_bin=0; set unique_checks=0; load data local infile ‘/tmp/…

September 22, 2006

Comment: Duplicate indexes and redundant indexes

Posted by peter |
… only with spatial extenrsions anyway. Speaking about UNIQUE it is interesting. If you have UNIQUE(… queries but It is other story. UNIQUE is both Index and constraint, but …one ether have to create extra index or do unique checking on application.

November 10, 2009

Comment: Using MyISAM in production

Posted by Santiago |
… ENGINE=INNODB DEFAULT CHARSET=latin1; SET UNIQUE_CHECKS=0; START TRANSACTION; – SOME MULTIPLE INSERTS KIND OF INSERT INTO transferido_…LIMIT 100000,100000 ); –ETC. COMMIT; SET UNIQUE_CHECKS=1; ALTER TABLE transferido RENAME…

May 24, 2007

Post: Predicting how long data load would take

Posted by peter |
…, for example MyISAM can build non-unique indexes by sort which is very fast … MyISAM build indexes via sorting not by BTREE insertion. For Innodb SET UNIQUE_CHECKS=0 may be used to speed up load to tables with unique keys. So as you can see there…

October 31, 2007

Post: The new cool MySQL patch has landed! Check your queries performance!

Posted by Maciej Dobrzanski |
… waiting to enter the InnoDB queue or inside that queue waiting for execution. InnoDB_pages_distinct tells the number of unique pages accessed by the query. This is actually an approximation based on a small hash array representing the entire buffer …

September 3, 2008

Post: ANALYZE: MyISAM vs Innodb

Posted by peter |
…mysql> show index from antest_innodb; +—————+————+———-+————–+————-+———–+————-+———-+——–+——+————+———+ | Table | Non_unique | Key_name | Seq_in_index | Column_name …

April 25, 2007

Comment: COUNT(*) vs COUNT(col)

Posted by Raj |
… db pages 0 restart mysql and check the count of (rajid): mysql>…when you use a secondary index. Check the buffer pool usage: Total memory…default NULL, PRIMARY KEY (`comment_ID`), UNIQUE KEY `rajidx` (`rajid`) ) ENGINE=InnoDB DEFAULT…

August 17, 2006

Post: Duplicate indexes and redundant indexes

Posted by peter |
… see something like PRIMARY KEY(id), UNIQUE KEY id(id), KEY id2(id…as object identifier, now we create UNIQUE because we want it to be… KEY and it will enforce unique values and will be used in… which will help you to check your schema for redundant and …

November 24, 2008

Post: How Percona does a MySQL Performance Audit

Posted by Baron Schwartz |
… your application is not as unique as you think, and we … is pretty common, I can check whether MegaCli is installed, and use… etc. Nothing unusual. Next I check what the MySQL version is, … all the things he’d checked, which was extensive indeed. After …

November 29, 2006

Post: BoardReader - Forum Search Engine

Posted by peter |
… to build summary tables as we want to count uniques, but it should be fixed once we rewrite … and rating of Domains In both cases we check how many links each of domains is getting and from how many unique sites. For domains we split domains which are …