摘要: [root@localhost ~]# lsb_release -aLSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarchDistributor ID: EnterpriseEnterpriseServerDescription: Enterprise Linux Enterprise Linux Serve 阅读全文
posted @ 2014-03-20 12:48 健哥的数据花园 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 首先看状况:SQL> select file_id,file_name,tablespace_name,autoextensible from dba_data_files;FILE_ID FILE_NAME TABLESPACE AUTOEXTENS------- -------------------------------------------------- ---------- ---------- 4 /u01/app/oracle/oradata/orcl/users01.dbf USERS YES 3 /u01/app/oracle/oradata/orcl/undotb 阅读全文
posted @ 2014-03-20 09:22 健哥的数据花园 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 开始 SQL> col file_id format 99SQL> col file_name format a50SQL> col tablespace_name format a10SQL> col autoextensible format a10SQL> select file_id,fil 阅读全文
posted @ 2014-03-20 08:58 健哥的数据花园 阅读(4828) 评论(0) 推荐(0) 编辑
摘要: 返回 Oracle 索引页 创建时出错: SQL> create tablespace gaotbs logging datafile '/u01/app/datafiles/gaodata1.dbf' 2 size 50M autoextend on next 50M maxsize 2048M 阅读全文
posted @ 2014-03-20 08:48 健哥的数据花园 阅读(30986) 评论(0) 推荐(0) 编辑
摘要: 对字符型,用axx格式,对数字型,用9999 格式(999表示占用3列)SQL> col 'ts#' format 999SQL> col 'file#' format 999SQL> col 'name' format a50SQL> select ts#,file#,name from v$datafile;TS# FILE# NAME---- ----- -------------------------------------------------- 0 1 /u01/app/oracle/oradata/orc 阅读全文
posted @ 2014-03-20 08:25 健哥的数据花园 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: 先观察当前的状态:[root@o_target ~]# su - oracle [oracle@o_target ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 19 12:38:24 2014 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startup; ORACLE instance started. Total System Global A.. 阅读全文
posted @ 2014-03-20 08:03 健哥的数据花园 阅读(3662) 评论(0) 推荐(0) 编辑