1
1. oracle安装完成后的初始口令?
internal/oracle
sys/change_on_install
system/manager
scott/tiger
sysman/oem_temp
2. oracle9ias web cache的初始默认用户和密码?
administrator/administrator
3. oracle 8.0.5怎幺创建数据库?
用orainst。如果有motif界面,可以用orainst /m
4. oracle 8.1.7怎幺创建数据库?
dbassist
5. oracle 9i 怎幺创建数据库?
dbca
6. oracle中的裸设备指的是什幺?
裸设备就是绕过文件系统直接访问的储存空间
7. oracle如何区分 64-bit/32bit 版本???
$ sqlplus ’/ as sysdba’
sql*plus: release 9.0.1.0.0 - production on mon jul 14 17:01:09 2003
(c) copyright 2001 oracle corporation. all rights reserved.
connected to:
oracle9i enterprise edition release 9.0.1.0.0 - production
with the partitioning option
jserver release 9.0.1.0.0 - production
sql> select * from v$version;
banner
----------------------------------------------------------------
oracle9i enterprise edition release 9.0.1.0.0 - production
pl/sql release 9.0.1.0.0 - production
core 9.0.1.0.0 production
tns for solaris: version 9.0.1.0.0 - production
nlsrtl version 9.0.1.0.0 - production
sql>
8. svrmgr什幺意思?
svrmgrl,server manager.
9i下没有,已经改为用sqlplus了
sqlplus /nolog
变为归档日志型的
9. 请问如何分辨某个用户是从哪台机器登陆oracle的?
select machine , terminal from v$session;
10. 用什幺语句查询字段呢?
desc table_name 可以查询表的结构
select field_name,... from ... 可以查询字段的值
select * from all_tables where table_name like ’%’
select * from all_tab_columns where table_name=’??’
11. 怎样得到触发器、过程、函数的创建脚本?
desc user_source
user_triggers
12. 怎样计算一个表占用的空间的大小?
select owner,table_name,
num_rows,
blocks*aaa/1024/1024 "size m",
empty_blocks,
last_analyzed
from dba_tables
where table_name=’xxx’;
here: aaa is the value of db_block_size ;
xxx is the table name you want to check
13. 如何查看最大会话数?
select * from v$parameter where name like ’proc%’;
sql>
sql> show parameter processes