Chinaunix首页 | 论坛 | 博客
  • 博客访问: 970548
  • 博文数量: 358
  • 博客积分: 8185
  • 博客等级: 中将
  • 技术积分: 3751
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:27
个人简介

The views and opinions expressed all for my own,only for study and test, not reflect the views of Any Company and its affiliates.

文章分类

全部博文(358)

文章存档

2012年(8)

2011年(18)

2010年(50)

2009年(218)

2008年(64)

我的朋友

分类:

2008-12-11 18:55:18

select b.*,a.* from v$datafile a,V$dbfile b

where a.FILE# = b.FILE#

 

select 1572864000/1024/1024 from dual

 

alter tablespace gau12d

add datafile 'gau12d_02.dbf' size 1500m

8888888888888888888888888888888888888888888888888888888

select  * from dba_tablespaces
 
create table xxx(xxx) tablespace xxx
 
CREATE TABLESPACE "GAU02I" DATAFILE
  'GAU00T_gau02i01.dbf' SIZE 1677721600 REUSE
  LOGGING ONLINE PERMANENT BLOCKSIZE 8192
  EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO;
 

[root@gaudi ~]# su - oracle

[oracle@gaudi ~]$ sqlplus "/ as sysdba"

 

SQL*Plus: Release 9.2.0.4.0 - Production on  Dec 10 10:21:12 2008

 

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

 

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

With the Partitioning, OLAP and Oracle Data Mining options

JServer Release 9.2.0.4.0 - Production

 

SQL> create user lkg identified by lkg;

 

User created.

 

SQL> grant connect,resource to lkg;

 

Grant succeeded.

 

SQL> alter user lkg default tablespace gau01d;

 

User altered.

 
阅读(1274) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~