Unix Technical Forum

Re: Create index VS Set Index Enabled - IDS 7.31

This is a discussion on Re: Create index VS Set Index Enabled - IDS 7.31 within the Informix forums, part of the Database Server Software category; --> Stéphane Gadoury wrote: > Hi List, > > I am in the process of re-doing my production DB. > ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:13 PM
Mark D. Stock
 
Posts: n/a
Default Re: Create index VS Set Index Enabled - IDS 7.31


Stéphane Gadoury wrote:
> Hi List,
>
> I am in the process of re-doing my production DB.
>
> One of the step I decide to perform was to "Set index enabled" instead of of
> re-creating them from scratch.
>
> So my question is: Is set index enabled exactly the same as the create
> index.


Not entirely. You have to create your indexes first, using the CREATE
INDEX command. You can create indexes that are disabled, and then enable
them later using the SET INDEXES command. Enabling an index will
effectively rebuild the entire index.

> Any comments are welcome !!!


I wouldn't tempt OTC like that. ;-)

Cheers,
--
Mark.

+----------------------------------------------------------+-----------+
| Mark D. Stock mailto:mdstock@MydasSolutions.com |//////// /|
| Mydas Solutions Ltd http://MydasSolutions.com |///// / //|
| +-----------------------------------+//// / ///|
| |We value your comments, which have |/// / ////|
| |been recorded and automatically |// / /////|
| |emailed back to us for our records.|/ ////////|
+----------------------+-----------------------------------+-----------+

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com