马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?站点注册
×
原来的系统是 SCO5 sybase11,数据库的设备文件全在阵列上面,由于阵列硬盘和服务器硬盘掉电坏掉,把原来每天以二进制格式BCP出的数据恢复到现新服务器上,新服务器是HPML370G5 系统是REDHAT4UP464位,SYBASE是12.5.4,4G内存。本地四块SAS盘做的RAID5,把原来的备份的二进制文件FTP到新服务器上面,发现小文件恢复的速度还可以,但是大文件特别慢,BCP 单个900M的数据文件要近二十个小时,怎么能够改进一些,表的索引和触发器都以删掉。 服务器和sybase 配置参数如下
os kernel.shmmax = 4294967296
sybase
sp_configure "max memory",1300000 go sp_configure "allocate max shared mem",1 go sp_cacheconfig "default data cache","1120M" go sp_configure "procedure cache size",240000 go sp_configure "allocate max shared mem",0 go sp_configure "number of open objects",5000 go sp_configure "number of pre-allocated extent",20 go sp_poolconfig "default data cache","80M","4K" go sp_poolconfig "default data cache","160M","8K" go sp_poolconfig "default data cache","240M","16K" go sp_configure "number of open indexes",4000 go sp_configure "number of devices",25 go sp_configure "tcp no delay",1 go sp_configure "number of user connections",250 go sp_configure "number of locks",90000 go |