Re: reindexing

2003-08-14 Thread Brent Baisley
You are referring to fragmentation. In this case I'm pretty sure it's just a matter of updating the indexes so that MySQL makes the correct assumptions about the distribution of data. MySQL assumes data values have an equal distribution in a database, updating the indexes will force MySQL to u

RE: reindexing

2003-08-14 Thread electroteque
when i reimport i usually drop all the indexes first anyway as it takes forever i have found that a repair table quick usually helps after reindexing too -Original Message- From: Adam Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:09 AM To: 'MySQL' Subject:

Re: reindexing

2003-08-14 Thread Heikki Tuuri
Jeff, - Original Message - From: "Jeff Mathis" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Thursday, August 07, 2003 9:01 PM Subject: Re: reindexing > what is the command to update InnoDB table indexes? if you mean update index cardinality statis

Re: reindexing

2003-08-07 Thread Jeff Mathis
what is the command to update InnoDB table indexes? jeff Brent Baisley wrote: > > You are referring to fragmentation. In this case I'm pretty sure it's > just a matter of updating the indexes so that MySQL makes the correct > assumptions about the distribution of data. MySQL assumes data values

Re: reindexing

2003-08-06 Thread Jeff Mathis
I was under the impression that InnoDB tables took care of this for you. You only need to be concerned if you add/delete repeatedly from anywhere but the end rows of the table. I'd like to know if I'm wrong about this. Adam Nelson wrote: > > I just did a major insert of new data and now all my

reindexing

2003-08-05 Thread Adam Nelson
I just did a major insert of new data and now all my selects have slowed down. The table is innodb. Is there a way to reindex everything without having to drop anything. Otherwise, I suppose I will have to drop the indexes and remake them. -- MySQL General Mailing List For list archives: http

Re: Faster reindexing

2003-07-17 Thread Dominicus Donny
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 11:42 AM Subject: Re: Faster reindexing > umm say i reindex after a reimport i usually drop all the indexes first , > then a

Re: Faster reindexing

2003-07-17 Thread daniel
aul DuBois wrote: >> At 14:14 +0700 7/9/03, Dominicus Donny wrote: >> >Sorry, my mistake. It's "reindexing" then. >> >Once i should add 2 key indexes on a huge table. >> >But instead of alter the table in 1 single query, >> >I build each index 1 b

Re: Faster reindexing

2003-07-17 Thread Jeremy Zawodny
On Wed, Jul 09, 2003 at 11:51:01PM -0500, Paul DuBois wrote: > At 14:14 +0700 7/9/03, Dominicus Donny wrote: > >Sorry, my mistake. It's "reindexing" then. > >Once i should add 2 key indexes on a huge table. > >But instead of alter the table in 1 single

RE: Faster reindexing

