- 论坛徽章:
- 0
|
我的程序原先在微机服务器上的ms sql上运行,现在想把它移到小型机上sybase上,结果用相同的数据量运行同一程序,结果程序比在ms sql 上运行还慢。只不过微机服务器上内存是4G,小型机内存是2G,都是两个CPU.打算小型机内存再加2G,一问IBM的结果竞然要10万,就怕加了后还比ms sql慢。现在我的内存是2G,数据高速缓存设了500M,其中过程高速缓存是100M.不仅在程序中运行要慢,用查询分析器查询特别是以文本输出结果也慢很多。设置如下:sp_configure ‘number of user connections’,50;sp_configure ‘max online engines’,2;sp_configure ‘number of devices’,20;sp_configure ‘number of lock’,500000;sp_configure ‘number of open indexes’,2000;sp_configure ‘number of open objects’,1000;sp_configure ‘max memory’,716800;sp_configure ‘procedure cache size’,102400;sp_configure ‘number of engines at startup’,2;sp_cacheconfig ‘default data cache’,’500M’;sp_poolconfig ‘default data cache’,’50M’,’16K’;sp_configure ‘ number of io buffers’,20。 |
|