truncate方法以字节为单位设置共享内存的大小。
The truncate method sets the size of the shared memory in bytes.
我们可以使用这个过程来启动、停止和控制记录日志的功能,并设置共享内存中的参数,这样,所有正在执行的存储过程都可以使用相同的日志来控制信息。
You can use this procedure to start, stop, and control logging, and to set parameters in Shared memory so that all executing procedures can use the same logging control information.
设置这个限制,使堆栈和共享内存地址空间不会相互冲突,这一点很重要。
It is important to set this limit so the stack and Shared memory address space do not collide with each other.
如果设置了DB2DBMSADDR注册表变量,那么实例共享内存将从该变量指定的地址开始。
If the DB2DBMSADDR register variable is set, then the instance Shared memory will start at the address specified by this variable.
槽管理器在共享内存区域设置其数据库。
The slot manager sets up its database in a region of Shared memory.
可以把共享内存分区从采用冗余分页VIOS设置的服务器转移到只有一个分页VIOS分区的服务器。
You can move a Shared memory partition running on a server with a redundant paging VIOS setup to a server where there is only one paging VIOS partition available.
数据库服务器分配给排序的虚拟共享内存的数量取决于要进行排序的行数、每一行的大小以及是否为服务器设置了PDQPIORIDY。
The amount of virtual Shared memory that the database server allocates for a sort depends on the number of rows to be sorted and the size of the row, and whether PDQPIORIDY is set for the server.
instance_memory参数只是设置了实例共享内存的限制。
The instance_memory parameter only sets the limit for the instance Shared memory.
LPAR 的共享内存配置设置
同时,对于OracleDatabase10g,请确保将LOCK_SGA Oracle初始化参数设置为TRUE,这样一来,Oracle会在分配共享内存时请求较大的页面。
At the same time, with Oracle Database 10g, make sure that the LOCK_SGA Oracle initialization parameter is set to TRUE, so that Oracle request large pages when allocating Shared memory.
如果希望与 HPC和数据库应用程序中常用的共享内存结合使用大页面,还需要设置 v_pnshm值:#vmo-p-o v_pinshm=1。
If you want to use large pages in combination with shared memory, which is often used in HPC and database applications, you will also need to set the v_pnshm value: # vmo -p -o v_pinshm=1.
注意,一些操作系统设置可能会限制可分配的共享内存量,例如Linux上的SHMMAX通常设置为大约20mb。
Note that there are operating system Settings that can limit the amount of Shared memory that can be allocated — for instance, SHMMAX on Linux is typically set to about 20mb.
这些设置把共享内存总量增加到了32MB。
These Settings increase the amount of Shared memory to 32 MB.
守护进程在初始化时设置将这个共享内存并在其后扮演垃圾收集器的角色以确保只有活动进程保持注册。
The daemon sets up this Shared memory upon initialization and ACTS as a garbage collector thereafter, helping to ensure that only active processes remain registered.
我们可以通过设置DB2DBMSADDRDB 2注册表变量,将实例共享内存移到更高的地址,从而增加代理私有内存。
The agent private memory can be increased by moving the instance Shared memory to a higher address by setting the DB2DBMSADDR DB2 registry variable.
作为共享内存分区重新启动lpar之后,我使用lparstat和vmstat查看lpar的共享内存设置。
After restarting the lpar as a Shared memory partition, I used lparstat and vmstat to view the lpars' Shared memory Settings.
全局共享内存的大小只能使用配置文件进行设置。
The size of global Shared memory can be set only with a configuration file.
全局共享内存的大小只能使用配置文件进行设置。
The size of global Shared memory can be set only with a configuration file.
应用推荐