- 论坛徽章:
- 0
|
【急救】Win 2003 Enterprise Edition SP2+Sybase ASE12.5如何做到性能最优化配置:
硬件环境:
机型:IBM X3650M3 7945I45
配置:CPU类型:Xeon E5640 2660MHz处理器描:标配1个Xeon E5640处最大处理:2 内存大小:8GB DDR3
软件环境:Win 2003 Enterprise Edition SP2+Sybase ASE12.5
如何在2003上面配置大于1024MB的内存?
1、在boot.ini中增加/3GB选项,重起操作系统;
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=optout /fastdetect /PAE /3GB ????? (这怎么样改的?)
2、sp_configure 'shared memory starting address', 23662592 (8G物理内存时,此参数设置多少合适?????)
其他参数配置,以下合不合适???????是不是最优化的配置?????????????
一. SYBASE 系统参数调整
1.内存
sp_configure "max memory",????? --重启生效(设置为共享内存的75%)
sp_configure "allocate max shared mem",1 --启动的时候自动分配max memory指定的最大内存
sp_cacheconfig "default data cache","?????m" --设置数据缓存(设置为max memory的一半)
sp_cacheconfig "default data cache","cache_partition=2" --是CPU数量的倍数,对数据缓冲区分区
sp_poolconfig "default data cache","64m","16k" --设置16K 数据缓存
sp_poolconfig "default data cache","128m","8k" --设置8K 数据缓存
sp_configure "procedure cache size",90000 --存储过程数据缓存
sp_cacheconfig 'tempdb_cache','200m','mixed' --创建命名高速缓存
sp_bindcache 'tempdb_cache',tempdb --捆绑临时数据库到tempdb_cache高速缓存
2.cpu
sp_configure "max online engines",7 --设置使用的CPU数量
sp_configure "number of engines at startup",7 --启动时使用CPU数量
3. 网络
sp_configure "default network packet size",2048 --设置网络传送包的大小(重启动生效)
sp_configure "max network packet size",2048
4. 其他资源使用
sp_configure "number of locks",100000 --锁使用数量
sp_configure "number of open indexes",50000 --打开索引
sp_configure "number of open objects",50000 --打开对象
sp_configure "number of user connections",1000 --用户连接数
sp_configure "number of device",100 --新建设备最大数量
二. sybase 设备调整
数据设备与日志设备必须分开,添加临时数据库设备
1. 数据设备
sp_deviceattr devname,"dsync",true
2. 日志设备
sp_deviceattr devname,"dsync",false
3. 临时数据库设备
sp_deviceattr devname,"dsync",false
以上配置是不是最优化????最合理的??????请高手明示!不胜感激!!!!!! |
|