高分求助,帮忙做几个题!!!

mashaowuxyz 2005-04-03 09:25:35
老师要我从以下题目中做10个题,做了一天也没有完成(e文差,oracle学的又不好!),希望大家帮我做下,急交给老师!只要选做10个就可以了!
1. How many memory layers are in the shared pool?
answer:

2. How do you find out from the RMAN catalog if a particular archive log has been backed-up?
answer:
3. How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up?
answer:

4. Define the SGA and:

? How you would configure SGA for a mid-sized OLTP environment?

? What is involved in tuning the SGA?

5. What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
answer:

6. Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

7. How do you tell what your machine name is and what is its IP address?

8. How would you go about verifying the network name that the local_listener is currently using?

9. You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

10. What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

11. What is the recommended interval at which to run statspack snapshots, and why?

12. What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

13. Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

14. How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?

15. What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

16. In which dictionary table or view would you look to determine at which time a snapshot or MVIEW last successfully refreshed?

17. How would you best determine why your MVIEW couldn't FAST REFRESH?

18. How does propagation differ between Advanced Replication and Snapshot Replication (readonly)?

19. Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

20. How would you begin to troubleshoot an ORA-3113 error?

21. Which dictionary tables and/or views would you look at to diagnose a locking issue?

22. An automatic job running via DBMS_JOB has failed. Knowing only that "it's failed", how do you approach troubleshooting this issue?

23. How would you extract DDL of a table without using a GUI tool?

24. You're getting high "busy buffer waits" - how can you find what's causing it?

25. What query tells you how much space a tablespace named "test" is taking up, and how much space is remaining?

26. Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

27. Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.

28. Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

29. How do you increase the OS limitation for open files (LINUX and/or Solaris)?

30. Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

31. Explain how you would restore a database using RMAN to Point in Time?

...全文
239 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
shyming 2005-06-16
  • 打赏
  • 举报
回复
UP!
Andy__Huang 2005-06-09
  • 打赏
  • 举报
回复
學習
wuzd 2005-06-08
  • 打赏
  • 举报
回复
学习,再学习!
fuxia 2005-05-12
  • 打赏
  • 举报
回复
lihai
daydayupliq 2005-04-04
  • 打赏
  • 举报
回复
2. How do you find out from the RMAN catalog if a particular archive log has been backed-up?
answer:
List command example
http://blog.itpub.net/post/2553/10993

10. What view(s) do you use to associate a user's SQLPLUS session with his o/s process?
v$process
11. What is the recommended interval at which to run statspack snapshots, and why?
30 minutes
12. What spfile/init.ora file parameter exists to force the CBO to make the execution path of a

given statement use an index, even if the index scan may appear to be calculated as more costly?
optimizer_index_cost_adj:

说明: 在考虑太多或太少索引访问路径的情况下, 可以用来优化优化程序的性能。该值越低, 优化程序越容

易选择一个索引。
也就是说,如果将该值设置为 50%, 索引访问路径的成本就是正常情况下的一半。
值范围: 1 -10000
默认值: 100 (一个索引访问路径的常规成本)

14. How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other

day at 2PM?
crontab -e
0 14 * * * /test/test.sh

23. How would you extract DDL of a table without using a GUI tool?

sql plus


25. What query tells you how much space a tablespace named "test" is taking up, and how much space is remaining?

col tsname format a16 justify c heading 'Tablespace'
col nfrags format 999,990 justify c heading 'Free|Frags'
col mxfrag format 999,999,990 justify c heading 'Largest|Frag (KB)'
col totsiz format 999,999,990 justify c heading 'Total|(KB)'
col avasiz format 999,999,990 justify c heading 'Available|(KB)'
col pctusd format 99999 justify c heading 'Pct|Used'
select
total.tablespace_name tsname,
count(free.bytes) nfrags,
nvl(max(free.bytes)/1024,0) mxfrag,
total.bytes/1024 totsiz,
nvl(sum(free.bytes)/1024,0) avasiz,
(1-nvl(sum(free.bytes),0)/total.bytes)*100 pctusd
from
dba_data_files total,
dba_free_space free
where
total.tablespace_name = free.tablespace_name(+)
group by
total.tablespace_name,
total.bytes;
27. Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.
if you have the database hot backup, then you can restore the database and recover it.
30. sh
31. rman

mashaowuxyz 2005-04-03
  • 打赏
  • 举报
回复
如果可以给出相关的资料也可以,谢谢!

2,668

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 认证与考试
社区管理员
  • 认证与考试社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