oracle - answer

时间:2013-02-07 16:22:17
【文件属性】:

文件名称:oracle - answer

文件大小:9KB

文件格式:RAR

更新时间:2013-02-07 16:22:17

oracle

习题 Ch3 (1) CREATE SPFILE FROM PFILE=path (2) CREATE PFILE FROM SPFILE (3) SELECT NAME,VALUE FROM V$PARAMETER (4) ALTET SESSION SET NLS_DATE_FORMAT=’YYYY-MM-DD HH24:MI:SS’ Ch6 (1) ALTER TABLESPACE USER ADD DATAFILE ‘D:\ORACLE\ORADATA\ORCL\userdata03.dbf’ SIZE 50M’; (2) ALTER TABLESPACE EXAMPLE ADD DATAFILE ‘D:\ORACLE\ORADATA\ORCL\example02.dbf’ SIZE 20M’; (3) ALTER DATABASE DATAFILE ‘D:\ORACLE\ORADATA\ORCL\userdata03.dbf’ AUTOEXTEND ON NEXT 5M MAXSIZE 100M; (4) ALTER DATABASE DATAFILE ‘D:\ORACLE\ORADATA\ORCL\example02.dbf’ RESIZE 40M; (5) SHUTDOWN IMMEDIATE; 在操作系统中重命名userdata03.dbf、example03.dbf分别为userdata04.dbf、example04.dbf STARTUP MOUNT; ALTER DATABASE RENAME FILE ‘D:\ORACLE\ORADATA\ORCL\userdata03.dbf’, ‘D:\ORACLE\ORADATA\ORCL\example03.dbf’ TO ‘D:\ORACLE\ORADATA\ORCL\userdata04.dbf’, ‘D:\ORACLE\ORADATA\ORCL\example04.dbf’; ALTER DATABASE OPEN; (6) ALTER DATABASE BACKUP CONTROLFILE TO ‘D:\ORACLE\CONTROL.BKP’; (7) ALTER DATABASE ADD LOGFILE GROUP 4 (‘D:\ORACLE\ORADATA\ORCL\redo04a.log’,’D:\ORACLE\ORADATA\ORCL\redo04b.log’)SIZE 5M; (8) ALTER DATABASE ADD LOGFILE MEMBER ‘D:\ORACLE\ORADATA\ORCL\redo04c.log’ TO GROUP 4; (9) SHUTDOWN IMMEDIATE STARTUP MOUNT ALTER DATABASE ARCHIVELOG; ALTER DATABASE OPEN; ALTER SYSTEM ARCHIVE LOG START ……


【文件预览】:
answer.doc

网友评论