vendredi 6 août 2010

ORA-1652: unable to extend temp segment by 128 in tablespace

permet d'avoir les datafiles cree pour ce tbs

select tablespace_name, file_name, (bytes/1024/1024/1024) from dba_data_files where tablespace_name like 'le nom du tbs'


la taille total du tbs

select tablespace_name, sum((bytes/1024/1024/1024)) from dba_data_files where tablespace_name like 'le nom du tbs' group by tablespace_name

La taille free
select tablespace_name, sum((bytes/1024/1024/1024)) from dba_free_space where tablespace_name like 'le nom du tbs' group by tablespace_name

Pour ajouter un nouveau data file

alter tablespace 'le nom du tbs'  add datafile 'chemin/nomdatafile.dbf' size latailleG/M;

pour augmenter la taille d'un datafile

alter database datafile 'chemin/nomdatafile.dbf' resize lanouvelletailleG/M;