Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Data staging tables instead of flat files

User_OKMG9Jan 14 2020 — edited Jan 27 2020

Hi Guys,

I've been a project to move data to staging tables. In the past what we have done is created flat files (from 50k to 2gb) from one database and placed them in a directory so a second database could pick them up.

The company now wants this data going into staging tables instead of a flat file, once this data has been loaded into the second database we delete the file after a 1 month from the directory.

1. What would be the best strategy would these be database staging tables or global temporary staging tables? Would it be best to use partitioned tables where I could delete the partitions after a month?

2. These tables will only be inserted into by first database and selected from the second database, so what structure of the table would be best?

3, what other performance techniques could i use to make this whole process quicker (i.e loading into the staging tables).

Is there any information on this or a white paper on how to look at this situation. has a similar company done this before.

thanks in advance

Comments
Post Details
Added on Jan 14 2020
11 comments
1,521 views