参考整理自:http://docs.oracle.com/cd/B19306_01/network.102/b14266/admusers.htm#i1006856
只挑干货讲!!!
一 用户管理
1、创建用户
create user dylan
identified by 123
default tablespace users --指定表空间
quota 100m on use...
分类:
数据库 时间:
2014-12-26 01:02:57
阅读次数:
295
The current time is 12:00 noon. You want to recover the USERS tablespace
from a failure that occurred at 11:50 a.m. You discover that
the only member of an unarchived redo log group containing inf...
分类:
数据库 时间:
2014-12-25 10:01:47
阅读次数:
264
You executed the following command to perform a backup of the
USERStablespace:
RMAN > BACKUP TABLESPACE USERS;
Which type of backup would this command perform?
A. backup set
B. image co...
分类:
数据库 时间:
2014-12-24 11:48:09
阅读次数:
162
执行表空间或数据文件恢复时,数据库既可以是MOUNT状态,也可以是OPEN状态。1、恢复表空间在执行恢复之前,如果被操作的表空间未处理OFFLINE状态,必须首先通过ALTER TABLESPACE…OFFLINE语句将其置为脱机。然后再RESTORE-->RECOVER--->ONLINE即可。R...
分类:
数据库 时间:
2014-12-23 00:06:46
阅读次数:
336
ALTER TABLESPACE XH_DM DROP DATAFILE 'F:\DEV\ORACLE-DATA\ORCL\XH_DM_1.DBF';SQL> ALTER TABLESPACE XH_DM 2 DROP DATAFILE 'F:\DEV\ORACLE-DATA\ORCL\XH_D.....
分类:
数据库 时间:
2014-12-21 09:13:08
阅读次数:
214
You noticed that the index tablespace in your database requires a
recovery. However, instead of performing a media recovery, you decide
d to re-create the indexes in a new tablespace. Which two opti...
分类:
数据库 时间:
2014-12-20 18:15:57
阅读次数:
238
One of the tablespace is read-only in your database. The los s of all
control file forced you to recreate the control file. Which operation do
you need to perform after re-creating the control fil...
分类:
数据库 时间:
2014-12-20 18:15:56
阅读次数:
251
运行GoldenGate ddl_setup.sql脚本时报错*** Please move GOLDENGATE to its own tablespace...
分类:
数据库 时间:
2014-12-19 22:06:11
阅读次数:
244
impdp system/system@ORCL directory=DATA_PUMP_DIR dumpfile=20141218.dmp remap_schema=HA_WXZJ:ha_wxzj remap_tablespace=ha_wxzj_data:users从一个用户导入到另一个用户,如...
分类:
其他好文 时间:
2014-12-18 16:38:40
阅读次数:
195
创建、删除用户: create user lgehr identified by lgehr default tablespace users quota 1000M on users; grant create session, create table, create view to lgehr; grant dba? to lgehr; drop user lgeh...
分类:
数据库 时间:
2014-12-16 11:56:27
阅读次数:
215