I guess you don't use dataguard. Some of us don't get a choice there.
Elizabeth Reen
CPB Database Group Manager
-----Original Message-----
From: [External] oracle-l-***@freelists.org [mailto:oracle-l-***@freelists.org] On Behalf Of [External] Mladen Gogala
Sent: Friday, September 28, 2018 2:06 AM
To: Hameed, Amir; ***@stijf.com; oracle-***@freelists.org
Cc: oracle-l-***@freelists.org
Subject: Re: direct path write temp
Well, for one, have several temporary tablespaces for these operations
use the least used one, located on the fast storage. Second, do not use
nologging in production. Ever.
How do I optimize my writes to GTT or a table with NOLOGGING for large inserts?
-----Original Message-----
Sent: Thursday, September 27, 2018 4:50 PM
Subject: Re: direct path write temp
Is that a tongue in your cheek?
Avoiding the writes in the first place is the best option.
Second best is making sure enough memory is available to accommodate for the operation, so no temp space is needed.
Third and most likely option is a combination of the above.
Regards,
Arian
Post by Mladen GogalaNo parameter controls temporary direct writes. If the hash or sort
doesn't fit in available PGA memory, the surplus will be written to
the temporary tablespace. And that's about it. So, don't use sort or
hash joins. Another method of avoiding writing to the temp is using
in-memory option, but that will cost you a pretty penny.
Regards
Post by Hameed, AmirHi,
I am trying to find out what database parameter controls the size of
DIRECT PATH WRITE TEMP and is there way to optimize it. You feedback
will be appreciated.
Thank you,
Amir
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
--
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freelists.org_webpage_oracle-2Dl&d=DwICaQ&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=yWMFosURAngbt8VLeJtKLVJGefQxustAZ9UxecV7xpc&m=8CHtisWJn2FeCm_J7zD_iJtAqJF7A6SCtgpLV9ayQV0&s=CHK21UHpfFsI-R0iezzXii-w9hRprjlv-UR2yahwf2w&e=
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
--
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.freelists.org_webpage_oracle-2Dl&d=DwICaQ&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=yWMFosURAngbt8VLeJtKLVJGefQxustAZ9UxecV7xpc&m=8CHtisWJn2FeCm_J7zD_iJtAqJF7A6SCtgpLV9ayQV0&s=CHK21UHpfFsI-R0iezzXii-w9hRprjlv-UR2yahwf2w&e=