2003-07-10 Thread Rudy Metzger
ian Weimer [mailto:[EMAIL PROTECTED] Sent: donderdag 10 juli 2003 10:06 To: Dathan Vance Pattishall Cc: 'Paul DuBois'; [EMAIL PROTECTED] Subject: Re: Faster reindexing "Dathan Vance Pattishall" <[EMAIL PROTECTED]> writes: > Maybe increasing > > #use for when my

Re: Faster reindexing

2003-07-10 Thread Florian Weimer
"Dathan Vance Pattishall" <[EMAIL PROTECTED]> writes: > Maybe increasing > > #use for when mysql is doing a check or repair > set-variable= myisam_sort_buffer_size=64M > > to a higher value will make the index happen faster on the fly. MySQL doesn't seem to honour this variable. I've set it

Re: Faster reindexing

2003-07-09 Thread Paul DuBois
At 14:14 +0700 7/9/03, Dominicus Donny wrote: Sorry, my mistake. It's "reindexing" then. Once i should add 2 key indexes on a huge table. But instead of alter the table in 1 single query, I build each index 1 by 1. Generally, it is faster to build all your indexes with a sin

Re: Faster reindexing

2003-07-09 Thread Florian Weimer
t insertion > for a self balancing tree is a faster in some cases (I believe this is > the case) then building one on the fly. I don't think this matters much, as reindexing seems to reload the database anyway. > My 2 cents. 100 million rows WOW. I initially hoped to store even a b

RE: Faster reindexing

2003-07-09 Thread Dathan Vance Pattishall
PM -->To: Florian Weimer; [EMAIL PROTECTED] -->Subject: Re: Faster reindexing --> -->At 9:39 +0200 7/7/03, Florian Weimer wrote: -->>I've got a table with 100 million rows and need some indexes on it -->>(one row is 126 bytes). -->> -->>I'm currently using M

RE: Faster reindexing

2003-07-09 Thread Terry Spencer
From: Paul DuBois [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 5:23 AM To: Dominicus Donny; [EMAIL PROTECTED] Subject: Re: Faster reindexing At 11:23 +0700 7/9/03, Dominicus Donny wrote: >Try analyze your table(s). What information will this yield to make indexing faster? > &

Re: Faster reindexing

2003-07-09 Thread Dominicus Donny
Sorry, my mistake. It's "reindexing" then. Once i should add 2 key indexes on a huge table. But instead of alter the table in 1 single query, I build each index 1 by 1. And the responses of the slaves also great, too. Anyway, im using the standard my-medium.cnf setup. The hug

Re: Faster reindexing

2003-07-08 Thread Paul DuBois
"Paul DuBois" <[EMAIL PROTECTED]>; "Florian Weimer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 10:23 AM Subject: RE: Faster reindexing when reimporting or reinserting or whatever from a huge db i usually drop all the indexes reimport

Re: Faster reindexing

2003-07-08 Thread Dominicus Donny
t;; <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 10:23 AM Subject: RE: Faster reindexing > when reimporting or reinserting or whatever from a huge db i usually drop > all the indexes reimport then create them again much quicker > > -Original Message- > From: Paul DuB

RE: Faster reindexing

2003-07-08 Thread electroteque
: Faster reindexing At 9:39 +0200 7/7/03, Florian Weimer wrote: >I've got a table with 100 million rows and need some indexes on it >(one row is 126 bytes). > >I'm currently using MyISAM and the indexing proceeds at an >astonishingly low rate: about 200 MB per hour. This is

Re: Faster reindexing

2003-07-08 Thread Paul DuBois
At 9:39 +0200 7/7/03, Florian Weimer wrote: I've got a table with 100 million rows and need some indexes on it (one row is 126 bytes). I'm currently using MyISAM and the indexing proceeds at an astonishingly low rate: about 200 MB per hour. This is rate is far too low; if we had to recover the dat

Faster reindexing

2003-07-07 Thread Florian Weimer
I've got a table with 100 million rows and need some indexes on it (one row is 126 bytes). I'm currently using MyISAM and the indexing proceeds at an astonishingly low rate: about 200 MB per hour. This is rate is far too low; if we had to recover the database for some reason, we'd have to wait fo

Re: reindexing tables

2001-07-30 Thread Don Read
On 30-Jul-2001 shawn reed wrote: > i've tried simply re-creating the index as you suggested ... no luck. > > here's a brief summary of my situation: i developed an application on one > server, after it was developed and ready to go live we started to move it > to another server. after moving it

Re: reindexing tables

2001-07-30 Thread shawn reed
i've tried simply re-creating the index as you suggested ... no luck. here's a brief summary of my situation: i developed an application on one server, after it was developed and ready to go live we started to move it to another server. after moving it i noticed my search function wasn't working

Re: reindexing tables

2001-07-29 Thread Werner Stuerenburg
What about issueing first drop index, then add index? Should do the job. Or repair table. What does check table or myisamchk say? shawn reed schrieb am Montag, 30. Juli 2001, 07:44:15: > hi all, > i apologize for the utterly newbie-ish question, but i've yet to find an > answer to it after havi

reindexing tables

2001-07-29 Thread shawn reed
hi all, i apologize for the utterly newbie-ish question, but i've yet to find an answer to it after having spent quite some time searching mysql's web site (especially since half the links i click on now seem to be giving me 404 errors...) how does one reindex a table containing fulltext indexes

reindexing table

2001-06-27 Thread Mucahit Celikag
Hi, How can I reindex any table in mysql. Thanks Mucahit