Home > database > Ask a problem: the system tablespace data growth speed, how?
Ask a problem: the system tablespace data growth speed, how?
Time:10-06
SELECT * FROM (SELECT SEGMENT_NAME, SUM (BYTES)/1024/1024 MB FROM DBA_SEGMENTS WHERE TABLESPACE_NAME='SYSTEM' GROUP BY SEGMENT_NAME ORDER BY 2 DESC) WHERE ROWNUM & lt; 10;
Screening of the space occupied most, figure shows data which can be clear, how to clean up?
CodePudding user response:
Looks like is not allowed to delete system table, can temporarily solve the problem by using the method of increasing the space: One, for the system table space and add a data file, The alter in tablespace system add datafile 'D: \ oracleXE \ oradata \ XE \ system_01 DBF' resize 1024 m
Second, change the data file system. The system tablespace DBF allocate space, The alter database datafile 'D: \ oracleXE \ oradata \ XE \ system_01 DBF' autoextend on The alter database datafile 'D: \ oracleXE \ oradata \ XE \ system_01 DBF' resize 1024 m
CodePudding user response:
Table space has increased the data file 2 times, 2 times the 32 gb is the largest space, table space are now 75 g, there is no other way