GTT's
dermot, October 07, 2020 - 11:24 am UTC
Chris, thanks for your prompt response.
To be clear, are you suggesting that GTT's on creation never make use of available PGA space but are always created as a temp table in temp tablespace at the outset ?
October 07, 2020 - 2:11 pm UTC
When you insert into a GTT, the data are saved in temp segments.
Depending on your SQL statements, they might still use PGA (sorts, hash joins, etc. start by using PGA, spilling to temp when they run out), but the rows themselves are stored in temp.
Alternatively
Peter Nosko, October 07, 2020 - 11:53 am UTC
Have you considered loading from external tables?
October 07, 2020 - 2:13 pm UTC
OP doesn't say where the data comes from - it may be something other than flat files.
But external tables are worth looking into if that is the source.
GTT's
dermot, October 07, 2020 - 2:28 pm UTC
Thank you again chaps for your very useful advice,
dermot..