|
(52-32)上完1Z0-053第12章
2016-02-24a.sql:
- select * from v$flashback_database_log;
- select * from v$flashback_database_logfile;
- select * from v$flashback_database_stat;
- select file_name, bytes/1024/1024 from dba_data_Files where tablespace_name='EXAMPLE';
- select * from dba_tablespaces;
- select * from v$datafile;
- alter tablespace users online;
- alter database datafile '+DATA/orcl/datafile/example.265.816169651' resize 120M;
- alter database datafile '+DATA/orcl/datafile/example.265.816169651' resize 30M;
- alter database flashback off;
- select * from v$restore_point;
- create restore point rsp1
- guarantee flashback database;
复制代码- select distinct substr(t.table_name,3,1) from dba_tables t where t.owner='SYS'
- and t.tablespace_name='SYSAUX' and
- t.table_name like 'WR_$%';
复制代码
|
|