易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle用户管理

--创建表空间
create tablespace 名称
(
datafile='路径\名称.ora',
size='50M',
autoextend='on'
)
/
--创建临时表空间
create temporary tablespace 名称
(
tempfile='路径\名称.ora',
size='50M',
autoextend='on'
)
/
--创建用户
create user 用户名  idtenified  by 密码
/
--为用户指定表空间与临时表空间
alter 用户名 default tablespace 表空间名
alter 用户名 temporary tablespace 临时表空间名
/
--为用户授权
Grant connect,resource,create session(连接),
dba, create table, create view, create trigger,
select any table, create sequence, create procedure, create role,
grant any privilege, drop any role,
create public synonym, drop public synonym,SELECT ANY DICTIONARY to 用户名
/
---或者直接赋予oracle提供的角色权限
grant resource,connect to 用户名
/
--修改用户密码
alter user 用户名 idtenified by 新密码
/
--让用户密码失效
alter user 用户名 password expire
/
 --锁住用户
alter user 用户名 account lock;
/
--释放用户
alter user 用户名 account  unlock;
/
--访问其他用户的表
grant select,delete,... on 用户名1.表 to 用户名2;
/
---回收权限
revoke select,delete,....on 用户名1.表 from 用户名2;


相关文档:

Oracle Waits event:DB File Scattered Read

The DB File Scattered Read wait event generally indicates waits related to full table scans or fast
full index scans. As full table scans are pulled into memory, they are scattered throughout the
buffer cache, since it is usually unlikely that they fall into contiguous buffers. A large numb ......

oracle raw devices

1.LVM:
[root@vmfs ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdg
  VG Name               db_v4
  PV Size  ......

优化select count(*) (转oracle培训老师的文章)


select count(*) from t1;
这句话比较简单,但很有玄机!对这句话运行的理解,反映了你对数据库的理解深度!
建立实验的大表他t1
SQL> conn scott/tiger
已连接。
SQL> drop table t1 purge;
表已删除。
SQL> create table t1 as select * from emp where 0=9;
表已创建。
SQL> insert into t1 sele ......

oracle sql loader


SQL*LOADER是ORACLE的数据加载工具,通常用来将操作系统文件迁移到ORACLE数据库中。SQL*LOADER是大型数据
仓库选择使用的加载方法。
  在NT下,SQL*LOADER的命令为SQLLDR,在UNIX下一般为sqlldr/sqlload。
  如执行:d:\oracle>sqlldr
SQL*Loader: Release 8.1.6.0.0 - Production on 星期二 1月 8 11:06:42 2 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号