on 2015 Feb 05 12:44 PM
Hi experts,
How can decrease the log device? Actually it has 10GB and I want to reduce to 5GB
I know that I have to create a new log device and change it, but I do not know the commands.
Thanks in advance,
Regards,
Request clarification before answering.
Solved with:
use master
go
disk init name='CRD_log_002', physname='H:\sybase\CRD\saplog_1\CRD_log_002.dat', size ='1024M', directio='true'
go
alter database CRD log on CRD_log_002='1024M'
go
alter database CRD log off CRD_log_001
go
sp_dropdevice CRD_log_001
go
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.