Académique Documents
Professionnel Documents
Culture Documents
Model
Tempdb
SID(User Specific Database)
Sybtempdb
Saptools
Sybmgmtdb
Sybsystemprocs
DIRECTORY STRUCTURE
/sybase/<SID>
/sybase/<SID>/ASE-15_0
/sybase/<SID>/ASE-15_0/bin
/sybase/<SID>/ASE-15_0/install
/sybase/<SID>/sapdata_1
/sybase/<SID>/sapdiag
/sybase/<SID>/saplog_1
/sybase/<SID>/Shared
/sybase/<SID>/sybsystem
/sybase/<SID>/sybtemp
/sybase/<SID>/sybuninstall
DATABASE DEVICES
data<SID>_1.dat
log<SID>_1.dat
datasaptools_1.dat
logsaptools_1.dat
master.dat
sybmgmtdb.dat
sysprocs.dat
sybsysdb.dat
tempdbdev.dat
Sp_helpdb
Sp_helpdevice
Sp_helpconfig
Sp_addumpdevice
sp_configure
sp_dboption
sp_monitor
sp_who
Default compression/Level 1
LEVEL 2
Level 3
Level 4
Level 5
Level 6
Level 7
Level 8
Level 9
PATH REMARKS
Home Path
Uninstall path
/sybase/<SID>/sapdata_1
/sybase/<SID>/saplog_1
/sybase/<SID>/sapdiag/
/sybase/<SID>/sapdiag/
By default Master, model and tempdb are
/sybase/<SID>/sybsystem stored in this device
/sybase/<SID>/sybsystem
/sybase/<SID>/sybsystem
/sybase/<SID>/sybsystem
/sybase/<SID>/sybtemp
128K
124K
121K
116K
113K
112K
111K
110K
109K
DESCRIPTION
Backup
Backup Logs
Backup with compression
Create the data files
Database Status
Dump Transaction
Load Transaction
Restore
Start sybase databse
Stop sybase databse
Sybase Central
To assign above created data file to the database use the below command
To Backup DB Using SP from DBACOCKPIT (As per Note: 1588316)
To Backup Transaction Log Using SP from DBACOCKPIT
To bring database online
To check sybase version
To extend a device
sp_helpdb <SID>
Dump tran <SID> to "file path"
Load tran <SID> from "file path"
load database <SID> from “backup_file”
startserver RUN_<SID>
SQL>shutdown
go to path : \sybase\BED\Shared\Sybase Central 6.0.0\win64 and click on
"scjview"
Alter database <SID> data on data<SID>_2.dat =”10G”
exec saptools..sp_dump <SID>
exec saptools..sp_dumptrans <SID>
online database database_name
select @@version
go
disk resize
name = data<SID>_1,
size = “10G"
c:\>dbisql
c:\>isql -Uusername -Ppassword -Ssid
sp_configure "<PARAM>", <VALUE>
sp_helpconfig "<PARAM>"
use master
go
select * from sysdatabases
exec SYB_BACKUP...sp_who
sp_config_dump
sp_locklogin sa, unlock
DB Parameter
Configuration
enable functionality group
enable inline default sharing
select for update
enable permissive unicode
quoted identifier enhancements
streamlined dynamic SQL
suppress js max task message
Kernel Mode
kernel mode
Data Collection Framework
enable job scheduler
job scheduler interval
job scheduler tasks
js job output width
Database Monitoring
enable monitoring
enable stmt cache monitoring
errorlog pipe active
deadlock pipe active
sql text pipe active
plan text pipe active
lock timeout pipe active
per object statistics active
statement statistics active
SQL batch capture
wait event timing
object lockwait timing
process wait events
enable metrics capture
Data Collection Framework
statement pipe active
errorlog pipe max messages
deadlock pipe max messages
statement pipe max messages
sql text pipe max messages
plan text pipe max messages
lock timeout pipe max messages
max SQL text monitored
FIPS login password encryption
net password encryption reqd
Compression
enable compression
compression info pool size
XML Support
enable xml
Unicode
enable unicode normalization
enable surrogate processing
disable character set conversion
enable unicode conversions
Character Set
default character set id
default language id
default sortorder id
Job Output
maximum job output
Procedure Cache
procedure cache size
statement cache size
Locks
lock scheme
page lock promotion HWM
page lock promotion LWM
row lock promotion HWM
row lock promotion LWM
number of locks
lock wait period
lock spinlock ratio
lock hashtable size
Memory Usage
number of open objects
number of open indexes
number of open partitions
number of alarms
number of aux scan descriptors
number of devices
disk i/o structures
kernel resource memory
heap memory per user
number of user connections
cpu grace time
max network packet size
default network packet size
additional network memory
recovery interval in minutes
print recovery information
Additional Parameters
disable varbinary truncation
allocate max shared memory
optimizer level
enable literal autoparam
enable semantic partitioning
permission cache entries
enable java
deadlock checking period
read committed with lock
auto query tuning
max query parallel degree
optimization goal
Data Caches
default data cache
Database Options
ddl in tran
allow nulls by default
allow wide dol rows
enforce dump tran sequence
full logging for all
abort tran on log full
page compression
select into/bulkcopy/pllsort
trunc log on chkpt
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REQ Threaded
REQ 1
REQ <=60
REQ >=2
REQ >=1024
REQ 1
REQ 1
REQ 1
REQ 1
REC 0
REC 0
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REC 0
REC 0
REC 0
REQ >=500
REQ >=500
0
REC 0
REC 0
REQ >=500
REQ >=2048
REQ 1
REC 1 The param should set with the sapsso user
REQ 1
REQ >=32768
REQ 1
REQ 0
REQ 0
REQ 0
REQ 1
REQ 190
REQ 0
REQ 25
REQ 2147483647
REQ datarows
REQ 2147483647 Note: 1634716
REQ 2147483646 Note: 1634716
REC 2147483647 Note: 1634716
REC 2147483646 Note: 1634716
REC >= 5000000
REC 1800
REC 40
REC >= @num_locks / 1000000 * 8192
REQ >= 8192
REQ 400M
REQ 1
REQ 1
REQ 1
REQ 1
REQ 1
REC 1
REC 1
REQ 0
REQ 0
REC 1
REQ 0
REQ 0
REC 1
REQ 1
REQ 0
REQ 0
REC 1
REC partial
REQ 0
REQ 701
REQ 1105
REQ 2901
REQ 12205