欢迎来到天天文库
浏览记录
ID:18870657
大小:80.00 KB
页数:27页
时间:2018-09-26
《实验三(相关表空间)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ConnectedtoOracleDatabase10gEnterpriseEditionRelease10.2.0.1.0ConnectedassystemSQL>select*fromv$tablespace2select*fromv$tablespace;select*fromv$tablespaceselect*fromv$tablespaceORA-00933:SQL命令未正确结束SQL>SELECT*FROMV$TABLESPACE;TS#NAMEINCLUDED_IN_DATABASE_BACKUPBIGFILEFLASHBACK_ONENCRYP
2、T_IN_BACKUP-------------------------------------------------------------------------------------------------------0SYSTEMYESNOYES1UNDOTBS1YESNOYES2SYSAUXYESNOYES4USERSYESNOYES3TEMPNONOYESSQL>SELECTTABLESPACE_NAMEASSYSTEM,SUM(BYTES)2FROMDBA_DATA_FILES3GROUPBYTABLESPACE_NAME;SYSTEMSUM(
3、BYTES)----------------------------------------SYSAUX251658240UNDOTBS126214400USERS5242880SYSTEM503316480SQL>SELECTTABLESPACE_NAMEASUSERS,SUM(BYTES)SQL>SELECTTABLESPACE_NAMEASUSERS,SUM(BYTES)2FROMDBA_DATA_FILES3GROUPBYTABLESPACE_NAME;USERSSUM(BYTES)------------------------------------
4、----SYSAUX251658240UNDOTBS126214400USERS5242880SYSTEM503316480SQL>CREATETABLESPACEUSER12DATEFILE'D:ORACLEUSER1.DBF'SIZE50M3EXTENTMANAGEMENTLOCALAUTOALLOCATE;CREATETABLESPACEUSER1DATEFILE'D:ORACLEUSER1.DBF'SIZE50MEXTENTMANAGEMENTLOCALAUTOALLOCATEORA-02180:无效的CREATETABLESPACE选项SQL>
5、CREATETABLESPAEORACLE12DATAFILE'D:ORACLEORACLE1.DBF'SIZE50M3EXTENTMANAGEMENTLOCALAUTOALLOCATION;CREATETABLESPAEORACLE1DATAFILE'D:ORACLEORACLE1.DBF'SIZE50MEXTENTMANAGEMENTLOCALAUTOALLOCATIONORA-00901:无效CREATE命令SQL>CREATETABLESPACEORACLE12DATAFILE'D:ORACLEORACLE1.DBF'SIZE50M3EXTE
6、NTMANAGEMENTLOCALAUTOALLOCATION;CREATETABLESPACEORACLE1DATAFILE'D:ORACLEORACLE1.DBF'SIZE50MEXTENTMANAGEMENTLOCALAUTOALLOCATIONORA-02180:无效的CREATETABLESPACE选项SQL>CREATETABLESPACEORACLE12DATAFILE'D:ORACLEORACLE1.DBF'SIZE50M3EXTENTMANAGEMENTLOCALAUTOALLOCATE;CREATETABLESPACEORACLE1D
7、ATAFILE'D:ORACLEORACLE1.DBF'SIZE50MEXTENTMANAGEMENTLOCALAUTOALLOCATEORA-01119:创建数据库文件'D:ORACLEORACLE1.DBF'时出错ORA-27040:文件创建错误,无法创建文件OSD-04002:无法打开文件O/S-Error:(OS3)系统找不到指定的路径。SQL>CREATETABLESPACEORACLE12DATAFILE'D:ORACLEORACLE1.DBF'SIZE50M3EXTENTMANAGEMENTLOACLAUTOALLOCATE;CREAT
8、ETABLESPACEO
此文档下载收益归作者所有