Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Originally for Unix platforms in 1987, Sybase Corporation's primary relational database management
system product was initially marketed under the name Sybase SQL Server. In 1988, SQL Server for
OS/2 was co-developed for the PC by Sybase, Microsoft, and Ashton-Tate. Ashton-Tate divested its
interest and Microsoft became the lead partner after porting SQL Server to Windows NT. Microsoft
and Sybase sold and supported the product through version 4.2.1.
Sybase released SQL Server 4.2 in 1992. later Microsoft is separated from Sybase, and they started
developing MS SQL server versions
Latest name of Sybase ASE is SAP ASE
master DB
model DB
temp DB
sybsystemprocs DB
sybsystemdb
System databases
master DB : contain metadata and brain of Sybase ASE. Its first DB which come online after
boot.
temp DB : temporary database. Used during sorting and other temporary work.
Additional databases
User databases
Description
SAP ASE software ($SYBASE) Size: at least 4 GB
/sybase/<DBSID>/sybsystem
/sybase/<DBSID>/sybtemp
/sybase/<DBSID>/saptemp
/sybase/<DBSID>/sapdiag
/
sybase/<DBSID>/sapdata_<n
>
/
sybase/<DBSID>/saplog_<n>
/
sybase/<DBSID>/sybsecurity
System Administrator
by default the system administrator (the sa)
has the following role
sa_role
sso_role
oper_role
sybase_ts_role
Database user
Connecting to database
Sybase Central is the primary tool for working with database objects on windowing systems.
You can use Sybase Central to manage servers, databases, and dbspaces. It lets you create, modify,
and delete all kinds of database objects, including tables, procedures, views, indexes, users, and
groups. To use Sybase Central on multiplex servers, see Using Sybase IQ Multiplex.
This chapter is concerned with the SQL statements for working with database objects. If you use
Sybase Central, these SQL statements are generated for you. The primary source of information
about Sybase Central is the Sybase Central online help. This chapter gives only brief pointers for
tasks that you can carry out using Sybase Central
(mention in mbs )
Note : Here sybmgmtdb2 is the device name and sybmgmtdb is the database
2) Resizing the database device
disk resize name = "sybmgmtdb2", size = "4M
Note : sybmgmtdb2 is the database device name
We can also extend database space using dbacockpit by selecting the Sybase Database
DATABASE RESTORE
Restoring database using latest Backup
Stopsap and start only database services
C:\Users\bwdadm>isql -Usapsa -SBWD -DBWD -X
Password:
1>use master
2>go
3>load database BWD from E:\BACKUP\BWD_OFF_04_11_2014.dmp
4>go
5>load transaction BWD from E:\BACKUP\BWD_TRANS_04_11_2014.trn
6>go
7>online database BWD
8>go
Updating statics for table manually
Isql Usapsa -SPRD - DPRD -X
1>use PRD
2>go
3>set quoted_identifier on
4>go
5>update index statistics SAPSR3."REPOSRC"
6>go