Sie sind auf Seite 1von 3

Login into the Database:

1)Login at Os level with Syb<SID>

isql –D<DBSID> -Usapsa –P<Password> -X

>go

1)Backup Commands:

isql –D<DBSID> -Usapsa –P<Password> -X

>go

> dump database <SID> to “<directory>” with compress = 101

2)Restoration Commands:

isql –D<DBSID> -Usapsa –P<Password> -X

>go

>use master

> load database from ‘d:\backup\xxxxx.dmp’

>go

> online database <DBSID>

>go

3)To check the Sybase version

isql –D<DBSID> -Usapsa –P<Password> -X

>go

>select @@version

>go

4)Sybase Transaction Logs Full Scenario:

isql –D<DBSID> -Usapsa –P<Password> -X

>go

>sp_helpdb <SID>
>go

To resize an existing log device:

>use master

>go

>disk resize name = <existing_log_device_name>, size = '<size in GB>G'

>go

>alter database <dbname> log on <existing_log_device_name> = '<size in GB>G'

>go

OR to create a new log device:

>use master

>go

>disk init name = '<new_log_device_name>' , physname = '<path/filename>' , size = '<size in GB>G'

>go

>alter database <dbname> log on <new_log_device_name> = '<size in GB>G'

>go

5) Collecting diagnostic data for Sybase ASE support :

a)Log on to your database host as user 'syb<sid>'

Replace <DBSID> with the name of your ASE server

sybdiag -S<DBSID> -Usapsa -Tasecore,keyfile,aseadd

Enter the password of user 'sapsa'

Attach file sybdiag-<DBSID>-<DATE>.zip to your support message under component

6) Information about logs and trace files for SAP ASE for Business Suite

SAP ASE errorlog: $SYBASE/$SYBASE_ASE/install/<SID>.log

Backup Server errorlog: $SYBASE/$SYBASE_ASE/install/<SID>_BS.log

Das könnte Ihnen auch gefallen