Skip to Main Content
  • Questions
  • Process to add temp tablesoaces in a Data Guard environment

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question.

Asked: April 19, 2017 - 4:22 am UTC

Last updated: April 20, 2017 - 7:42 am UTC

Version: 11.2.0.4

Viewed 1000+ times

You Asked

We have a physical Data Guard environment. When checking the standby, a new temporary tablesoaces was not added to the standby (but is on the primary). I understand why it's not being automatically created on the standby. However, what's the best process to add it to the standby?

Thank you

and Connor said...

Depends on what you want to do - if you are just checking to see if the standby can be opened (read only), and run a few sanity check queries, then you dont really need one.

If you plan on opening it read only for reports (or anything that might need to sort to disk), then the *definition* for the tablespace will already be there, so you can simply add a tempfile

ALTER TABLESPACE temp ADD TEMPFILE '...' SIZE 1000M REUSE;


Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Kel Bell, April 19, 2017 - 11:13 am UTC

We plan to perform a switchover.
Connor McDonald
April 20, 2017 - 7:42 am UTC

Then yes, add a tempfile at that point.