Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
k526
Contributor
Contributor

how to update bulk records in redshift?

HI ,

I need to load daily lakhs of records in redshift.so i need to insert or update the data.by using tredshiftbulkoutputexec we can do insert operation only.by if i used tredshiftoutput for 1 lakh records it takes more than 6 hours.

is there any way to update ?

 

can any one help me ?

 

Thank you

Labels (2)
1 Solution

Accepted Solutions
vapukov
Master II
Master II



lakhs of records

 

When You use a local terms, ожидайте неожиданного ответа 0683p000009MA9p.png

 

but in any case:
- bulk insert into stage table

- INSERT FROM SELECT WHERE NOT EXISTS

- UPDATE WHERE EXISTS

it also will be hard operation, but much faster than remote INSERT/UPDATE

 

View solution in original post

6 Replies
vapukov
Master II
Master II



lakhs of records

 

When You use a local terms, ожидайте неожиданного ответа 0683p000009MA9p.png

 

but in any case:
- bulk insert into stage table

- INSERT FROM SELECT WHERE NOT EXISTS

- UPDATE WHERE EXISTS

it also will be hard operation, but much faster than remote INSERT/UPDATE

 

majum2p
Contributor
Contributor

I too have similar requirement except i have quite a few transformation logic. i am using tRedshiftInput , tMap and tRedshiftOutput for insert and tRedshiftRow for update. looking for any other patterns for performance optimization.
P.S. creating stage table is not a good solution for me as i have hundreds of tables to update/insert.
Anonymous
Not applicable

How we can use tredshiftrow if the insert/update has to be made from postgres source data.

for example tpostgresinput --> tmap -->tredhsifptoutput?

 

Anonymous
Not applicable

How we can use tredshiftrow if the insert/update has to be made from postgres source data.

for example tpostgresinput --> tmap -->tredhsifptoutput?

 

Anonymous
Not applicable

Did we have solution for the below.

Anonymous
Not applicable

Did we have solution for the below.