SAP Sybase参数调整与优化策略

 在创建ASE Server后,我们需要根据机器的硬件资源情况和应用特征等因素调整ASE Server的参数设置。在这里将以本人的一个虚拟机环境为例加以说明。

虚拟机环境如下:

* 4个逻辑CPU (Intel(R) Xeon(R) CPU  E5620 @ 2.40GHz)

* 内存8GB,可用内存4GB

针对应用:

本人在文章"一个测试数据库OLTP性能的Benchmark程序"中所述的应用



下面是具体的设置:



1. 调整ASE Server的配置参数

sp_configure 'max memory' , 2097152

go

sp_configure 'lock scheme' , 0 , 'datarows'

go

sp_configure 'procedure cache size' , 102400    --200M

go

sp_configure 'statement cache size', 10240      --20M

go

sp_configure 'enable literal autoparam', 1

go

sp_configure 'optimization goal','allrows_oltp'

go

sp_configure 'enable monitoring',1

go

sp_configure 'disk i/o structures', 1024

go

sp_configure 'max online engines' , 4

go

sp_configure 'number of user connections' , 200

go

sp_configure 'number of locks' , 1000000

go

sp_configure 'number of open objects' , 1000

go

sp_configure 'number of open indexes' , 2000

go

sp_configure 'number of open partitions' , 2000

go


2. 设置缺省数据高速缓存

sp_cacheconfig 'default data cache' , '1024M', 'cache_partition=8'

go

3. 修改线程池设置

alter thread pool syb_blocking_pool with thread count = 2

go

alter thread pool syb_default_pool with thread count = 4

go





免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删

QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空