sybase ase 安装后的系统配置--调整的参数

$isql -Usa -P -Sservername
A:配置内存
1>sp_configure 'max memory',mmm(单位为2k)
2>go
1>sp_configure 'allocate max shared mem',1
2>go
上面命令配置sybase使用mmm*2k内在,通常配置为系统内存的60-70%,重起生效。
max memory生效后,配置dat cache和procedure cache:
1>sp_cacheconfig 'default data cache','xxxM'
2>go
通常配置为max memory的50%,以M为单位。
1>sp_configure 'procedure cache size',yyy(单位为2k)
2>go
通常配置为max memory的20%,以2k为单位。
B:配置CPU
1>sp_configure 'max online engines',n
2>go
1>sp_configure 'number of engines at startup',n
2>go
若系统CPU大于两个配置为系统实际CPU数-1,重起生效。
C:其它
1>sp_configure 'allocate max shared mem',0
2>go
静态内存参数生效后,该参数配置为0,不必重起。
1>sp_configure 'number of locks',10000
2>go
按实际要求修改,随时可配置
1>sp_configure 'number of user connections',50
2>go
按应用实际要求修改,随时可配置
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值