日期:2014-05-16  浏览次数:20318 次

oracle复习
1.安装oracle
安装oracle10g后,默认已经把监听和orcl数据库创建好。
然后装个PLSQL客户端即可。

2.创建数据库monitor
所有程序->oracle-oradb10g_home1->Configuration and Migratior Tools->Database Upgrade Assistant


3.创建表空间用户
PLSQL 管理员sys/***(安装时设置的) sysdba(Connect as)登录建立表空间用户
create tablespace MONITOR
logging 
datafile 'D:\oracle\MONITOR.dbf'
size 300m 
autoextend on 
next 50m maxsize 20480m 
extent management local; 
commit;

create user monitor identified by monitor
default tablespace MONITOR;
commit;

GRANT DBA TO monitor;

grant connect,resource to monitor;
commit;

就可以登录了
monitor/monitor/ normal(Connect as)


4.导入数据
省略。


===============================
备注:虚拟机环境搭建
安装VMware-workstation-full-9.exe
打开系统镜像文件