12
返回列表 发新帖
楼主: yxyup

shared_pool 疑问 ?

[复制链接]
论坛徽章:
106
2008新春纪念徽章
日期:2008-02-13 12:43:03ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152012新春纪念徽章
日期:2012-01-04 11:51:222012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25版主4段
日期:2012-05-15 15:24:11ITPUB 11周年纪念徽章
日期:2012-10-09 18:07:31
11#
 楼主| 发表于 2008-3-4 18:17 | 只看该作者
原帖由 NinGoo 于 2008-3-4 18:10 发表
不是早跟楼主说了查v$sgainfo了嘛





宁总,我是很想知道,为什么v$sgastat中多出了设定值,给我讲讲这个

使用道具 举报

回复
论坛徽章:
145
生肖徽章2007版:兔
日期:2008-01-02 17:35:532010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-01-04 08:33:082010新春纪念徽章
日期:2010-01-04 08:33:082009新春纪念徽章
日期:2009-01-04 14:52:282009新春纪念徽章
日期:2009-01-04 14:52:282009新春纪念徽章
日期:2009-01-04 14:52:28
12#
发表于 2008-3-4 20:54 | 只看该作者
学习了

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
13#
发表于 2008-3-5 03:13 | 只看该作者
原帖由 yxyup 于 2008-3-4 00:46 发表

HUNTER@hpjob>show parameter compatib

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
compatible                           string      10.2.0.3.0


HUNTER@hpjob>select * from v$sgainfo;

NAME                                  BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size                      2274264 No
Redo Buffers                        8519680 No
Buffer Cache Size                1.6777E+10 Yes
Shared Pool Size                 1056964608 Yes
Large Pool Size                   117440512 Yes
Java Pool Size                     67108864 Yes
Streams Pool Size                         0 Yes
Granule Size                       16777216 No
Maximum SGA Size                 1.8254E+10 No
Startup overhead in Shared Pool   167772160 No
Startup NUMA Shared Pool memory   201326592 No
Free SGA Memory Available         218103808

12 rows selected.


HUNTER@hpjob>select 1056964608/1024/1024 from dual;

1056964608/1024/1024
--------------------
                1008


I have a 10.2.0.3 instance on Redhat Linux (2.6.9-34.0.2.EL) and I can reproduce your case, although the difference is not nearly as large as yours (9%).

SQL> select value from v$parameter where name = 'shared_pool_size';

VALUE
------------------------------------------------------------------------------------------------------------------------------------
184549376

SQL> select value from v$spparameter where name = 'shared_pool_size';

VALUE
------------------------------------------------------------------------------------------------------------------------------------
181403648

SQL> select sum(bytes) from v$sgastat where pool = 'shared pool';

SUM(BYTES)
----------
184567136  <-- 17760 bytes higher than 184549376

SQL> select * from v$sgainfo;

NAME                                  BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size                      1218868 No
Redo Buffers                        2973696 No
Buffer Cache Size                  50331648 Yes
Shared Pool Size                  184549376 Yes
Large Pool Size                           0 Yes
Java Pool Size                     25165824 Yes
Streams Pool Size                         0 Yes
Granule Size                        4194304 No
Maximum SGA Size                  264241152 No
Startup overhead in Shared Pool    33554432 No
Free SGA Memory Available                 0

11 rows selected.

I don't have the line "Startup NUMA Shared Pool memory" in v$sgainfo (my _enable_NUMA_optimization is default TRUE). What OS are you using? Do you have any underscore parameters in your spfile (create a pfile and check)?

I suggest you open a Tar with Oracle. If you find the answer, please post back.

Yong Huang

使用道具 举报

回复
论坛徽章:
106
2008新春纪念徽章
日期:2008-02-13 12:43:03ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152012新春纪念徽章
日期:2012-01-04 11:51:222012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25版主4段
日期:2012-05-15 15:24:11ITPUB 11周年纪念徽章
日期:2012-10-09 18:07:31
14#
 楼主| 发表于 2008-3-5 09:09 | 只看该作者
原帖由 Yong Huang 于 2008-3-5 03:13 发表


I have a 10.2.0.3 instance on Redhat Linux (2.6.9-34.0.2.EL) and I can reproduce your case, although the difference is not nearly as large as yours (9%).

SQL> select value from v$parameter where name = 'shared_pool_size';

