If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > what is the best way to diff using query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-22-04, 13:03
alex1668 alex1668 is offline
Registered User
 
Join Date: Oct 2003
Location: Canada, Quebec
Posts: 11
what is the best way to diff using query

Informix 7.3
OLTP database
Unix HP

I have a table with 3 columns with duplicate and 2 million rows loaded from a flat file into a temp table( newdata ).

I want to differenciate the data between (newdata) and the old one in the permanente table (olddata). It as the same columns and structure.

Goal: Is to pin point the rows that have change without having to re-insert the 2 million rows every morning. Filling up the logical and hugging ressources.

Problem: Filling the logicals to fast
takes many hours to create indexes

-I tried using "not exists", "not in" queries but it take as long as creating the indexes.
-I looked if there was a way to remove logging on permanent tables and could'nt fing any way to do this with informix.

Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 03-23-04, 07:20
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: what is the best way to diff using query

Quote:
Originally posted by alex1668
Informix 7.3
OLTP database
Unix HP

I have a table with 3 columns with duplicate and 2 million rows loaded from a flat file into a temp table( newdata ).

I want to differenciate the data between (newdata) and the old one in the permanente table (olddata). It as the same columns and structure.

Goal: Is to pin point the rows that have change without having to re-insert the 2 million rows every morning. Filling up the logical and hugging ressources.

Problem: Filling the logicals to fast
takes many hours to create indexes

-I tried using "not exists", "not in" queries but it take as long as creating the indexes.
-I looked if there was a way to remove logging on permanent tables and could'nt fing any way to do this with informix.

Any suggestions?
Hi,

Can you test CREATE RAW TABLE newtab, then load data without logging.

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On