由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 面试问题,关于oracle 8i
相关主题
oracle rowid 问题请问sql server里面怎么输出变量到文本文件?
sql server问题, 不同数据库之间表拷贝,大数据量菜鸟急问ORACLE里FUNCTION返回ref cursor的问题
挖个坑:DBA该不该转行成DEV或者BImysql 问题 (转载)
关于not closed cursor的请教老印给我的一个Challenge
ask for help with a simple query!!!求救,这个更新如何写?
2个table, 一个里面有4万个email, 一个里面有1万6千个email,如何比较?一个sql问题:怎样实现 (((a1*10)+a2)*10+a3)*10 ... (转载)
A question of filling in missing value in SQL不是难题不发问
请教SQL server的一个programming的问题,谢谢问一个数据处理的问题,该如何实现单列转多行?14楼有图更新 (转载)
相关话题的讨论汇总
话题: database话题: shared话题: cursor话题: pool话题: where
进入Database版参与讨论
1 (共1页)
s*******e
发帖数: 151
1
My friend had a DBA interivew question to ask me, but I do not know how to
help her.
An 8.0.6 database is being hit very hard with transactions that do not utilize
bind variables. The shared pool is set to 300MB. Intermittently, users are
unable to connect to the database. What specific actions would you take in
this situation?
Does sb know the answer? thanks a lot!
c*****d
发帖数: 6045
2
不知道这道题目想考那方面的知识?
1. increase the shared_pool_size
2. modify cursor_sharing
3. query v$session and v$process
4. restart db

utilize

【在 s*******e 的大作中提到】
: My friend had a DBA interivew question to ask me, but I do not know how to
: help her.
: An 8.0.6 database is being hit very hard with transactions that do not utilize
: bind variables. The shared pool is set to 300MB. Intermittently, users are
: unable to connect to the database. What specific actions would you take in
: this situation?
: Does sb know the answer? thanks a lot!

s*******e
发帖数: 151
3
我也不知道。 应该是和bind variables有关吧。 我就没有用过oracle8, 所以 想问这里
高人的意见。

are
in

【在 c*****d 的大作中提到】
: 不知道这道题目想考那方面的知识?
: 1. increase the shared_pool_size
: 2. modify cursor_sharing
: 3. query v$session and v$process
: 4. restart db
:
: utilize

s*****c
发帖数: 24
4
Cursor sharing should be the key.
1st: verify the shared pool memory usage: most used by cursors
2nd: set cursor_sharing to force
3rd: restart the database or (alter system set and flush shared pool)
The purpose to use force is that the optimzer will the following cursors
SELECT * FROM user_names WHERE name='Jeff' AND county = 'Butler';
SELECT * FROM user_names WHERE name='Melody' AND county = 'Butler';
as one cursor with system generated bind variables:
SELECT * FROM user_names WHERE name=:SY

【在 s*******e 的大作中提到】
: 我也不知道。 应该是和bind variables有关吧。 我就没有用过oracle8, 所以 想问这里
: 高人的意见。
:
: are
: in

s*******e
发帖数: 151
5
yes, I am quite sure the database is 8.0.6. anyway, thanks a lot for your
answer.


how
users
take

【在 s*****c 的大作中提到】
: Cursor sharing should be the key.
: 1st: verify the shared pool memory usage: most used by cursors
: 2nd: set cursor_sharing to force
: 3rd: restart the database or (alter system set and flush shared pool)
: The purpose to use force is that the optimzer will the following cursors
: SELECT * FROM user_names WHERE name='Jeff' AND county = 'Butler';
: SELECT * FROM user_names WHERE name='Melody' AND county = 'Butler';
: as one cursor with system generated bind variables:
: SELECT * FROM user_names WHERE name=:SY

1 (共1页)
进入Database版参与讨论
相关主题
问一个数据处理的问题,该如何实现单列转多行?14楼有图更新 (转载)ask for help with a simple query!!!
SQL run a stored procedure by fetching from a cursor row by row2个table, 一个里面有4万个email, 一个里面有1万6千个email,如何比较?
cursor可以往回找否??A question of filling in missing value in SQL
问个数据库问题请教SQL server的一个programming的问题,谢谢
oracle rowid 问题请问sql server里面怎么输出变量到文本文件?
sql server问题, 不同数据库之间表拷贝,大数据量菜鸟急问ORACLE里FUNCTION返回ref cursor的问题
挖个坑:DBA该不该转行成DEV或者BImysql 问题 (转载)
关于not closed cursor的请教老印给我的一个Challenge
相关话题的讨论汇总
话题: database话题: shared话题: cursor话题: pool话题: where