sybase数据库参数调整案例

说明:gdkkx是建好的空数据库,hrj是服务器名

在ms-dos窗口中,登录进入isql。

1.扩展master数据库

c:/>isql –Usa –P –Shrj
alter database master on master = "300M"
go

2.数据库选项参数
登录进ms-dos窗口

isql –Usa –P –Shrj
exec master.dbo.sp_dboption gdkkx, "select into/bulkcopy", true
go
exec master.dbo.sp_dboption gdkkx, "trunc log on chkpt", true
go
exec master.dbo.sp_dboption gdkkx, "abort tran on log full", true
go
exec master.dbo.sp_dboption gdkkx, "allow nulls by default", true
go
exec master.dbo.sp_dboption gdkkx, "ddl in tran", true
go

3.性能参数
1.登录进ms-dos窗口
isql –Usa –P –SXXX_DB
sp_configure "max memory", 7680000
go
sp_configure "number of user", 100
go
sp_configure "number of device", 60
go
sp_configure "number of locks", 100000
go
sp_configure "number of open object", 30000
go
sp_configure "number of open indexes", 30000
go
sp_configure "shared memory starting address", 23662592
go
sp_configure "procedure cache size", "300M"
go
sp_cacheconfig "default data cache", "500M"
go
sp_poolconfig "default data cache", "150M", "16K"
go
sp_configure "max online", 2
go
sp_configure "number of engines at startup", 2
go

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值