楼主: lunar2000

[精华] 关于数据库的调整(不只是调优)问题

[复制链接]
论坛徽章:
0
71#
发表于 2002-9-27 13:42 | 只看该作者
重新连接一下可以到3。7GB,应用可以通过改便SQL的执行路径调整

使用道具 举报

回复
论坛徽章:
0
72#
发表于 2002-9-27 13:43 | 只看该作者
错了,是执行计划

使用道具 举报

回复
论坛徽章:
60
2007年度最佳版主
日期:2008-04-03 16:46:15现任管理团队成员
日期:2011-05-07 01:45:08双黄蛋
日期:2011-06-15 17:03:34ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412012新春纪念徽章
日期:2012-01-04 11:49:542012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
73#
发表于 2002-9-27 16:09 | 只看该作者
最初由 lunar2000 发布
[B]

我记得8i下面32位的Oracle最多支持1.7G的sga [/B]


我记得可以通过操作系统的补丁来弥补

使用道具 举报

回复
论坛徽章:
60
2007年度最佳版主
日期:2008-04-03 16:46:15现任管理团队成员
日期:2011-05-07 01:45:08双黄蛋
日期:2011-06-15 17:03:34ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412012新春纪念徽章
日期:2012-01-04 11:49:542012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
74#
发表于 2002-9-27 16:11 | 只看该作者
最初由 hooman 发布
[B]按照楼主说的情况, SHARED POOL 碎片化应该很严重了才对,
在这种状况下, 增大SHARED_POOL_SIZE 只会导致碎片更加严重, LATCH contention 急剧增加.....

[/B]


更何况,那么大的尺寸会和操作系统抢占资源,不能只考虑数据库,如过操作系统资源不够,数据库调得再优也没用

使用道具 举报

回复
招聘 : HTML页面制作
论坛徽章:
74
喜羊羊
日期:2015-04-29 17:32:03夏利
日期:2013-11-30 17:08:44雪佛兰
日期:2013-09-02 10:24:402013年新春福章
日期:2013-02-25 14:51:24蜘蛛蛋
日期:2012-11-26 22:08:56ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32双黄蛋
日期:2012-05-17 22:25:44版主3段
日期:2012-05-15 15:24:11茶鸡蛋
日期:2012-04-06 17:43:25茶鸡蛋
日期:2012-03-26 21:29:09
75#
发表于 2002-9-28 08:54 | 只看该作者

to cluster

大家都等你解释回答......

使用道具 举报

回复
论坛徽章:
0
76#
发表于 2002-9-28 10:10 | 只看该作者
sga 区可以开到机器总内存的1/3~1/2,
如果你没有用到mts, sort area 是从pga里取的,反之,是从sga里取的。
看系统的性能,可以看看
(1)buffer cache的命中率;
(2)排序的命中率;

然后根据实际情况进行调整,总的感觉是sga开得不够大。

看系统的功能,主要是避免获根治以前发生的问题,
如果不是oracle 的bug, 一切都好说。

使用道具 举报

回复
论坛徽章:
0
77#
发表于 2002-9-28 10:21 | 只看该作者
看看你的buffer cache hit ratio, sort memory hitratio ,如果不够,扩大sga

使用道具 举报

回复
论坛徽章:
4
ITPUB元老
日期:2005-02-28 12:57:00授权会员
日期:2005-10-30 17:05:33会员2006贡献徽章
日期:2006-04-17 13:46:34ITPUB技术丛书作者
日期:2010-09-26 15:24:56
78#
 楼主| 发表于 2002-9-30 16:46 | 只看该作者
国庆节了,Cluster,多希望你回答以下问题,作为对众多兄弟国庆节的礼物呀(当然包括Lunar),呵呵。

祝大家

节日愉快

Lunar

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
79#
发表于 2002-10-1 23:23 | 只看该作者
I like clear out some thing here:

1.        I am really sorry for confuse many of you by that init.ora file I posted early last Month.
2.        There are no such init.ora file will work everywhere standard.
3.        Configuration your init.ora file that work is base on you understand your application
                     not by DBA training book.
4.        Database Tuning not science or say mathematics precise, but a scientific methodology.

Before I explain some of your questions, it is necessary descript what kind of application I was work on.
It is a 70% of OLTP and 30% of large query application, here is some of the number I collected to support my Init.ora file configuration.

Redo log size at 15 minute switch 2.8 GB  (name user 29000 at 66% as active)
Archive stream during peak (10am – 2 pm) 41.3 GB
Redo I/O per sec. (name user 29000 at 66% as active) is 229.4 I/O per sec.(= 6.6MB /p.s.)
Database I/O per sec. Is 3599. and data size is 59.75MB/Sec.

At my fist time database stress testing set  log_buffer = 4096000  after tuning set to 8192000,
Most books will say, “above 1Mb are unlikely to yield significant benefit” on Log_buffer.
But redo buffer helps absorb processing spikes.   The memory-to-memory transfer (SGA/PGA to REDO BUFFER via SERVER) is   much faster than memory-to-disk transfer (REDO BUFFER to REDO LOG via
  LGWR).  So if a process is making a lot of changes, the redo it generates will be written to a memory buffer.  As the buffer fills up,   the output process (LGWR) is awakened to empty the buffer.  LGWR will need some lead time, since a sufficiently large transaction can generate redo faster than LGWR can write it to disk.  If you have small transactions each transaction COMMIT causes redo to be flushed to disk before the COMMIT returns control to the user.


Sorry again I can’t answer all the questions on this thread due to the time limitation.
Chao_Ping   understand most of the configuration ideas, he may like helping you on your questions as before.

Happy holiday!

使用道具 举报

回复
论坛徽章:
4
ITPUB元老
日期:2005-02-28 12:57:00授权会员
日期:2005-10-30 17:05:33会员2006贡献徽章
日期:2006-04-17 13:46:34ITPUB技术丛书作者
日期:2010-09-26 15:24:56
80#
 楼主| 发表于 2002-10-2 11:00 | 只看该作者
非常感谢Cluster的回复,目前的情况比较乱,等有点眉目了再联系大家。

过节了,放假了,CP不能上MSN,估计也收不到EMAIL,过了节联系吧。。。

祝 大家

节日快乐

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表