12 April, 2013

COMMON DATABASE IN SAP

MS SQL Server
MS SQL Server is a Relational Database Management System developed by Microsoft Inc. Its primary query languages are:
    T-SQL.
    ANSI SQL.
Type of file in SQL Server Database
    Model
    Master
    Msdb
Type of file extention in SQL Server Database
    Mdf- Contain master data
    Ndf - Contain Main or original data
    Ldf-  Contain logs of transactions
Periodic task in SQL Server DB
    Reorg- It’s like Defragment
    Rebuild Index- Delete deleted object from the table which occupied special space. 
How to delete SAP* password or reset it?
Delete from usr03 where bname =’sap*’ and mandt=’clientno’ ; 
Max DB
Properties:
    It having Live cache 
    We can see  live cache using LC10
    We can do replication of SLD. This function was present in Sybase from    Sybase SAPHANA originated this was the only reason that SAP buy the Sybase  for its replication feature.
DB2
IBM DB2 is a relational model database server developed by IBM. 
There are three main products in the DB2 family:  
    DB2 for LUW (Linux, Unix, and Windows), 
    DB2 for z/OS (mainframe), and
    DB2 for iSeries (formerly OS/400)
Access tools:
    CMD
    GUI
    DB2CC 
VERSIONS IN DB2
    DB2 express edition (free)
    DB2 enterprise edition
Note:
DB2 9.7 common
DB2 10.1 latest
No external listener in DB2 
Coordinating Agent
It is like the Server process in the oracle Database. 
DB2pfc
It is like Database writer which fetch data from Hard disk. Its called DB2 prefetcher.
DB2pcln
It is used to clean the page of the database. It called database page cleaner.
Internal Listener in DB2 
    TCP/IP listener
    IPC  listener
    SNA listener
Starting and Stopping DB2
    DB2 start
    Db2 stop force
    Db2 kill
    Db2 sync
IMPORTANT PARAMETER IN DB2
    Database manage configuration DBMCFG
    DB2 registry
To show all register parameter : DB2all
Show all parameter  : db2 get dbmcfg
Logarchmeth1 – true
How to change parameter in DB2
DB2 update dbcfg for <> suing <> off;
How to see live log in DB2 
DB2 Diag

No comments:

Post a Comment