Re: whoa!

2009-03-01 Thread Andy Shellam
Hi PJ, By the look of your language you're using PHP to communicate with MySQL. Is this assumption correct? If so you don't need to use that section of the manual - that's the C API for programmers developing applications in the C or C++ language. PHP is a whole different ball game and

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

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 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