Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi,
I am using insert into table2 select * from table1.
Is there a way to temporarily disable indicies on table2
when doing the above. The objective is to increase the
speed of loading.
TIA.
↪ replying to triggerfish2001@hotmail.com
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
In the year of Our Lord 4 Jan 2001 04:51:08 -0800, triggerfish2001@hotmail.com
broke a vow of silence to utter:
>I am using insert into table2 select * from table1.
>
>Is there a way to temporarily disable indicies on table2
>when doing the above. The objective is to increase the
>speed of loading.
SET INDEXES FOR table2 DISABLED;
insert into table2 select * from table1;SET INDEXES FOR table2 ENABLED;
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.