如:create tablespace zjw_test5
logging
datafile'/uo1/oradata/zjw_test5.dbf'
size 20M autoextend on next 5M maxsize 50M;
这里的logging是写创建过程的日志吗 去哪看啊?uo1/oradata/下没看到哦。
logging
datafile'/uo1/oradata/zjw_test5.dbf'
size 20M autoextend on next 5M maxsize 50M;
这里的logging是写创建过程的日志吗 去哪看啊?uo1/oradata/下没看到哦。
NOLOGGING: 创建表空间时,不创建重做日志. LOGGING 和NOLOGGING正好相反, 就是在创建表空间时生成重做日志.用NOLOGGING时,好处在于创建时不用生成日志,这样表空间的创建较快, 但是没能日志,数据丢失后,不能恢复,但是一般我们在创建表空间时,是没有数据的,按通常的做法,是建完表空间,并导入数据后,是要对数据做备份的,所以 通常不需要表空间的创建日志,因此,在创建表空间时,选择 NOLOGGING,以加快表空间的创建速度.
Specify the default logging attributes of all tables, indexes, materialized views, materialized view logs, and partitions within the tablespace. LOGGING is the default. This clause is not valid for a temporary or undo tablespace.The tablespace-level logging attribute can be overridden by logging specifications at the table, index, materialized view, materialized view log, and partition levels.
那么针对这个表不会记录日志
表空间LOGGING子句的优先级低于具体的每个对象的LOGGING子句
如果想查看的话
可以使用logminer