VALUE
------------------------------------------------------------------------------------------------------------------------------------
184549376

SQL> select value from v$spparameter where name = 'shared_pool_size';

VALUE
------------------------------------------------------------------------------------------------------------------------------------
181403648

SQL> select sum(bytes) from v$sgastat where pool = 'shared pool';

SUM(BYTES)
----------
184567136   select * from v$sgainfo;

NAME                                  BYTES RES
-------------------------------- ---------- ---
Fixed SGA Size                      1218868 No
Redo Buffers                        2973696 No
Buffer Cache Size                  50331648 Yes
Shared Pool Size                  184549376 Yes
Large Pool Size                           0 Yes
Java Pool Size                     25165824 Yes
Streams Pool Size                         0 Yes
Granule Size                        4194304 No
Maximum SGA Size                  264241152 No
Startup overhead in Shared Pool    33554432 No
Free SGA Memory Available                 0

11 rows selected.

I don't have the line "Startup NUMA Shared Pool memory" in v$sgainfo (my _enable_NUMA_optimization is default TRUE). What OS are you using? Do you have any underscore parameters in your spfile (create a pfile and check)?

I suggest you open a Tar with Oracle. If you find the answer, please post back.

Yong Huang



thanks man

My OS is HP-UX B.11.23 U ia64 .

I don't have  account in metalink. so ....

can you help me do that ?

thanks again

使用道具 举报

回复
论坛徽章:
106
2008新春纪念徽章
日期:2008-02-13 12:43:03ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152012新春纪念徽章
日期:2012-01-04 11:51:222012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25版主4段
日期:2012-05-15 15:24:11ITPUB 11周年纪念徽章
日期:2012-10-09 18:07:31
15#
 楼主| 发表于 2008-3-10 22:16 | 只看该作者
up

使用道具 举报

回复
论坛徽章:
1
2010新春纪念徽章
日期:2010-03-01 11:19:52
16#
发表于 2008-3-11 16:02 | 只看该作者
学习

使用道具 举报

回复
论坛徽章:
16
ITPUB元老
日期:2005-04-27 08:46:182013年新春福章
日期:2013-02-25 14:51:242012新春纪念徽章
日期:2012-01-04 11:49:54鲜花蛋
日期:2011-12-27 22:39:17ITPUB十周年纪念徽章
日期:2011-11-01 16:19:412010新春纪念徽章
日期:2010-03-01 11:20:51生肖徽章2007版:牛
日期:2009-07-13 12:53:13生肖徽章2007版:蛇
日期:2009-03-19 13:57:24生肖徽章2007版:牛
日期:2008-12-17 10:30:43奥运会纪念徽章:足球
日期:2008-10-24 13:28:14
17#
发表于 2008-3-13 13:31 | 只看该作者
难道楼主定义的parallel_*等有关并行处理的相关初始化参数都很大?

使用道具 举报

回复
论坛徽章:
106
2008新春纪念徽章
日期:2008-02-13 12:43:03ITPUB十周年纪念徽章
日期:2011-11-01 16:21:152012新春纪念徽章
日期:2012-01-04 11:51:222012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:252012新春纪念徽章
日期:2012-02-13 15:12:25版主4段
日期:2012-05-15 15:24:11ITPUB 11周年纪念徽章
日期:2012-10-09 18:07:31
18#
 楼主| 发表于 2008-3-14 09:45 | 只看该作者
原帖由 hanson 于 2008-3-13 13:31 发表
难道楼主定义的parallel_*等有关并行处理的相关初始化参数都很大?



[php]

HUNTER@hpjob>show parameter parallel

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
fast_start_parallel_rollback         string      LOW
parallel_adaptive_multi_user         boolean     TRUE
parallel_automatic_tuning            boolean     FALSE
parallel_execution_message_size      integer     2152
parallel_instance_group              string
parallel_max_servers                 integer     640
parallel_min_percent                 integer     0
parallel_min_servers                 integer     0
parallel_server                      boolean     FALSE
parallel_server_instances            integer     1
parallel_threads_per_cpu             integer     2
recovery_parallelism                 integer     0



[/php]


hanson兄,好久没在这里出现了

使用道具 举报

回复
论坛徽章:
0
19#
发表于 2008-3-18 12:14 | 只看该作者
study

使用道具 举报

回复

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

本版积分规则 发表回复

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