Unix Technical Forum

HPL vs. Select Into

This is a discussion on HPL vs. Select Into within the Informix forums, part of the Database Server Software category; --> Hello, Looking at moving a table with many millions of rows to a new DB Space. Question being, will ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:11 PM
Tam OShanter
 
Posts: n/a
Default HPL vs. Select Into

Hello,

Looking at moving a table with many millions of rows to a new DB Space.

Question being, will the move be faster using HPL that doing something like
"Select * from into......."?

Why, why not?

Thanks for the advice friends,

Tam.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 12:11 PM
bozon
 
Posts: n/a
Default Re: HPL vs. Select Into

insert into <new-table> select * from <old-table> ;

is the proper SQL syntax and the only one Informix recognizes for
insert into permanent tables.

HPL will probably be faster, but if you make the destination table raw
it will be pretty fast and it might be fast enough.


Tam OShanter wrote:
> Hello,
>
> Looking at moving a table with many millions of rows to a new DB Space.
>
> Question being, will the move be faster using HPL that doing something like
> "Select * from into......."?
>
> Why, why not?
>
> Thanks for the advice friends,
>
> Tam.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 12:11 PM
Superboer
 
Posts: n/a
Default Re: HPL vs. Select Into

HPL in express mode is the fastest. test it you'll see.

when you create the target tables make sure the first/next extent size
are properly configured.
and a checkpoint has been done before loading.


Superboer.

Tam OShanter schreef:

> Hello,
>
> Looking at moving a table with many millions of rows to a new DB Space.
>
> Question being, will the move be faster using HPL that doing something like
> "Select * from into......."?
>
> Why, why not?
>
> Thanks for the advice friends,
>
> Tam.


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:28 PM.


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