sybase ase 安装后的系统配置(必须调整的参数)
<p><font face="Verdana"></font> </p><p><font face="Verdana">$isql -Usa -P -Sservername<br/>A:配置内存<br/>1>sp_configure 'max memory',mmm(单位为2k)<br/>2>go<br/>1>sp_configure 'allocate max shared mem',1<br/>2>go<br/>上面命令配置sybase使用mmm*2k内在,通常配置为系统内存的60-70%,重起生效。<br/>max memory生效后,配置dat cache和procedure cache:<br/>1>sp_cacheconfig 'default data cache','xxxM'<br/>2>go<br/>通常配置为max memory的50%,以M为单位。<br/>1>sp_configure 'procedure cache size',yyy(单位为2k)<br/>2>go<br/>通常配置为max memory的20%,以2k为单位。<br/>B:配置CPU<br/>1>sp_configure 'max online engines',n<br/>2>go<br/>1>sp_configure 'number of engines at startup',n<br/>2>go<br/>若系统CPU大于两个配置为系统实际CPU数-1,重起生效。<br/>C:其它<br/>1>sp_configure 'allocate max shared mem',0<br/>2>go<br/>静态内存参数生效后,该参数配置为0,不必重起。<br/>1>sp_configure 'number of locks',10000<br/>2>go<br/>按实际要求修改,随时可配置<br/>1>sp_configure 'number of user connections',50<br/>2>go<br/>按应用实际要求修改,随时可配置</font></p> <p>好贴子</p>
<p>学习一下</p> 学习!!!
页:
[1]