Re: MyISAM large tables and indexes managing problems

2009-03-01 Thread Brent Baisley
Be careful with using InnoDB with large tables. Performance drops quickly and quite a bit once the size exceeds your RAM capabilities. On Mar 1, 2009, at 3:41 PM, Claudio Nanni wrote: Hi Baron, I need to try some trick like that, a sort of offline index building. Luckily I have a slave on th

Re: MyISAM large tables and indexes managing problems

2009-03-01 Thread Claudio Nanni
Hi Baron, I need to try some trick like that, a sort of offline index building. Luckily I have a slave on that is basically a backup server. Tomorrow I am going to play more with the dude. Do you think that there would be any improvement in converting the table to InnoDB forcing to use multiple

Re: MyISAM large tables and indexes managing problems

2009-03-01 Thread Baron Schwartz
Claudio, http://www.mysqlperformanceblog.com/2007/10/29/hacking-to-make-alter-table-online-for-certain-changes/ Your mileage may vary, use at your own risk, etc. Basically: convince MySQL that the indexes have already been built but need to be repaired, then run REPAIR TABLE. As long as the ind

Re: MyISAM large tables and indexes managing problems

2009-02-28 Thread Claudio Nanni
Yes I killed several times the query but now way, the server was continuing to hog disk space and not even shutdown worked! Thanks! Claudio 2009/2/27 Brent Baisley > MySQL can handle large tables no problem, it's large queries that it > has issues with. You couldn't just kill the query instead

Re: MyISAM large tables and indexes managing problems

2009-02-28 Thread Claudio Nanni
inal Message- > From: Claudio Nanni [mailto:claudio.na...@gmail.com] > Sent: Friday, February 27, 2009 4:43 PM > To: mysql@lists.mysql.com > Subject: MyISAM large tables and indexes managing problems > > Hi, > I have one 15GB table with 250 million records and just the primar

RE: MyISAM large tables and indexes managing problems

2009-02-27 Thread Rolando Edwards
-Original Message- From: Claudio Nanni [mailto:claudio.na...@gmail.com] Sent: Friday, February 27, 2009 4:43 PM To: mysql@lists.mysql.com Subject: MyISAM large tables and indexes managing problems Hi, I have one 15GB table with 250 million records and just the primary key, it is a very

Re: MyISAM large tables and indexes managing problems

2009-02-27 Thread Claudio Nanni
Great Brent, helps a lot! it is very good to know your experience. I will speak to developers and try to see if there is the opportunity to apply the 'Divide et Impera' principle! I am sorry to say MySQL it is a little out of control when dealing with huge tables, it is the first time I had to k

MyISAM large tables and indexes managing problems

2009-02-27 Thread Claudio Nanni
Hi, I have one 15GB table with 250 million records and just the primary key, it is a very simple table but when a report is run (query) it just takes hours, and sometimes the application hangs. I was trying to play a little with indexes and tuning (there is not great indexes to be done though) but