考试网 >> IT认证 >> Oracle >> Oracle指导 >> 考试大学习教室[oracle问题集(一)]

考试大学习教室[oracle问题集(一)]

发布时间:2006-06-28 10:13     点击:
分页:上一页  1 [2] 3 4 5 6  下一页

  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

  NAME                   TYPE       VALUE

  ----------------------------------- ------------ --------------------------

  aq_tm_processes            integer        1

  db_writer_processes          integer        1

  job_queue_processes          integer        4

分页:上一页  1 [2] 3 4 5 6  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有