DB2内存使用帮助 [英] DB2 memory usage help

查看:83
本文介绍了DB2内存使用帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在各种UNIX平台上运行各种版本的DB2

(Solaris / AIX)。


DB2通常占用大约30%的内存这些系统(4Gb

的RAM,相当于一场演出)。我想将整个应用程序的DB2内存限制为总共几百兆的内存,

但似乎无法找到如何执行此操作。


当我用db2mtrk检查实例内存使用情况时,它只使用几个Megs表示它只有

。我无法找到如何限制整个操作

到250M或500M之类的东西。


任何人都可以帮忙吗?

Im runnign various versions of DB2 on various UNIX platforms
(Solaris / AIX).

DB2 is generally eating up about 30% of memory on these systems (4Gb
of RAM, which equates to over a gig). i want to limit DB2s memory
usage to a couple of hundred meg in total for the entire application,
but cannot seem to find out how to do this.

When i check the instance memory usage with db2mtrk, it says its only
using a few Megs. I cannot find out how to limit the whole operation
to something like 250M or 500M or there abouts.

Can anyone help?

推荐答案

5月28日上午7:51,bomahony< bomah ... @ gmail.comwrote:
On May 28, 7:51 am, bomahony <bomah...@gmail.comwrote:

我在各种UNIX平台上运行各种版本的DB2

(Solaris / AIX)。


DB2通常占用这些内存大约30%的内存系统(4Gb

的RAM,相当于一个演出)。我想将整个应用程序的DB2内存限制为总共几百兆的内存,

但似乎无法找到如何执行此操作。


当我用db2mtrk检查实例内存使用情况时,它只使用几个Megs表示它只有

。我无法找到如何限制整个操作

到250M或500M左右或者那里。


任何人都可以帮忙吗?
Im runnign various versions of DB2 on various UNIX platforms
(Solaris / AIX).

DB2 is generally eating up about 30% of memory on these systems (4Gb
of RAM, which equates to over a gig). i want to limit DB2s memory
usage to a couple of hundred meg in total for the entire application,
but cannot seem to find out how to do this.

When i check the instance memory usage with db2mtrk, it says its only
using a few Megs. I cannot find out how to limit the whole operation
to something like 250M or 500M or there abouts.

Can anyone help?



您好,


如果您使用的是DB2 9.5,则可以设置INSTANCE_MEMORY数据库

管理器配置参数到你想要的内存上限,并保留

所有其他内存配置参数的默认值(AUTOMATIC)

设置。

如果您使用的是DB2 9或更早版本,则可能需要更新几个不同的内存配置参数。你最好的选择可能是使用AUTOCONFIGURE命令来指定你想要的内存限制。

然后推荐AUTOCONFIGURE命令(并根据需要应用)

更改为各种内存配置参数,以便你理性地接近你想要的限制。


干杯,

Liam。

Hello,

If you''re using DB2 9.5, you can set the INSTANCE_MEMORY database
manager configuration parameter to your desired memory cap, and leave
all other memory configuration parameters at their default (AUTOMATIC)
settings.

If you''re using DB2 9 or earlier, you''ll likely have to update several
different memory configuration parameters. Your best choice may be to
use the AUTOCONFIGURE command, specifying your desired memory limit.
The AUTOCONFIGURE command will then recommend (and apply, if desired)
changes to various memory configuration parameters to get you
reasonably close to your desired limit.

Cheers,
Liam.


5月28日下午2:37,Liam Finnie< lfin ... @ ca.ibm.comwrote:
On May 28, 2:37 pm, Liam Finnie <lfin...@ca.ibm.comwrote:

5月28日上午7:51,bomahony< bomah ... @ gmail.comwrote:
On May 28, 7:51 am, bomahony <bomah...@gmail.comwrote:

我运行各种版本的DB2在各种UNIX平台上

(Solaris / AIX)。
Im runnign various versions of DB2 on various UNIX platforms
(Solaris / AIX).


DB2在这些系统上通常占用大约30%的内存(4Gb

的RAM,相当于一个演出)。我想将整个应用程序的DB2内存限制为总共几百兆的内存,

但似乎无法找到如何执行此操作。
DB2 is generally eating up about 30% of memory on these systems (4Gb
of RAM, which equates to over a gig). i want to limit DB2s memory
usage to a couple of hundred meg in total for the entire application,
but cannot seem to find out how to do this.


当我用db2mtrk检查实例内存使用情况时,它使用几个Megs表示它只有

。我无法找到如何将整个操作限制在250M或500M左右或者大约250万美元左右。
When i check the instance memory usage with db2mtrk, it says its only
using a few Megs. I cannot find out how to limit the whole operation
to something like 250M or 500M or there abouts.


有人可以帮忙吗?
Can anyone help?



您好,


如果您使用的是DB2 9.5,则可以设置INSTANCE_MEMORY数据库

管理器配置参数到你想要的内存上限,并保留

所有其他内存配置参数的默认值(AUTOMATIC)

设置。

如果您使用的是DB2 9或更早版本,则可能需要更新几个不同的内存配置参数。你最好的选择可能是使用AUTOCONFIGURE命令来指定你想要的内存限制。

然后推荐AUTOCONFIGURE命令(并根据需要应用)

更改为各种内存配置参数,以便你理性地接近你想要的限制。


干杯,

利亚姆。


Hello,

If you''re using DB2 9.5, you can set the INSTANCE_MEMORY database
manager configuration parameter to your desired memory cap, and leave
all other memory configuration parameters at their default (AUTOMATIC)
settings.

If you''re using DB2 9 or earlier, you''ll likely have to update several
different memory configuration parameters. Your best choice may be to
use the AUTOCONFIGURE command, specifying your desired memory limit.
The AUTOCONFIGURE command will then recommend (and apply, if desired)
changes to various memory configuration parameters to get you
reasonably close to your desired limit.

Cheers,
Liam.



谢谢Liam


我们还没有开始使用DB2 9.5。


我将研究autoconfigure选项。这是一个实时更改,还是

数据库或实例是否必须重新启动?


无论如何我现在都会查看此命令。

Thanks Liam

We havent started with DB2 9.5 yet.

I will look into the autoconfigure option. Is this a live change, or
does the db or instance have to be restarted?

I will look into this command now anyways.


Liam


当我使用autoconfigure时,mem_precent是系统的百分比

内存还是可用内存?
Liam

when i use autoconfigure, is the mem_precent a percentage of system
memory or free memory available?


这篇关于DB2内存使用帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