In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
In order to prevent the unlimited increase of temporary tablespaces, I use the method of rebuilding temporary tablespaces at regular intervals. For convenience, I keep two sets of statements and execute them in turn.
Assuming that the temporary tablespace name is temp, create a new tempa tablespace and delete the temp tablespace as follows:
Alter tablespace temp shrink spacekeep 400M
Create temporary tablespace TEMPA
TEMPFILE'/ opt/app/oracle/oradata/orcl/tempa01.dbf'
SIZE 8192M REUSE AUTOEXTEND ON NEXT 1024K MAXSIZE UNLIMITED
Alter database default temporary tablespace tempa;-change the default temporary tablespace
Drop tablespace temp including contents and datafiles;-deletes the original temporary tablespace
Example
Create temporary tablespace TEMP TEMPFILE'/ u01/app/oracle/oradata/orcl/temp01.dbf'
SIZE 256M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED
Alter database default temporary tablespace TEMP
Drop tablespace TEMP_NEW including contents and datafiles
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.