Re: indexing on existing DB
| From: | Maxim Maletsky | Date: | Fri, 08 Nov 2002 16:12:08 +0000 |
| Subject: | Re: indexing on existing DB | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23144@lists.php.net to get a copy of this message | ||
Index is always re-indexing itself on INSERT/UPDATE. Roughly, I don't
think there is any difference in when you create an index before or
after table is populated.
--
Maxim Maletsky
maxim@php.net
"Jason Vincent" <jayv@nortelnetworks.com> wrote... :
> (I know this is more of a mySQL question than PHP, but allow me this one if
> you would...)
>
> In MySQL, is there any difference between creating an index at table
> creation time, and creating an index on an existing table? Does an index
> created on an existing table re-index itself after each insert/update, or
> does it only index itself once - when you create the index?
>
> Thanks in advance
>
> Regards,
>
> J
>