Upload
cbbizer
View
266
Download
2
Embed Size (px)
DESCRIPTION
Guide DBA Sybase
Citation preview
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 1/116
D a t a b a s e A d m i n i s t r a t i o n G u i d e : S A P o n S y b a s e A S E
T a r g e t A u d i e n c e
n S y s t e m A d m i n i s t r a t o r s n T e c h n i c a l C o n s u l t a n t s
P U B L I C D o c u m e n t v e r s i o n : 1 . 1 ‒ 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 2/116
D o c u m e n t H i s t o r y
C a u t i o n
B e f o r e y o u s t a r t t h e i m p l e m e n t a t i o n , m a k e s u r e y o u h a v e t h e l a t e s t v e r s i o n o f t h i s d o c u m e n t . Y o u
c a n f i n d t h e l a t e s t v e r s i o n a t t h e f o l l o w i n g l o c a t i o n : h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s .
T h e f o l l o w i n g t a b l e p r o v i d e s a n o v e r v i e w o f t h e m o s t i m p o r t a n t d o c u m e n t c h a n g e s .
V e r s i o n D a t e D e s c r i p t i o n
1 . 0 5 / 2 2 / 2 0 1 2 I n i t i a l v e r s i o n
1 . 1 1 2 / 1 8 / 2 0 1 2 M i n o r c h a n g e s
2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 3/116
T a b l e o f C o n t e n t s
C h a p t e r 1 I n t r o d u c t i o n . . . . . . . . . . . . . . . . . . . . . . . 7
C h a p t e r 2 A r c h i t e c t u r e O v e r v i e w . . . . . . . . . . . . . . . . . . . 9
2 . 1 S A P A p p l i c a t i o n S e r v e r f o r A B A P . . . . . . . . . . . . . . . . . 9
2 . 2 S A P A p p l i c a t i o n S e r v e r f o r J a v a . . . . . . . . . . . . . . . . . 1 0
2 . 3 S y b a s e A S E C o m p o n e n t s . . . . . . . . . . . . . . . . . . . . 1 1 2 . 4 S y b a s e A S E D a t a A c c e s s . . . . . . . . . . . . . . . . . . . . 1 1
C h a p t e r 3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n . . . . . . . . . . . . 1 3
3 . 1 O p e r a t i n g S y s t e m U s e r s . . . . . . . . . . . . . . . . . . . . 1 4 3 . 2 D a t a b a s e L o g i n s . . . . . . . . . . . . . . . . . . . . . . . 1 5
3 . 3 S A P S y s t e m U s e r s . . . . . . . . . . . . . . . . . . . . . . 1 5 3 . 4 N e t w o r k a n d C o m m u n i c a t i o n S e c u r i t y . . . . . . . . . . . . . . 1 7
3 . 5 F i l e S y s t e m P e r m i s s i o n s . . . . . . . . . . . . . . . . . . . . 1 8 3 . 6 M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t . . . . . . . . . . . . . 1 9
C h a p t e r 4 T h e D B A C o c k p i t . . . . . . . . . . . . . . . . . . . . . . 2 3 4 . 1 T h e D B A C o c k p i t o n a L o c a l S y s t e m a n d o n S A P S o l u t i o n M a n a g e r . . . . 2 4
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e . . . . . . . . . . . . . . . . . . 2 5 4 . 3 T h e E X P L A I N A c c e s s P l a n . . . . . . . . . . . . . . . . . . . 3 0
4 . 4 S Q L C o m m a n d L i n e . . . . . . . . . . . . . . . . . . . . . 3 2 4 . 5 S c h e d u l i n g a n A c t i o n . . . . . . . . . . . . . . . . . . . . . 7 3
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e . . . . . . . . . . . . . . . . . 3 3 4 . 6 . 1 C o n f i g u r a t i o n o f S y s t e m s f o r R e m o t e M o n i t o r i n g . . . . . . . . . . 3 3
4 . 6 . 2 A r c h i t e c t u r e O v e r v i e w : E n d - t o - E n d M o n i t o r i n g a n d A l e r t i n g i n S A P S o l u t i o n
M a n a g e r a n d D B A C o c k p i t . . . . . . . . . . . . . . . . . . . 3 4 4 . 6 . 3 S e t t i n g U p D a t a b a s e M o n i t o r i n g a n d A l e r t i n g i n S A P S o l u t i o n M a n a g e r . . 3 6 4 . 6 . 4 C o n f i g u r i n g S y s t e m s f o r R e m o t e M o n i t o r i n g M a n u a l l y . . . . . . . . 3 7
4 . 6 . 5 E n a b l i n g t h e D a t a b a s e f o r t h e D a t a C o l l e c t i o n F r a m e w o r k . . . . . . . 4 0 4 . 6 . 6 S e t t i n g U p t h e D a t a C o l l e c t i o n F r a m e w o r k ( D C F ) M a n u a l l y . . . . . . 4 1
4 . 6 . 7 C o n f i g u r i n g D a t a b a s e C o n n e c t i o n s . . . . . . . . . . . . . . . . 4 2 4 . 6 . 8 C o n f i g u r i n g S y s t e m s f o r R e m o t e M o n i t o r i n g U s i n g t h e S y s t e m L a n d s c a p e
D i r e c t o r y ( S L D ) . . . . . . . . . . . . . . . . . . . . . . . 4 4
4 . 6 . 9 U s i n g t h e C e n t r a l C a l e n d a r . . . . . . . . . . . . . . . . . . . 4 6 4 . 7 P e r f o r m a n c e . . . . . . . . . . . . . . . . . . . . . . . . 4 8
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 4/116
4 . 7 . 1 P e r f o r m a n c e : A S E S e r v e r . . . . . . . . . . . . . . . . . . . 4 8 4 . 7 . 2 P e r f o r m a n c e : T h r e a d s . . . . . . . . . . . . . . . . . . . . 4 9
4 . 7 . 3 P e r f o r m a n c e : P r o c e s s e s . . . . . . . . . . . . . . . . . . . . 5 1 4 . 7 . 4 P e r f o r m a n c e : S y s t e m W a i t s . . . . . . . . . . . . . . . . . . . 5 2
4 . 7 . 5 P e r f o r m a n c e : S y s t e m L o a d . . . . . . . . . . . . . . . . . . . 5 3 4 . 7 . 6 P e r f o r m a n c e : T e m p o r a r y D a t a b a s e A c t i v i t y . . . . . . . . . . . . . 5 4
4 . 7 . 7 P e r f o r m a n c e : D a t a C a c h e U s a g e . . . . . . . . . . . . . . . . . 5 5 4 . 7 . 8 P e r f o r m a n c e : T a b l e s . . . . . . . . . . . . . . . . . . . . . 5 6
4 . 7 . 9 P e r f o r m a n c e : P r o c e d u r e C a c h e U s a g e . . . . . . . . . . . . . . . 5 7 4 . 7 . 1 0 P e r f o r m a n c e : S Q L S t a t e m e n t s . . . . . . . . . . . . . . . . . . 5 8
4 . 8 S p a c e . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 9 4 . 8 . 1 S p a c e : D e v i c e s . . . . . . . . . . . . . . . . . . . . . . . 6 0
4 . 8 . 2 S p a c e : D a t a b a s e s . . . . . . . . . . . . . . . . . . . . . . . 6 1 4 . 8 . 3 S p a c e : T a b l e s a n d I n d e x e s . . . . . . . . . . . . . . . . . . . 6 2
4 . 9 C o n f i g u r a t i o n . . . . . . . . . . . . . . . . . . . . . . . 6 3 4 . 9 . 1 C o n f i g u r a t i o n : S e r v e r C o n f i g u r a t i o n . . . . . . . . . . . . . . . 6 3
4 . 9 . 2 C o n f i g u r a t i o n : D a t a C a c h e s . . . . . . . . . . . . . . . . . . 6 5 4 . 9 . 3 C o n f i g u r a t i o n : D a t a C o l l e c t i o n F r a m e w o r k . . . . . . . . . . . . . 6 5
4 . 9 . 4 D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n . . . . . . . . . 6 6 4 . 9 . 5 D a t a C o l l e c t i o n F r a m e w o r k : T e m p l a t e D e f i n i t i o n . . . . . . . . . . 6 8
4 . 1 0 J o b s . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1 4 . 1 0 . 1 J o b s : D B A P l a n n i n g C a l e n d a r . . . . . . . . . . . . . . . . . . 7 1
4 . 1 0 . 2 S e t t i n g U p a n d W o r k i n g w i t h t h e D B A P l a n n i n g C a l e n d a r . . . . . . . 7 3 4 . 1 0 . 3 S c h e d u l i n g a n A c t i o n . . . . . . . . . . . . . . . . . . . . . 7 3
4 . 1 0 . 4 C h a n g i n g a n A c t i o n . . . . . . . . . . . . . . . . . . . . . 7 4 4 . 1 0 . 5 D e l e t i n g a n A c t i o n . . . . . . . . . . . . . . . . . . . . . . 7 5
4 . 1 0 . 6 E x e c u t i n g a n A c t i o n . . . . . . . . . . . . . . . . . . . . . 7 6
4 . 1 0 . 7 D i s p l a y i n g S c h e d u l e d A c t i o n s . . . . . . . . . . . . . . . . . . 7 6 4 . 1 0 . 8 T r o u b l e s h o o t i n g . . . . . . . . . . . . . . . . . . . . . . . 7 7
4 . 1 0 . 9 J o b s : D B A L o g . . . . . . . . . . . . . . . . . . . . . . . 7 7 4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e . . . . . . . . . . . . . . . . . 7 7
4 . 1 1 . 1 T h e A T M F r a m e w o r k . . . . . . . . . . . . . . . . . . . . . 7 7 4 . 1 1 . 2 S e t u p a n d M a i n t e n a n c e o f t h e A T M F r a m e w o r k . . . . . . . . . . . 7 9
4 . 1 1 . 3 A T M P r o f i l e s . . . . . . . . . . . . . . . . . . . . . . . . 8 1 4 . 1 1 . 4 A T M W i n d o w s . . . . . . . . . . . . . . . . . . . . . . . 8 3
4 . 1 1 . 5 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M H i s t o r y . . . . . . . 8 4 4 . 1 1 . 6 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M Q u e u e . . . . . . . 8 4
4 . 1 1 . 7 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M L o g . . . . . . . . 8 4 4 . 1 1 . 8 P r o c e s s i n g A T M W i n d o w s a n d A s s i g n e d A T M P r o f i l e s . . . . . . . . . 8 5
4 . 1 2 D i a g n o s t i c s . . . . . . . . . . . . . . . . . . . . . . . . . 8 8 4 . 1 2 . 1 D i a g n o s t i c s : A u d i t L o g . . . . . . . . . . . . . . . . . . . . 8 8
4 . 1 2 . 2 D i a g n o s t i c s : L o c k - W a i t E v e n t s . . . . . . . . . . . . . . . . . . 8 9
4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 5/116
4 . 1 2 . 3 D i a g n o s t i c s : M i s s i n g T a b l e s a n d I n d e x e s . . . . . . . . . . . . . . 9 0 4 . 1 2 . 4 D i a g n o s t i c s : E r r o r L o g . . . . . . . . . . . . . . . . . . . . 9 1
4 . 1 2 . 5 D i a g n o s t i c s : A S E S t a t u s . . . . . . . . . . . . . . . . . . . . 9 1
C h a p t e r 5 B a c k u p a n d R e c o v e r y . . . . . . . . . . . . . . . . . . . . 9 3
5 . 1 E n s u r i n g R e c o v e r a b i l i t y f o r S y b a s e A S E . . . . . . . . . . . . . . 9 3 5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s ) . . . . . . . . 9 5
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X ) . . . . . . . . . 1 0 1
C h a p t e r A R e f e r e n c e . . . . . . . . . . . . . . . . . . . . . . . . . 1 0 9
A . 1 T h e M a i n S A P D o c u m e n t a t i o n T y p e s . . . . . . . . . . . . . . . 1 0 9
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 6/116
6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 7/116
1 I n t r o d u c t i o n
1 I n t r o d u c t i o n
T h i s d o c u m e n t p r o v i d e s s p e c i f i c i n f o r m a t i o n a b o u t t h e a d m i n i s t r a t i o n o f S y b a s e A d a p t i v e S e r v e r
E n t e r p r i s e ( V e r s i o n 1 5 . 7 ) i n a n S A P e n v i r o n m e n t . I n a d d i t i o n , i t p r o v i d e s r e f e r e n c e s t o a d d i t i o n a l
d o c u m e n t a t i o n a n d g u i d e l i n e s a s w e l l a s r e c o m m e n d a t i o n s f r o m S A P t h a t a r e o n l y a v a i l a b l e i n t h i s
d o c u m e n t . I t a l s o h e l p s y o u t o p l a n , i n s t a l l , a n d m a i n t a i n S A P s y s t e m s o n t h e d a t a b a s e .
T h i s g u i d e i s p r i m a r i l y i n t e n d e d f o r d a t a b a s e a d m i n i s t r a t o r s a n d S A P s y s t e m a d m i n i s t r a t o r s w h o n e e d
t o i n s t a l l a n d m a i n t a i n a n S A P s y s t e m o n t h e d a t a b a s e . A b a s i c u n d e r s t a n d i n g o f t h e f u n d a m e n t a l d a t a b a s e c o n c e p t s a n d a n e l e m e n t a r y k n o w l e d g e o f S A P s y s t e m a d m i n i s t r a t i o n i s r e q u i r e d .
F o r m o r e i n f o r m a t i o n , r e f e r t o :
h t t p : h e l p . s a p . c o m S A P N e t W e a v e r S A P N e t W e a v e r < R e l e a s e > S A P L i b r a r y E n g l i s h S A P
N e t W e a v e r L i b r a r y : F u n c t i o n - O r i e n t e d V i e w A p p l i c a t i o n S e r v e r A p p l i c a t i o n S e r v e r I n f r a s t r u c t u r e A r c h i t e c t u r e
N a m i n g C o n v e n t i o n s
I n t h i s d o c u m e n t a t i o n t h e f o l l o w i n g n a m i n g c o n v e n t i o n s a p p l y :
S A P N e t W e a v e r S y s t e m / S A P S y s t e m
S A P N e t W e a v e r s y s t e m i s r e f e r r e d t o a s S A P s y s t e m . A d d i t i o n a l l y , t h e t e r m S A P s y s t e m a l s o r e f e r s t o a n y a p p l i c a t i o n s y s t e m t h a t i s b a s e d o n S A P N e t W e a v e r , f o r e x a m p l e , a n y p r o d u c t o f t h e S A P B u s i n e s s S u i t e .
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 8/116
T h i s p a g e i s l e f t b l a n k f o r d o c u m e n t s t h a t a r e p r i n t e d o n b o t h s i d e s .
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 9/116
2 A r c h i t e c t u r e O v e r v i e w
2 A r c h i t e c t u r e O v e r v i e w
2 . 1 S A P A p p l i c a t i o n S e r v e r f o r A B A P
T h e f o l l o w i n g f i g u r e p r o v i d e s a n o v e r v i e w o f h o w t h e S A P a p p l i c a t i o n s e r v e r f o r A B A P ( A S A B A P )
c o n n e c t s t o t h e d a t a b a s e .
F i g u r e 1 : A S A B A P
A S A B A P
T h e A B A P l a n g u a g e o f f e r s t h e f o l l o w i n g o p t i o n s t o c o m m u n i c a t e w i t h t h e d a t a b a s e :
n O p e n S Q L f o r A B A P O p e n S Q L a l l o w s y o u t o a c c e s s d a t a b a s e t a b l e s d e c l a r e d i n t h e A B A P D i c t i o n a r y r e g a r d l e s s o f t h e
d a t a b a s e p l a t f o r m t h a t y o u r S A P s y s t e m i s u s i n g .
n N a t i v e S Q L
N a t i v e S Q L a l l o w s y o u t o u s e d a t a b a s e - s p e c i f i c S Q L s t a t e m e n t s i n a n A B A P p r o g r a m . T h i s m e a n s
t h a t y o u c a n u s e d a t a b a s e t a b l e s t h a t a r e n o t a d m i n i s t e r e d b y t h e A B A P D i c t i o n a r y , a n d t h e r e f o r e
i n t e g r a t e d a t a t h a t i s n o t p a r t o f t h e S A P s y s t e m .
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 10/116
2 A r c h i t e c t u r e O v e r v i e w
2 . 2 S A P A p p l i c a t i o n S e r v e r f o r J a v a
T h e A B A P p r o c e s s o r u s e s a d a t a b a s e i n t e r f a c e t o c o n n e c t t o t h e d a t a b a s e . T h e d a t a b a s e i n t e r f a c e
p r o v i d e s a d a t a b a s e p l a t f o r m a b s t r a c t i o n l a y e r a n d t r a n s l a t e s a l l O p e n S Q L s t a t e m e n t s f r o m t h e A B A P
p r o c e s s o r i n t o n a t i v e d a t a b a s e - s p e c i f i c S Q L s t a t e m e n t s . T h e d a t a b a s e i n t e r f a c e a l s o p e r f o r m s t h e d a t a b a s e p l a t f o r m - s p e c i f i c m a p p i n g b e t w e e n A B A P d a t a
t y p e s a n d d a t a b a s e d a t a t y p e s . E a c h d a t a b a s e p l a t f o r m p r o v i d e s a p l a t f o r m - s p e c i f i c d a t a b a s e i n t e r f a c e
l i b r a r y ( D B S L ) . T h e D B S L i s p a r t o f t h e S A P k e r n e l a n d i s d e v e l o p e d i n C .
T h e D B S L s h a r e d l i b r a r y f o r S y b a s e A S E ( d b s y b s l i b . * ) u s e s t h e S y b a s e A S E O D B C d r i v e r t o
c o m m u n i c a t e w i t h t h e d a t a b a s e m a n a g e m e n t s y s t e m ( D B M S ) . T o u s e t h e O D B C d r i v e r , t h e D B S L
s h a r e d l i b r a r y d y n a m i c a l l y l o a d s t h e S y b a s e A S E O D B C l i b r a r i e s w h i l e b y p a s s i n g t h e d r i v e r m a n a g e r .
2 . 2 S A P A p p l i c a t i o n S e r v e r f o r J a v a
T h e f o l l o w i n g f i g u r e p r o v i d e s a n o v e r v i e w o f h o w t h e S A P a p p l i c a t i o n s e r v e r f o r J a v a ( A S J a v a )
c o n n e c t s t o t h e d a t a b a s e .
F i g u r e 2 : A S J a v a
A S J a v a
J a v a p r o g r a m s t h a t r u n i n s i d e t h e A p p l i c a t i o n S e r v e r f o r J a v a c a n u s e v a r i o u s s t a n d a r d i z e d A P I s t o
a c c e s s t h e d a t a b a s e ‒ f o r e x a m p l e , J D O , S Q L J , o r J P A .
T h e d a t a b a s e i n t e r f a c e p r o v i d e s J a v a a p p l i c a t i o n s w i t h t h e f o l l o w i n g o p t i o n s t o c o m m u n i c a t e w i t h
t h e d a t a b a s e :
n O p e n S Q L f o r J a v a ( S A P ’ s d a t a b a s e - i n d e p e n d e n t S Q L d i a l e c t )
n N a t i v e S Q L ( d a t a b a s e - d e p e n d e n t )
1 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 11/116
2 A r c h i t e c t u r e O v e r v i e w
2 . 3 S y b a s e A S E C o m p o n e n t s
T h e A p p l i c a t i o n S e r v e r f o r J a v a u s e s v a r i o u s s e r v i c e s t h a t a s s i s t i n t h e c o m m u n i c a t i o n w i t h t h e D B M S ,
f o r e x a m p l e , t h e D B P o o l s e r v i c e . D B P o o l i s a J a v a - b a s e d d a t a b a s e c o n n e c t i o n p o o l i n g u t i l i t y , w h i c h
s u p p o r t s c o n n e c t i o n v a l i d a t i o n , t i m e - b a s e d e x p i r y , a n d e a s y c o n f i g u r a t i o n . A l l c o m m u n i c a t i o n w i t h t h e D B M S i s d o n e u s i n g t h e S y b a s e A S E j C o n n e c t J D B C d r i v e r - a p u r e J a v a
T y p e 4 J D B C d r i v e r t h a t i s b a s e d o n t h e T D S ( T a b u l a r D a t a S t r e a m ) p r o t o c o l a n d u s e s T C P / I P a s
i t s n e t w o r k p r o t o c o l .
2 . 3 S y b a s e A S E C o m p o n e n t s
W i t h r e g a r d t o S y b a s e A S E i t s e l f , w e c a n d i s t i n g u i s h t h e f o l l o w i n g c o m p o n e n t s :
n T h e S y b a s e A S E s e r v e r s o f t w a r e Y o u c a n h a v e m u l t i p l e S y b a s e A S E i n s t a l l a t i o n s o n o n e h o s t .
n T h e A S E s e r v e r w h i c h c o n t a i n s s e v e r a l s y s t e m d a t a b a s e s a n d z e r o o r m o r e u s e r d a t a b a s e s
n T h e A S E b a c k u p s e r v e r
n T h e u s e r d a t a b a s e i t s e l f , w h i c h c o n t a i n s t h e d a t a a n d i s m a n a g e d b y t h e D B M S
N o t e
I n a n S A P s y s t e m i n s t a l l a t i o n , t h e r e i s o n e S A P u s e r d a t a b a s e t h a t h o l d s t h e S A P d a t a .
2 . 4 S y b a s e A S E D a t a A c c e s s
T o c o n n e c t t o t h e d a t a b a s e , a n S A P a p p l i c a t i o n s e r v e r r e q u i r e s t h e f o l l o w i n g c o m p o n e n t s :
n T h e O D B C l i b r a r i e s f o r t h e A B A P s t a c k
n T h e J D B C d r i v e r f o r t h e J a v a s t a c k
n T h e d a t a b a s e n a m e a n d c o n n e c t i o n p o r t f o r t h e p r i m a r y d a t a b a s e
T h e s e c o m p o n e n t s t o g e t h e r e n a b l e t h e c l i e n t c o n n e c t i v i t y o r d a t a a c c e s s .
T h e O D B C d r i v e r a n d t h e J D B C d r i v e r f i l e s a r e l o c a t e d i n a s h a r e d d i r e c t o r y . E a c h S A P a p p l i c a t i o n
s e r v e r c a n u s e t h e d r i v e r f i l e s d i r e c t l y f r o m t h i s d i r e c t o r y o r c o p y t h e m t o a l o c a l d i r e c t o r y o n t h e
a p p l i c a t i o n s e r v e r d u r i n g s t a r t u p . T h i s s e t u p s i m p l i f i e s s o f t w a r e m a i n t e n a n c e b e c a u s e y o u o n l y n e e d
t o k e e p t h e d r i v e r f i l e s i n t h e s h a r e d d i r e c t o r y .
F o r t h e A B A P s t a c k , t h e c o n n e c t i o n i n f o r m a t i o n f o r t h e S A P s y s t e m i s s t o r e d i n t h e S A P s y s t e m
e n v i r o n m e n t a n d p r o f i l e p a r a m e t e r s . T h e O D B C D r i v e r M a n a g e r i s n o t u s e d . F o r t h e J a v a s t a c k
t h e c o n n e c t i o n i n f o r m a t i o n f o r t h e S A P s y s t e m i s s t o r e d i n t h e c o n n e c t i o n U R L , w h i c h i n t u r n i s
s t o r e d i n t h e J a v a S e c u r e S t o r e .
T h e f o l l o w i n g f i g u r e s h o w s t h e d i r e c t o r y s t r u c t u r e o f t h e S y b a s e A S E c l i e n t c o n n e c t i v i t y i n a n e w l y
i n s t a l l e d A B A P a n d J a v a s y s t e m o n a U N I X o p e r a t i n g s y s t e m :
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 12/116
2 A r c h i t e c t u r e O v e r v i e w
2 . 4 S y b a s e A S E D a t a A c c e s s
F i g u r e 3 :
D i r e c t o r y S t r u c t u r e o f t h e D a t a b a s e C l i e n t f o r a n A B A P a n d J a v a s y s t e m
T h e S y b a s e A S E d r i v e r f i l e s a r e l o c a t e d i n t h e d i r e c t o r y / u s r / s a p / < S A P S I D > / S Y S / g l o b a l / s y b / < o d
p l a t f o r m > / s y b [ o d b c | j d b c ] .
D u r i n g s t a r t u p o f t h e a p p l i c a t i o n s e r v e r , t h e S y b a s e A S E d r i v e r f i l e s a r e c o p i e d b y t h e u t i l i t y s a p c p e
t o a l o c a l d i r e c t o r y o n t h e a p p l i c a t i o n s e r v e r , f o r e x a m p l e , / u s r / s a p / < S A P S I D > / < I n s t a n c e N a m e > / e x e .
T h i s t a k e s p l a c e d u r i n g s t a r t u p o f t h e a p p l i c a t i o n s e r v e r . T h e c a l l c a n b e f o u n d i n t h e S A P i n s t a n c e
p r o f i l e .
W i t h t h i s c o p y m e c h a n i s m , y o u c a n m a i n t a i n a n d e x c h a n g e t h e S y b a s e A S E d r i v e r f i l e s i n t h e s h a r e d
d i r e c t o r y w h i l e t h e a p p l i c a t i o n s e r v e r s a r e r u n n i n g . T h e S A P a p p l i c a t i o n s e r v e r s a u t o m a t i c a l l y
u s e t h e n e w d r i v e r f i l e s a f t e r t h e n e x t r e s t a r t .
D u r i n g t h e i n s t a l l a t i o n o f t h e d a t a b a s e i n s t a n c e , t h e c u r r e n t S A P i n s t a l l a t i o n t o o l a u t o m a t i c a l l y
i n s t a l l s t h e S y b a s e A S E d r i v e r f o r t h e o p e r a t i n g s y s t e m o f t h e d a t a b a s e s e r v e r . I f y o u i n s t a l l a n e w
a p p l i c a t i o n s e r v e r , t h e S y b a s e A S E d r i v e r f o r t h i s o p e r a t i n g s y s t e m i s a l s o a u t o m a t i c a l l y a d d e d b y
S A P i n s t i f i t i s n o t a l r e a d y a v a i l a b l e i n t h e g l o b a l d i r e c t o r y . T h e m a i n r e l e a s e l e v e l o f t h e S y b a s e A S E d r i v e r m u s t b e h i g h e r t h a n o r e q u a l t o t h e o n e o f t h e
s o f t w a r e r e l e a s e l e v e l s o f t h e d a t a b a s e s e r v e r .
T h e D B S L s h a r e d l i b r a r y l o o k s f o r t h e S y b a s e A S E O D B C d r i v e r a s s p e c i f i e d b y t h e e n v i r o n m e n t
s e t t i n g s f o r t h e o p e r a t i n g s y s t e m l i b r a r y p a t h .
1 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 13/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
S A P o n S y b a s e A S E u s e s t h e u s e r m a n a g e m e n t a n d a u t h e n t i c a t i o n m e c h a n i s m s p r o v i d e d w i t h t h e S A P
N e t W e a v e r A p p l i c a t i o n S e r v e r p l a t f o r m . T h e r e f o r e , t h e s e c u r i t y r e c o m m e n d a t i o n s a n d g u i d e l i n e s f o r
u s e r a d m i n i s t r a t i o n a n d a u t h e n t i c a t i o n a l s o a p p l y t o S A P o n S y b a s e A S E :
n A B A P :
h t t p : h e l p . s a p . c o m S A P N e t W e a v e r S A P N e t W e a v e r < R e l e a s e > A p p l i c a t i o n H e l p S A P
L i b r a r y E n g l i s h S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e s f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s S e c u r i t y G u i d e s f o r t h e A S A B A P .
n J a v a :
h t t p : h e l p . s a p . c o m S A P N e t W e a v e r S A P N e t W e a v e r < R e l e a s e > A p p l i c a t i o n H e l p S A P
L i b r a r y E n g l i s h S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e s f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s
S e c u r i t y G u i d e s f o r t h e A S J a v a .
I n a d d i t i o n t o t h e s e g u i d e l i n e s , w e i n c l u d e i n f o r m a t i o n a b o u t u s e r a d m i n i s t r a t i o n a n d a u t h e n t i c a t i o n
t h a t s p e c i f i c a l l y a p p l i e s t o S A P o n S y b a s e A S E .
Y o u n e e d t o e n s u r e t h e s e c u r i t y o f t h e u s e r s t h a t S A P i n s t c r e a t e d d u r i n g i n s t a l l a t i o n . T h e t a b l e
b e l o w l i s t s t h e s e u s e r s : n O p e r a t i n g s y s t e m u s e r s
n D a t a b a s e l o g i n s
n S A P s y s t e m u s e r s
S A P i n s t w i l l , b y d e f a u l t , h a v e a s s i g n e d t h e m a s t e r p a s s w o r d t o a l l u s e r s t h a t w e r e c r e a t e d , u n l e s s
y o u s p e c i f i e d o t h e r p a s s w o r d s .
I f y o u c h a n g e u s e r p a s s w o r d s , b e a w a r e t h a t S A P s y s t e m u s e r s m i g h t e x i s t i n m u l t i p l e S A P s y s t e m
c l i e n t s ( f o r e x a m p l e , i f a u s e r w a s c o p i e d a s p a r t o f t h e c l i e n t c o p y ) . T h e r e f o r e , y o u n e e d t o c h a n g e t h e
p a s s w o r d s i n a l l t h e r e l e v a n t S A P s y t e m c l i e n t s .
S A P i n s t h a s a p p l i e d t h e m a s t e r p a s s w o r d t o u s e r s S A P * a n d D D I C o n l y f o r S A P s y s t e m c l i e n t s 0 0 0 a n d 0 0 1 , n o t t o u s e r s S A P * , D D I C , a n d E A R L Y W A T C H i n c l i e n t 0 6 6 .
I n s t e a d , S A P i n s t a l w a y s a s s i g n s t h e f o l l o w i n g p a s s w o r d s t o t h e s e u s e r s i n c l i e n t 0 6 6 :
S A P * : 0 6 0 7 1 9 9 2
E A R L Y W A T C H : s u p p o r t
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 14/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 1 O p e r a t i n g S y s t e m U s e r s
3 . 1 O p e r a t i n g S y s t e m U s e r s
D u r i n g t h e i n s t a l l a t i o n , S A P i n s t c h e c k s a l l r e q u i r e d a c c o u n t s ( u s e r s , g r o u p s ) a n d s e r v i c e s o n t h e l o c a l m a c h i n e . S A P i n s t c h e c k s w h e t h e r t h e r e q u i r e d u s e r s a n d g r o u p s a l r e a d y e x i s t . I f n o t , S A P i n s t c r e a t e s
t h e f o l l o w i n g n e w u s e r s a n d g r o u p s :
U s e r : P r i m a r y G r o u p :
U N I X s u p e r u s e r r o o t N o p r i m a r y g r o u p a s s i g n e d b y S A P i n s t ( g r o u p s a p i n s t i s a s s i g n e d a s s e c o n d a r y g r o u p ) .
S A P S e r v i c e < S A P S I D > T h i s u s e r i s t h e W i n d o w s a c c o u n t t h a t i s u s e d t o r u n t h e S A P s y s t e m a n d i s n o t a m e m b e r o f t h e l o c a l A d m i n i s t r a t o r s g r o u p .
S A P s y s t e m a d m i n i s t r a t o r < s a p s i d > a d m s a p s y s ( s a p i n s t a s s e c o n d a r y g r o u p ) D i a g n o s t i c s a g e n t a d m i n i s t r a t o r < d a s i d > a d m s a p s y s ( s a p i n s t a s s e c o n d a r y g r o u p )
H o s t a g e n t a d m i n i s t r a t o r s a p a d m s a p s y s ( s a p i n s t a s s e c o n d a r y g r o u p )
s y b < d b s i d > s a p s y s ( s a p i n s t a s s e c o n d a r y g r o u p )
U s e r s a n d G r o u p s o f t h e H o s t a g e n t :
U s e r : P r i m a r y G r o u p : A d d i t i o n a l G r o u p : C o m m e n t :
s a p a d m s a p s y s s a p i n s t H o s t A g e n t a d m i n i s t r a t o r
N o t e
W e r e c o m m e n d c h a n g i n g t h e u s e r I D s a n d p a s s w o r d s f o r u s e r s t h a t a r e a u t o m a t i c a l l y c r e a t e d d u r i n g
i n s t a l l a t i o n .
T h e t a b l e b e l o w s h o w s t h e t o o l s t o u s e f o r u s e r m a n a g e m e n t a n d u s e r a d m i n i s t r a t i o n :
T o o l : D e t a i l e d D e s c r i p t i o n :
T r a n s a c t i o n s S U 0 1 , P F C G ( u s e r a n d r o l e m a i n t e n a n c e w i t h S A P N e t W e a v e r A S A B A P )
F o r m o r e i n f o r m a t i o n , s e e h t t p : h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e >
A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P
N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s S e c u i r t y G u i d e s f o r t h e A S A B A P S A P N e t W e a v e r A p p l i c a t i o n S e r v e r A B A P S e c u i r t y G u i d e U s e r A u t h e n t i c a t i o n .
U s e r M a n a g e m e n t E n g i n e w i t h S A P N e t W e a v e r A S J a v a
F o r m o r e i n f o r m a t i o n , s e e h t t p : h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e >
A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s S e c u i r t y G u i d e s f o r t h e A S J a v a S A P N e t W e a v e r A p p l i c a t i o n S e r v e r J a v a S e c u i r t y G u i d e U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n .
1 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 15/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 2 D a t a b a s e L o g i n s
3 . 2 D a t a b a s e L o g i n s
D u r i n g i n s t a l l a t i o n , S A P i n s t c r e a t e s t h e f o l l o w i n g d a t a b a s e u s e r s :
L o g i n : R o l e s : C o m m e n t :
s a p s a s a _ r o l e , s a p _ a d m , s y b a s e _ t s _ r o l e D a t a b a s e A d m i n i s t r a t o r
s a p s s o s s o _ r o l e D a t a b a s e S e c u r i t y O f f i c e r
S A P S R 3 s a p _ m o n A B A P c o n n e c t / d a t a b a s e l o g i n
S A P S R 3 D B s a p _ m o n J a v a c o n n e c t / d a t a b a s e l o g i n
N o t e
F o r s e c u r i t y r e a s o n s , t h e A d a p t i v e S e r v e r d e f a u l t l o g i n s a i s l o c k e d b y S A P i n s t a f t e r i n s t a l l a t i o n h a s b e e n c o m p l e t e d .
P r o c e e d a s d e s c r i b e d i n S A P N o t e 1 7 0 6 4 1 0 t o c h a n g e t h e p a s s w o r d s f o r u s e r s S A P S R 3 , S A P S R 3 D B ,
s a p s a , s a p s s o , a n d s a o n t h e d a t a b a s e s e r v e r .
3 . 3 S A P S y s t e m U s e r s
A f t e r i n s t a l l a t i o n , A B A P a n d J a v a s y s t e m u s e r s a r e a v a i l a b l e . T h e f o l l o w i n g t a b l e s h o w s t h e s e u s e r s ,
t o g e t h e r w i t h r e c o m m e n d a t i o n s o n h o w y o u c a n e n s u r e t h e s e c u r i t y o f t h e s e u s e r s :
U s e r : U s e r N a m e : C o m m e n t :
S A P * T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 , 0 0 1 , a n d 0 6 6 o f t h e A B A P s y s t e m . W e r e c o m m e n d t h a t y o u u s e s t r o n g p a s s w o r d a n d a u d i t i n g p o l i c i e s f o r t h i s u s e r .
D D I C T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 , 0 0 1 , a n d 0 6 6 o f t h e A B A P
s y s t e m . W e r e c o m m e n d t h a t y o u u s e s t r o n g p a s s w o r d a n d a u d i t i n g p o l i c i e s f o r t h i s u s e r .
E A R L Y W A T C H T h i s u s e r e x i s t s i n a t l e a s t c l i e n t 0 6 6 o f t h e A B A P s y s t e m .
S A P s y s t e m u s e r
S A P C P I C T h i s u s e r e x i s t s i n a t l e a s t c l i e n t 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m .
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 16/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 3 S A P S y s t e m U s e r s
U s e r : U s e r N a m e : C o m m e n t :
A d m i n i s t r a t o r T h e n a m e t h a t y o u g a v e t h i s u s e r d u r i n g i n s t a l l a t i o n o r t h e d e f a u l t n a m e J 2 E E _ A D M I N
T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e ( U M E ) o f t h e J a v a s y s t e m . I t h a s a d m i n i s t r a t i v e p e r m i s s i o n s f o r u s e r m a n a g e m e n t . W e r e c o m m e n d t h a t y o u u s e s t r o n g p a s s w o r d a n d a u d i t i n g p o l i c i e s f o r t h i s u s e r .
G u e s t T h e n a m e t h a t y o u g a v e t h i s u s e r d u r i n g i n s t a l l a t i o n o r t h e d e f a u l t n a m e J 2 E E _ G U E S T
T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e
( U M E ) o f t h e J a v a s y s t e m . I t i s u s e d f o r a n o n y m o u s a c c e s s .
C o m m u n i c a t i o n u s e r f o r t h e J 2 E E e n g i n e
T h e n a m e t h a t y o u g a v e t h i s u s e r d u r i n g i n s t a l l a t i o n o r t h e d e f a u l t n a m e S A P J S F
T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e ( U M E ) o f t h e J a v a s y s t e m . I t i s u s e d f o r r e m o t e f u n c t i o n c a l l s ( R F C ) b e t w e e n t h e A B A P s y s t e m a n d t h e
J a v a
S D M S D M T h i s u s e r i s u s e d t o a c c e s s t h e S o f t w a r e D e p l o y m e n t M a n a g e r ( S D M ) i n t h e J a v a s y s t e m .
U s e r f o r A d o b e D o c u m e n t S e r v i c e s ( A D S )
A D S U s e r T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e ( U M E ) o f t h e J a v a s y s t e m . I t i s u s e d f o r b a s i c a u t h e n t i c a t i o n .
A D S _ A G E N T T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e ( U M E ) o f t h e J a v a s y s t e m . I t i s u s e d f o r p r o c e s s i n g f o r m s b e t w e e n a n A B A P a n d a J a v a e n v i r o n m e n t .
D a t a s u p p l i e r u s e r f o r S y s t e m L a n d s c a p e D i r e c t o r y ( S L D ) ( o p t i o n a l )
T h e n a m e t h a t y o u g a v e t h i s u s e r d u r i n g i n s t a l l a t i o n . T h e r e c o m m e n d e d n a m e i s S L D D S U S E R .
T h i s u s e r e x i s t s i n a t l e a s t c l i e n t s 0 0 0 a n d 0 0 1 o f t h e A B A P s y s t e m a n d i n t h e U s e r M a n a g e m e n t E n g i n e ( U M E ) o f t h e J a v a s y s t e m .
N o t e
S A P i n s t c r e a t e d t h i s u s e r a u t o m a t i c a l l y i f y o u c h o s e C o n f i g u r e l o c a l S L D d u r i n g t h e i n s t a l l a t i o n .
1 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 17/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 4 N e t w o r k a n d C o m m u n i c a t i o n S e c u r i t y
N o t e
W e r e c o m m e n d c h a n g i n g t h e u s e r I D s a n d p a s s w o r d s f o r u s e r s t h a t a r e a u t o m a t i c a l l y c r e a t e d d u r i n g
i n s t a l l a t i o n .
T h e t a b l e b e l o w s h o w s t h e t o o l s t o u s e f o r u s e r m a n a g e m e n t a n d u s e r a d m i n i s t r a t i o n :
T o o l : D e t a i l e d D e s c r i p t i o n :
T r a n s a c t i o n s S U 0 1 , P F C G ( u s e r a n d r o l e m a i n t e n a n c e w i t h S A P N e t W e a v e r A S A B A P )
F o r m o r e i n f o r m a t i o n , s e e h t t p : h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e >
A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s S e c u i r t y G u i d e s f o r t h e A S A B A P S A P N e t W e a v e r A p p l i c a t i o n S e r v e r A B A P S e c u i r t y G u i d e U s e r A u t h e n t i c a t i o n .
U s e r M a n a g e m e n t E n g i n e w i t h S A P N e t W e a v e r A S J a v a
F o r m o r e i n f o r m a t i o n , s e e h t t p : h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e >
A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e f o r S A P N e t W e a v e r F u n c t i o n a l U n i t s S e c u i r t y G u i d e s f o r t h e A S J a v a S A P N e t W e a v e r A p p l i c a t i o n S e r v e r J a v a S e c u r i t y G u i d e U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n .
3 . 4 N e t w o r k a n d C o m m u n i c a t i o n S e c u r i t y
Y o u r n e t w o r k i n f r a s t r u c t u r e i s e x t r e m e l y i m p o r t a n t i n p r o t e c t i n g y o u r s y s t e m . Y o u r n e t w o r k n e e d s
t o s u p p o r t t h e c o m m u n i c a t i o n n e c e s s a r y f o r y o u r b u s i n e s s n e e d s , w i t h o u t a l l o w i n g u n a u t h o r i z e d
a c c e s s . A w e l l - d e f i n e d n e t w o r k t o p o l o g y c a n e l i m i n a t e m a n y s e c u r i t y t h r e a t s b a s e d o n s o f t w a r e f l a w s
( a t b o t h t h e o p e r a t i n g s y s t e m l e v e l a n d a p p l i c a t i o n l e v e l ) o r n e t w o r k a t t a c k s s u c h a s e a v e s d r o p p i n g . I f
u s e r s c a n n o t l o g o n t o y o u r a p p l i c a t i o n o r d a t a b a s e s e r v e r s a t t h e o p e r a t i n g s y s t e m o r d a t a b a s e l a y e r ,
t h e r e i s n o w a y t h a t i n t r u d e r s c a n c o m p r o m i s e t h e m a c h i n e s a n d g a i n a c c e s s t o t h e b a c k e n d s y s t e m ’ s
d a t a b a s e o r f i l e s . A d d i t i o n a l l y , i f u s e r s a r e n o t a b l e t o c o n n e c t t o t h e s e r v e r L A N ( l o c a l a r e a n e t w o r k ) ,
t h e y c a n n o t e x p l o i t w e l l - k n o w n b u g s a n d s e c u r i t y h o l e s i n n e t w o r k s e r v i c e s o n t h e s e r v e r m a c h i n e s .
T h e n e t w o r k t o p o l o g y f o r S A P o n S y b a s e A S E i s b a s e d o n t h e t o p o l o g y u s e d b y t h e S A P N e t W e a v e r
p l a t f o r m . T h e r e f o r e , t h e s e c u r i t y g u i d e l i n e s a n d r e c o m m e n d a t i o n s d e s c r i b e d i n t h e S A P N e t W e a v e r S e c u r i t y G u i d e a l s o a p p l y .
U s e r I D a n d p a s s w o r d a r e e n c o d e d o n l y w h e n t r a n s p o r t e d a c r o s s t h e n e t w o r k . T h e r e f o r e , w e
r e c o m m e n d u s i n g e n c r y p t i o n a t t h e n e t w o r k l a y e r , e i t h e r b y u s i n g t h e S e c u r e S o c k e t s L a y e r ( S S L )
p r o t c o l f o r H T T P c o n n e c t i o n s o r S e c u r e N e t w o r k C o m m u n i c a t i o n s ( S N C ) f o r t h e S A P p r o t o c o l s
d i a l o g a n d R F C .
F o r m o r e i n f o r m a t i o n , s e e :
n N e t w o r k a n d T r a n s p o r t L a y e r S e c u r i t y
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 18/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 5 F i l e S y s t e m P e r m i s s i o n s
h t t p : h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e > A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P
N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e N e t w o r k a n d C o m m u n i c a t i o n S e c u r i t y
n S e c u r i t y G u i d e s f o r C o n n e c t i v i t y a n d I n t e r o p e r a b i l i t y T e c h n o l o g i e s h t t p : / / h e l p . s a p . c o m S A P N e t W e a v e r < R e l e a s e > A p p l i c a t i o n H e l p S A P L i b r a r y E n g l i s h S A P
N e t W e a v e r S A P N e t W e a v e r S e c u r i t y G u i d e S e c u r i t y G u i d e s f o r C o n n e c t i v i t y a n d I n t e r o p e r a b i l i t y T e c h n o l o g i e s
3 . 5 F i l e S y s t e m P e r m i s s i o n s
T h e f i l e s y s t e m s a n d l o g i c a l v o l u m e s m u s t h a v e t h e p e r m i s s i o n s a n d o w n e r s s h o w n i n t h e f o l l o w i n g
t a b l e . S A P i n s t s e t s t h e r e q u i r e d p e r m i s s i o n s a n d o w n e r s .
N o t e
Y o u c a n c r e a t e t h e o w n e r s a n d g r o u p s m a n u a l l y i f t h e y d o n o t e x i s t . O t h e r w i s e , S A P i n s t c r e a t e s
t h e m a u t o m a t i c a l l y .
F i l e S y s t e m P e r m i s s i o n s ‒ U N I X
F i l e S y s t e m / L o g i c a l V o l u m e :
P e r m i s s i o n s : O w n e r : G r o u p :
/ s y b a s e / < D B S I D > 7 5 0 s y b < d b s i d > s a p s y s
/ s y b a s e / < D B S I D > / s y b s y s t e m
7 5 0 s y b < d b s i d > s a p s y s
/ s y b a s e / < D B S I D > / s y b t e m p
7 5 0 s y b < d b s i d > s a p s y s
/ s y b a s e / < D B S I D > / s a p d i a g
7 5 0 s y b < d b s i d > s a p s y s
/ s y b a s e / < D B S I D > / s a p d a t a _ < n >
7 5 0 s y b < d b s i d > s a p s y s
/ s y b a s e / < D B S I D > / s a p l o g _ < n >
7 5 0 s y b < d b s i d > s a p s y s
F i l e S y s t e m P e r m i s s i o n s ‒ W i n d o w s
F i l e S y s t e m / L o g i c a l V o l u m e : A c c e s s P r i v i l e g e F u l l C o n t r o l f o r U s e r / G r o u p
< d r i v e > : \ s y b a s e \ < D B S I D > s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
< d r i v e > : \ s y b a s e \ < D B S I D > \ s y b s y s t e m s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
< d r i v e > : \ s y b a s e \ < D B S I D > \ s y b t e m p s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
1 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 19/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 6 M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t
F i l e S y s t e m / L o g i c a l V o l u m e : A c c e s s P r i v i l e g e F u l l C o n t r o l f o r U s e r / G r o u p
< d r i v e > : \ s y b a s e \ < D B S I D > \ s a p d i a g s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
< d r i v e > : \ s y b a s e \ < D B S I D > \ s y b d a t a _ < n > s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
< d r i v e > : \ s y b a s e \ < D B S I D > \ s a p l o g _ < n > s y b < d b s i d > , A d m i n i s t r a t o r s , S Y S T E M , S A P L o c a l A d m i n
A f t e r i n s t a l l a t i o n
F o r s e c u r i t y r e a s o n s , y o u a l s o n e e d t o c o p y t h e i n s t a l l a t i o n d i r e c t o r y t o a s e p a r a t e , s e c u r e l o c a t i o n ‒
s u c h a s D V D ‒ a n d t h e n d e l e t e t h e i n s t a l l a t i o n d i r e c t o r y .
3 . 6 M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t
T h e D B A C o c k p i t p r o v i d e s a s e t o f a c t i o n s f o r m o n i t o r i n g a n d m a i n t a i n i n g t h e d a t a b a s e . T o b e a b l e
t o p e r f o r m t h e s e a c t i o n s , t h e S A P u s e r r e q u i r e s s o m e a d d i t i o n a l a u t h o r i z a t i o n s . A u s e r m u s t f i r s t
h a v e t h e g l o b a l a u t h o r i z a t i o n a n d t h e n , i n a d d i t i o n , t h e a p p r o p r i a t e s y s t e m - s p e c i f i c p e r m i s s i o n .
F o r e x a m p l e , t o a d m i n i s t r a t e a s y s t e m , t h e u s e r m u s t h a v e a u t h o r i z a t i o n S _ R Z L _ A D M a n d t h e
s y s t e m - s p e c i f i c a u t h o r i z a t i o n f o r m a i n t e n a n c e . T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t
h o w g l o b a l a n d s y s t e m - s p e c i f i c a u t h o r i z a t i o n s a r e c h e c k e d a n d w h a t y o u n e e d t o d o t o g a i n t h e
r e q u i r e d a u t h o r i z a t i o n s . T h e m a i n t e n a n c e a c t i o n s p r o v i d e d i n t h e D B A C o c k p i t s e t l o c k s t o p r e v e n t p a r a l l e l p r o c e s s i n g . A l l
c h a n g e s t o t h e d a t a b a s e a r e r e c o r d e d i n a n a u d i t l o g f i l e .
G l o b a l A u t h o r i z a t i o n C h e c k
W h e n y o u s t a r t t h e D B A C o c k p i t o r s w i t c h t o a n o t h e r s y s t e m i n t h e D B A C o c k p i t , a n a u t h o r i z a t i o n
c h e c k i s p e r f o r m e d .
Y o u c a n e n a b l e o r d i s a b l e d a t a b a s e m a i n t e n a n c e i n g e n e r a l u s i n g t h e p r o f i l e p a r a m e t e r
d b s / d b a / c c m s _ m a i n t e n a n c e . I f t h i s p r o f i l e p a r a m e t e r i s n o t s e t i n t h e i n s t a n c e p r o f i l e , t h e d e f a u l t
v a l u e 1 i s u s e d .
D e p e n d i n g o n t h e s e t t i n g f o r p r o f i l e p a r a m e t e r d b s / d b a / c c m s _ m a i n t e n a n c e , t h e f o l l o w i n g
a u t h o r i z a t i o n c h e c k s e x i s t :
n I f t h e p r o f i l e p a r a m e t e r i s s e t t o 0 , S A P u s e r s c a n n o t p e r f o r m a n y m a i n t e n a n c e a c t i o n s , r e g a r d l e s s
o f t h e i r p e r s o n a l p e r m i s s i o n s .
n I f t h e p r o f i l e p a r a m e t e r i s s e t t o 1 , S A P u s e r s c a n p e r f o r m m a i n t e n a n c e a c t i o n s , d e p e n d i n g o n
t h e i r p e r s o n a l p e r m i s s i o n f o r t h e a u t h o r i z a t i o n o b j e c t S _ R Z L _ A D M . T h e a t t r i b u t e A C T V T o f t h i s
a u t h o r i z a t i o n o b j e c t d e f i n e s w h e t h e r a u s e r m a y m a i n t a i n o r o n l y m o n i t o r o b j e c t s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 20/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 6 M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t
S y s t e m - s p e c i f i c A u t h o r i z a t i o n C h e c k
I n a d d i t i o n t o t h e p e r m i s s i o n s t h a t a r e g r a n t e d g l o b a l l y , y o u c a n r e s t r i c t a c c e s s t o s p e c i f i c s y s t e m s t h a t
w e r e c o n f i g u r e d i n t h e D B A C o c k p i t . Y o u e n a b l e o r d i s a b l e t h e s y s t e m - s p e c i f i c p e r m i s s i o n c h e c k s u s i n g t h e p r o f i l e p a r a m e t e r d b s / d b a / c c m s _ s e c u r i t y _ l e v e l .
I f t h i s p r o f i l e p a r a m e t e r i s n o t s e t i n t h e i n s t a n c e p r o f i l e , t h e d e f a u l t v a l u e 0 i s u s e d . D e p e n d i n g o n t h e
s e t t i n g f o r p r o f i l e p a r a m e t e r d b s / d b a / c c m s _ s e c u r i t y _ l e v e l , t h e f o l l o w i n g a u t h o r i z a t i o n c h e c k s a r e
p e r f o r m e d w h e n y o u s e l e c t a s y s t e m i n t h e D B A C o c k p i t :
n I f p a r a m e t e r d b s / d b a / c c m s _ s e c u r i t y _ l e v e l i s s e t t o 0 , n o a d d i t i o n a l s y s t e m - s p e c i f i c c h e c k i s
p e r f o r m e d .
n I f p a r a m e t e r d b s / d b a / c c m s _ s e c u r i t y _ l e v e l i s s e t t o 1 , S A P s y s t e m u s e r s c a n p e r f o r m a c t i o n s ,
d e p e n d i n g o n t h e i r p e r s o n a l p e r m i s s i o n f o r t h e a u t h o r i z a t i o n o b j e c t S _ D B C O N .
T h e a t t r i b u t e s D B A _ D B H O S T , D B A _ D B S I D , a n d D B A _ D B U S E R m u s t m a t c h t h e c o r r e s p o n d i n g a t t r i b u t e s f o r t h e d a t a b a s e c o n n e c t i o n t h a t w a s a s s i g n e d t o t h e s e l e c t e d s y s t e m . T h e s p e c i a l v a l u e < L O C A L
S y s t e m > f o r t h e a t t r i b u t e D B A _ D B S I D i s u s e d t o i d e n t i f y t h e l o c a l s y s t e m i t s e l f .
T h e a t t r i b u t e A C T V T o f t h i s S _ D B C O N a u t h o r i z a t i o n o b j e c t d e f i n e s t h e l e v e l o f p e r m i t t e d a c t i o n s
a n d c a n h a v e t h e f o l l o w i n g v a l u e s :
V a l u e D e s c r i p t i o n
0 3 D i s p l a y E n a b l e s r e a d a c c e s s t o a l l s c r e e n s o f t h e D B A C o c k p i t e x c e p t t h o s e t h a t o n l y h a v e m a i n t e n a n c e m o d e a n d n o r e a d - o n l y m o d e .
2 3 M a i n t a i n E n a b l e s r e a d a n d m a i n t e n a n c e a c c e s s t o a l l s c r e e n s o f t h e D B A C o c k p i t , e x c e p t t h o s e t h a t r e q u i r e e x t e n d e d m a i n t e n a n c e p e r m i s s i o n s .
3 6 E x t e n d e d m a i n t e n a n c e E n a b l e s r e a d a n d m a i n t e n a n c e a c c e s s t o a l l s c r e e n s o f t h e D B A C o c k p i t , i n c l u d i n g s p e c i a l m a i n t e n a n c e s c r e e n s .
N o t e
T h e o n l y s c r e e n f o r w h i c h e x t e n d e d m a i n t e n a n c e p e r m i s s i o n i s r e q u i r e d i s t h e S Q L C o m m a n d L i n e s c r e e n t h a t y o u c a n a c c e s s i n t h e F a v o r i t e s l i s t o f t h e D B A C o c k p i t .
Y o u c a n g r a n t a u t h o r i z a t i o n s f o r u s i n g t h e D B A C o c k p i t w i t h t h e f o l l o w i n g r o l e s : n S A P _ B C _ S _ D B C O N _ U S E R
R e a d - o n l y r o l e t h a t a l l o w s m o n i t o r i n g a c c e s s t o a l l s y s t e m s c o n f i g u r e d w i t h i n t h e D B A C o c k p i t .
n S A P _ B C _ S _ D B C O N _ A D M I N
A d d i t i o n a l l y g r a n t s a d m i n i s t r a t i o n r i g h t s t o t h e u s e r f o r a l l s y s t e m s . T h i s r o l e d o e s n o t i n c l u d e
t h e v a l u e E x t e n d e d M a i n t e n a n c e .
2 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 21/116
3 U s e r A d m i n i s t r a t i o n a n d A u t h e n t i c a t i o n
3 . 6 M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t
N o t e
M a k e s u r e t h a t y o u h a v e m a i n t a i n e d t h e a u t h o r i z a t i o n s f o r y o u r D B A u s e r a n d f o r a l l
b a t c h u s e r s t h a t e i t h e r r u n j o b s o f t h e D B A P l a n n i n g C a l e n d a r o r t h e S A P s t a n d a r d j o b s
S A P _ C O L L E C T O R _ F O R _ P E R F M O N I T O R a n d S A P _ C C M S _ M O N I _ B A T C H _ D P .
G r a n t i n g D a t a b a s e P e r m i s s i o n s
T o a c c e s s t h e d a t a b a s e , t h e u s e r t h a t i s u s e d f o r m o n i t o r i n g m u s t h a v e s u f f i c i e n t a u t h o r i z a t i o n s :
n I f y o u w a n t t o c o n n e c t t o r e m o t e s y s t e m s r u n n i n g o n S y b a s e A S E , y o u c a n s e l e c t a n y u s e r f o r
m o n i t o r i n g . H o w e v e r , w e r e c o m m e n d t h a t y o u u s e t h e s a p s a l o g i n w h e n a d d i n g r e m o t e s y s t e m s
b e c a u s e o n l y s a p s a h a s s u f f i c i e n t a u t h o r i z a t i o n s t o e x e c u t e a d m i n i s t r a t i v e t a s k s .
n I f y o u w a n t t o c o n n e c t t o r e m o t e s y s t e m s r u n n i n g o n a n y o t h e r d a t a b a s e p l a t f o r m , s e e t h e
a p p r o p r i a t e D B A C o c k p i t d o c u m e n t a t i o n f o r t h e p l a t f o r m . n L o c a l s y s t e m s u s e a s p e c i a l a d m i n i s t r a t i o n c o n n e c t i o n . T h i s c o n n e c t i o n i s c a l l e d + + + S Y B A D M a n d i s
a u t o m a t i c a l l y g e n e r a t e d . W h e n y o u s t a r t t h e D B A C o c k p i t a n d t h e a d m i n i s t r a t i o n c o n n e c t i o n
d o e s n o t h a v e y e t a u s e r a s s i g n e d , y o u a r e a s k e d f o r t h e p a s s w o r d o f t h e s a p s a l o g i n .
I f y o u d o n o t s u p p l y t h e c o r r e c t u s e r c r e d e n t i a l s , a s t a n d a r d c o n n e c t i o n w i t h t h e S A P c o n n e c t u s e r
i s u s e d i n s t e a d o f t h e a d m i n i s t r a t i o n c o n n e c t i o n . I n t h i s c a s e , a l l a d m i n i s t r a t i v e a c t i o n s o f t h e D B A
C o c k p i t a r e d i s a b l e d . Y o u c a n c h a n g e t h e u s e r a n d p a s s w o r d f o r t h e a d m i n i s t r a t i v e c o n n e c t i o n ,
w h i c h i s m a n d a t o r y f o r b a c k g r o u n d t a s k s t h a t r e q u i r e a d m i n i s t r a t i v e p e r m i s s i o n s .
A u d i t i n g o f M a i n t e n a n c e A c t i o n s
W h e n y o u m a k e c h a n g e s t h a t a f f e c t d a t a b a s e o b j e c t s s u c h a s A d a p t i v e S e r v e r c o n f i g u r a t i o n p a r a m e t e r s , a n a u d i t l o g i s w r i t t e n . Y o u c a n d i s p l a y t h i s a u d i t l o g i n t h e D B A C o c k p i t .
1 2 / 1 8 / 2 0 1 2 P U B L I C 2 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 22/116
T h i s p a g e i s l e f t b l a n k f o r d o c u m e n t s t h a t a r e p r i n t e d o n b o t h s i d e s .
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 23/116
4 T h e D B A C o c k p i t
4 T h e D B A C o c k p i t
T h e D B A C o c k p i t i s a p l a t f o r m - i n d e p e n d e n t t o o l t h a t y o u c a n u s e t o m o n i t o r a n d a d m i n i s t e r y o u r
d a t a b a s e . T h e a d v a n t a g e o f u s i n g t h e D B A C o c k p i t i s t h a t i t h a s b e e n s p e c i f i c a l l y d e s i g n e d f o r t h e
a d m i n i s t r a t i o n a n d m o n i t o r i n g o f d a t a b a s e s i n a n S A P s y s t e m l a n d s c a p e . T h e r e f o r e , t h e f u n c t i o n s
o f t h e D B A C o c k p i t e s p e c i a l l y s u p p o r t d a t a b a s e a d m i n i s t r a t o r s i n a d a p t i n g t h e i r d a t a b a s e s f o r t h e
w o r k l o a d o f S A P s y s t e m s . T h e D B A C o c k p i t e a s e s t h e w o r k o f d a t a b a s e a d m i n i s t r a t o r s b e c a u s e a l l
i m p o r t a n t p e r f o r m a n c e t u n i n g , m o n i t o r i n g , a n d a d m i n i s t r a t i o n t a s k s a r e a v a i l a b l e i n a s i n g l e t r a n s a c t i o n .
C e n t r a l M o n i t o r i n g o f t h e D a t a b a s e s i n a n S A P S y s t e m L a n d s c a p e
T h e D B A C o c k p i t i s p a r t o f S A P N e t W e a v e r s y s t e m s a n d i n t e g r a t e d i n t o S A P S o l u t i o n M a n a g e r . Y o u
c a n r u n t h e D B A C o c k p i t a s p a r t o f y o u r s y s t e m a d a m i n i s t r a t i o n a c t i v i t i e s i n S A P S o l u t i o n M a n a g e r .
T h e D B A C o c k p i t i s o p t i m i z e d f o r h a n d l i n g a d m i n i s t r a t i o n a n d m o n i t o r i n g t h e d a t a b a s e s o f y o u r
e n t i r e s y s t e m l a n d s c a p e f r o m a c e n t r a l s y s t e m . I n p a r t i c u l a r , y o u c a n u s e t h e D B A C o c k p i t t o h a n d l e
c o n f i g u r a t i o n o f d a t a b a s e s c e n t r a l l y . Y o u c a n a d m i n i s t e r a n d m o n i t o r r e m o t e d a t a b a s e s f r o m t h e
D B A C o c k p i t u s i n g r e m o t e d a t a b a s e c o n n e c t i o n s .
A d m i n i s t r a t i o n a n d M o n i t o r i n g F u n c t i o n s f o r S y b a s e A S E
I f y o u a d m i n i s t e r a n d m o n i t o r S y b a s e A S E d a t a b a s e s w i t h t h e D B A C o c k p i t , t h e f o l l o w i n g f u n c t i o n s
a r e a v a i l a b l e :
n P e r f o r m a n c e m o n i t o r i n g
F o r e x a m p l e , y o u c a n d i s p l a y p e r f o r m a n c e a n d w o r k l o a d s t a t i s t i c s , a n a l y z e t o p S Q L s t a t e m e n t s ,
p e r f o r m t i m e s p e n t a n a l y s i s , o r d i s p l a y s n a p s h o t s o f d a t a b a s e o b j e c t s .
n S p a c e m o n i t o r i n g a n d a d m i n i s t r a t i o n
T h e D B A C o c k p i t a l l o w s y o u t o w a t c h t h e s p a c e c o n s u m p t i o n o f y o u r d a t a b a s e . I n c l u d i n g d a t a b a s e
o b j e c t s s u c h a s t a b l e s , i n d e x e s , o r t a b l e s p a c e s . Y o u c a n a n a l y z e s p a c e a l l o c a t i o n a n d p e r f o r m
a d m i n i s t r a t i o n a c t i v i t i e s t o c h a n g e t h e s t o r a g e l a y o u t o f y o u r d a t a b a s e .
n B a c k u p a n d r e c o v e r y o v e r v i e w
Y o u g e t a n o v e r v i e w o f a l l p e r f o r m e d d a t a b a s e b a c k u p s a n d r e c o v e r i e s . I n a d d i t i o n , y o u c a n d i s p l a y
i n f o r m a t i o n a b o u t a r c h i v e d l o g f i l e s a n d a b o u t l o g g i n g p a r a m e t e r s .
n D a t a b a s e c o n f i g u r a t i o n
I n t h i s a r e a , y o u g e t a n o v e r v i e w o f y o u r d a t a b a s e c o n f i g u r a t i o n . Y o u c a n c h a n g e t h e d a t a b a s e
c o n f i g u r a t i o n o r t h e d a t a c o l l e c t i o n f r a m e w o r k .
n J o b S c h e d u l i n g
1 2 / 1 8 / 2 0 1 2 P U B L I C 2 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 24/116
4 T h e D B A C o c k p i t
D i r e c t a c c e s s t o t h e D B A P l a n i n g C a l e n d a r , t h e D B A l o g , s c h e d u l e d t a s k s , a n d o t h e r t o o l s a l l o w
y o u t o p l a n a n d k e e p t r a c k o f a l l i m p o r t a n t j o b s f o r t h e d a t a b a s e s .
n A l e r t M o n i t o r i n g Y o u c a n v i e w a l e r t s i n t h e a l e r t m o n i t o r a n d e n a b l e n o t i f i c a t i o n s f o r v i o l a t i o n s o f d a t a b a s e a l e r t
t h r e s h o l d s .
n D i a g n o s t i c s
V a r i o u s d i a g n o s t i c f u n c t i o n s a l l o w y o u t o i d e n t i f y c r i t i c a l s i t u a t i o n s i n y o u r d a t a b a s e , s u c h a s
l o c k - w a i t e v e n t s o r m i s s i n g t a b l e s a n d i n d e x e s .
T h e D B A C o c k p i t a l l o w s y o u t o :
n N a v i g a t e b e t w e e n d i f f e r e n t a c t i o n s
n C h a n g e t o a n o t h e r a c t i o n w i t h o u t c l o s i n g t h e p r e v i o u s a c t i o n a n d s t i l l h o l d a l l d a t a r e t r i e v e d b y
t h i s a c t i o n n H a n d l e c e n t r a l c o n f i g u r a t i o n
n M o n i t o r r e m o t e s y s t e m s u s i n g r e m o t e d a t a b a s e c o n n e c t i o n s
T o u s e t h e f u n c t i o n s o f f e r e d f o r r e m o t e m o n i t o r i n g , y o u m u s t c o n f i g u r e t h e s y s t e m y o u w a n t t o
m o n i t o r . T h e l o c a l s y s t e m i s c o n f i g u r e d a u t o m a t i c a l l y w h e n y o u s t a r t t h e D B A C o c k p i t f o r t h e
f i r s t t i m e .
A f t e r h a v i n g c o n f i g u r e d t h e c o n n e c t i o n a n d d e p e n d i n g o n t h e d a t a b a s e , m o r e a c t i o n s a r e r e q u i r e d
t o c o n f i g u r e t h e d a t a b a s e m o n i t o r a n d t o s e t u p d a t a b a s e a d m i n i s t r a t i o n .
T h e D B A C o c k p i t o n a L o c a l S y s t e m a n d o n S A P S o l u t i o n M a n a g e r
T h e D B A C o c k p i t i s p a r t o f e v e r y S A P N e t W e a v e r - b a s e d s y s t e m . Y o u c a n r u n t h e D B A C o c k p i t l o c a l l y
o n a n S A P N e t W e a v e r - b a s e d s y s t e m b y c a l l i n g t h e D B A C O C K P I T t r a n s a c t i o n . A l t e r n a t i v e l y , y o u c a n r u n
t h e D B A C o c k p i t o n y o u r S A P S o l u t i o n M a n a g e r s y s t e m , w h e r e y o u c a n a c c e s s a l l d a t a b a s e s i n y o u r
s y s t e m l a n d s c a p e u s i n g r e m o t e c o n n e c t i o n s . I f y o u u s e t h e D B A C o c k p i t a s p a r t o f t h e S A P S o l u t i o n
M a n a g e r s y s t e m , t h i s a l l o w s y o u t o u p d a t e a n d a d m i n i s t r a t e a l l d a t a b a s e s f r o m a c e n t r a l s y s t e m r a t h e r
t h a n l o g g i n g o n t o e a c h i n d i v i d u a l s y s t e m s e p a r a t e l y .
2 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 25/116
4 T h e D B A C o c k p i t
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
F i g u r e 4 : D B A C o c k p i t o n a n S A P S o l u t i o n M a n a g e r S y s t e m
S A P S o l u t i o n M a n a g e r i s a n S A P t o o l s e t i n y o u r s y s t e m l a n d s c a p e t o m o n i t o r t h e f u l l s t a c k o f a n S A P
s y s t e m : f r o m t h e o p e r a t i n g s y s t e m u p t o t h e b u s i n e s s p r o c e s s . S A P S o l u t i o n M a n a g e r i s t y p i c a l l y
i n s t a l l e d o n a s e p a r a t e s y s t e m , w h e r e i t p r o v i d e s c e n t r a l a c c e s s t o t o o l s , m e t h o d s , a n d p r e c o n f i g u r e d
c o n t e n t s t h a t y o u c a n u s e d u r i n g t h e e v a l u a t i o n , i m p l e m e n t a t i o n , a n d o p e r a t i o n s o f y o u r s y s t e m s .
F o r d a t a b a s e a d m i n i s t r a t o r s , S A P S o l u t i o n M a n a g e r o f f e r s a r a n g e o f t o o l s f o r r o o t c a u s e a n a l y s i s , a l e r t i n g , a n d r e p o r t i n g .
T h e t o o l s o f t h e D B A C o c k p i t c o m p l e m e n t t h e a v a i l a b l e S A P S o l u t i o n M a n a g e r t o o l s , w h i c h p r o v i d e
h i g h - l e v e l o v e r v i e w s o f p o s s i b l e d a t a b a s e i s s u e s , i n c l u d i n g a l e r t i n g f u n c t i o n s . I n a d d i t i o n t o t h e
h i g h - l e v e l o v e r v i e w s o f S A P S o l u t i o n M a n a g e r , t h e D B A C o c k p i t s e r v e s a s a n i n - d e p t h a n a l y s i s t o o l
f o r d a t a b a s e - r e l a t e d i s s u e s .
T h e D B A C o c k p i t n o t o n l y p r o v i d e s m o r e t o o l s f o r t h e e x p e r t d a t a b a s e a d m i n i s t r a t o r , b u t i t a l s o p l a y s
a n i m p o r t a n t p a r t i n t h e S A P S o l u t i o n M a n a g e r i n f r a s t r u c t u r e . T h e r e m o t e d a t a b a s e m o n i t o r i n g
i n f r a s t r u c t u r e o f t h e D B A C o c k p i t i s u s e d b y S A P S o l u t i o n M a n a g e r t o e x t r a c t m e t r i c s f r o m r e m o t e
d a t a b a s e s . T h e s e m e t r i c s a r e t h e n p a s s e d o n t o t h e d i f f e r e n t a p p l i c a t i o n s i n S A P S o l u t i o n M a n a g e r .
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
L a y o u t o f t h e W e b B r o w s e r - B a s e d U s e r I n t e r f a c e
T h e e n t r y s c r e e n o f t h e D B A C o c k p i t w i t h t h e W e b b r o w s e r - b a s e d u s e r i n t e r f a c e i s d i v i d e d i n t o t h e
f o l l o w i n g a r e a s :
1 2 / 1 8 / 2 0 1 2 P U B L I C 2 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 26/116
4 T h e D B A C o c k p i t
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
F i g u r e 5 : N a v i g a t i o n a n d S c r e e n L a y o u t o f t h e W e b B r o w s e r - B a s e d U s e r I n t e r f a c e
A r e a D e s c r i p t i o n
C o m m o n h e a d e r a r e a P r o v i d e s a s t a n d a r d s e t o f f u n c t i o n s , f o r e x a m p l e , t o l o g o f f f r o m t h e D B A C o c k p i t o r t o c u s t o m i z e t h e l a y o u t .
T o p l e v e l n a v i g a t i o n i n c l u d i n g s e c o n d - l e v e l n a v i g a t i o n
I n t h e t o p l e v e l n a v i g a t i o n , y o u c a n s w i t c h b e t w e e n t h e f o l l o w i n g a r e a s : n C r o s s - s y s t e m a r e a o n t h e S y s t e m L a n d s c a p e t a b p a g e
P r o v i d e s i n f o r m a t i o n a b o u t t h e o v e r a l l s y s t e m l a n d s c a p e n D a t a b a s e - s p e c i f i c a r e a o n t h e D a t a b a s e t a b p a g e
P r o v i d e s i n f o r m a t i o n a b o u t t h e s e l e c t e d d a t a b a s e I n t h e s e c o n d - l e v e l n a v i g a t i o n , t h e m a i n t a s k a r e a s o f d a t a b a s e a d m i n i s t r a t i o n a r e p r o v i d e d , f o r e x a m p l e , p e r f o r m a n c e m o n i t o r i n g , s p a c e m a n a g e m e n t , a n d j o b s c h e d u l i n g . F o r f a s t n a v i g a t i o n , t h e s e m a i n t a s k a r e a s p r o v i d e p u l l - d o w n m e n u s c o r r e s p o n d i n g t o t h e r e l a t e d d e t a i l l e v e l s .
Y o u c a n h i d e t h e a r e a s D e t a i l N a v i g a t i o n , S y s t e m L a n d s c a p e S e l e c t o r , a n d F a v o r i t e s b y c h o o s i n g t h e E x p a n d o r C o l l a p s e L a u n c h p a d p u s h b u t t o n o n t h e l e f t s i d e o f t h e t o p l e v e l n a v i g a t i o n a r e a . I f t h e l a u n c h p a d i s c o l l a p s e d , t h e s e c o n d - l e v e l n a v i g a t i o n p a r t p r o v i d e s a s i m p l i f i e d s y s t e m s e l e c t i o n f i e l d w i t h a n F 4 h e l p . Y o u r c h o s e n s c r e e n l a y o u t i s s t o r e d i n t h e u s e r s e t t i n g s a n d r e s t o r e d a t t h e n e x t s t a r t o f t h e D B A C o c k p i t .
2 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 27/116
4 T h e D B A C o c k p i t
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
A r e a D e s c r i p t i o n
D e t a i l n a v i g a t i o n C o n t a i n s t h e m a i n a c t i o n s o f t h e m a i n t a s k a r e a s . D e p e n d i n g o n t h e s e l e c t e d m a i n a c t i o n , a s u b s e t o f r e l a t e d a c t i o n s i s a v a i l a b l e .
E x a m p l e
I f y o u c h o o s e P e r f o r m a n c e i n t h e t o p l e v e l n a v i g a t i o n a r e a , t h e m a i n a c t i o n s b e c o m e a v a i l a b l e , s u c h a s P e r f o r m a n c e W a r e h o u s e , T i m e S p e n t A n a l y s i s , a n d o t h e r s . I f y o u c h o o s e P e r f o r m a n c e W a r e h o u s e , t h e s u b a c t i o n s R e p o r t i n g a n d C o n f i g u r a t i o n b e c o m e a v a i l a b l e .
S y s t e m l a n d s c a p e s e l e c t o r P r o v i d e s a q u i c k o v e r v i e w o f a l l c o n f i g u r e d s y s t e m s . T h i s a r e a i s d e s c r i b e d i n m o r e d e t a i l u n d e r C u s t o m i z i n g o f t h e S y s t e m L a n d s c a p e S e l e c t o r l a t e r i n t h i s s e c t i o n .
F a v o r i t e s l i s t C o n t a i n s a l i s t o f f a v o r i t e l i n k s t o s p e c i a l t o o l s a n d a c t i o n s . T o p r o v i d e q u i c k a c c e s s t o s p e c i f i c t o o l s a n d a c t i o n s , c h o o s e
P e r s o n a l i z e A d d F a v o r i t e i n t h e c o m m o n h e a d e r a r e a . A n e n t r y i s a d d e d t o y o u r l i s t o f f a v o r i t e s . Y o u c a n r e n a m e o r d e l e t e f a v o r i t e s b y c h o o s i n g P e r s o n a l i z e O r g a n i z e F a v o r i t e s . F o r m o r e i n f o r m a t i o n , s e e S p e c i a l T o o l s i n t h e F a v o r i t e s L i s t .
U s e f u l l i n k s C o n t a i n s t h e f o l l o w i n g u s e f u l l i n k s t o : n S A P o n S y b a s e A S E i n S D N
B y c h o o s i n g t h i s l i n k , y o u c a n d i r e c t l y a c c e s s t h e S D N h o m e p a g e o f S A P o n S y b a s e A S E .
n S y b a s e A S E I n f o c e n t e r ( V e r s i o n 1 5 . 7 )
B y c h o o s i n g t h i s l i n k , y o u c a n d i r e c t l y a c c e s s t h e d o c u m e n t a t i o n f o r t h e A d a p t i v e S e r v e r .
F r a m e w o r k m e s s a g e w i n d o w D i s p l a y s t h e m e s s a g e w i n d o w t h a t i s p r o v i d e d b y t h e f r a m e w o r k . U n l i k e t h e c l a s s i c S A P G U I m e s s a g e p r o c e s s i n g , t h i s w i n d o w c o n t a i n s a c o m p l e t e h i s t o r y o f a l l m e s s a g e s t h a t a r e s e n t d u r i n g t h e s e s s i o n . I n a d d i t i o n , y o u c a n :
n C o l l a p s e o r e x p a n d t h e w i n d o w b y c h o o s i n g E x p a n d M e s s a g e W i n d o w o r C o l l a p s e M e s s a g e W i n d o w .
n C h e c k i f a l o n g t e x t f o r a m e s s a g e i s a v a i l a b l e b y d o u b l e - c l i c k i n g t h e m e s s a g e o r b y c h o o s i n g D e t a i l s .
N o t e B y d e f a u l t , t h e m e s s a g e w i n d o w i s c o l l a p s e d . W h e n a n e w m e s s a g e i s g e n e r a t e d , i t i s a u t o m a t i c a l l y e x p a n d e d .
G l o b a l t o o l b a r T h e g l o b a l t o o l b a r p r o v i d e s a s e t o f g l o b a l l y a v a i l a b l e f u n c t i o n s f o r n a v i g a t i o n a n d c o n t e n t - r e l a t e d f u n c t i o n s l i k e R e f r e s h .
C e n t r a l s y s t e m d a t a T h i s a r e a i s c o m m o n t o m o s t a c t i o n s p r o v i d i n g , f o r e x a m p l e , t h e t i m e o f t h e l a s t r e f r e s h , t h e s t a r t u p t i m e , a n d t h e d a t a b a s e n a m e .
1 2 / 1 8 / 2 0 1 2 P U B L I C 2 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 28/116
4 T h e D B A C o c k p i t
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
A r e a D e s c r i p t i o n
C o n t e n t a r e a D i s p l a y s d e t a i l s o f t h e c u r r e n t l y s e l e c t e d a c t i o n . T h e c o n t e n t a r e a i s d i v i d e d i n t o t h e f o l l o w i n g a r e a s t h a t a r e o p t i o n a l l y a v a i l a b l e d e p e n d i n g o n t h e c h o s e n a c t i o n : n T h e S e l e c t i o n a r e a w h e r e y o u c a n e n t e r s e l e c t i o n c r i t e r i a f o r t h e
c o n t e n t t o b e d i s p l a y e d n T h e S u m m a r y a r e a t h a t p r o v i d e s v i e w s o f d a t a , f o r e x a m p l e , t o t a l s
o r e x e c u t i o n t i m e s n T h e c o n t e n t , w h i c h d e p e n d s o n t h e s c r e e n a n d a c t i o n y o u h a v e
c h o s e n Y o u c a n r e f r e s h t h e c o n t e n t b y c h o o s i n g t h e R e f r e s h p u s h b u t t o n i n t h e g l o b a l t o o l b a r o r b y c h a n g i n g t h e s e l e c t i o n c r i t e r i a a n d t h e n c h o o s i n g t h e A p p l y S e l e c t i o n p u s h b u t t o n i n t h e S e l e c t i o n a r e a .
C h a r t v i e w i n t h e c o n t e n t a r e a S o m e r e p o r t s a r e d i s p l a y e d a s a c h a r t . T o m o d i f y t h e c h a r t v i e w , y o u c a n u s e t h e C h a r t T y p e , V a l u e s , a n d C h a r t S i z e m e n u b u t t o n s t h a t a r e o p t i o n a l l y a v a i l a b l e d e p e n d i n g o n t h e s c r e e n . B y c h o o s i n g t h e C h a r t S i z e m e n u b u t t o n , y o u c a n s p e c i f y t h e w i d t h a n d h e i g h t o f t h e c h a r t t o b e d i s p l a y e d . I n a d d i t i o n , y o u c a n o p e n a d e t a i l e d t a b l e v i e w b y c h o o s i n g t h e T o g g l e T a b l e D i s p l a y p u s h b u t t o n .
C o n t e n t d e t a i l a r e a O n l y a p p e a r s w i t h c e r t a i n a c t i o n s a n d d i s p l a y s a d d i t i o n a l i n f o r m a t i o n t h a t i s r e l a t e d t o t h e s e l e c t e d a c t i o n . T y p i c a l l y , t h i s a r e a s h o w s d e t a i l s t h a t a r e r e l a t e d t o t h e i n f o r m a t i o n p r o v i d e d i n t h e m a i n c o n t e n t a r e a .
L a y o u t o f t h e C o n t e n t D e t a i l A r e a
I f t h e c o n t e n t i n t h e c o n t e n t a r e a i s d i s p l a y e d a s a t a b l e , y o u c a n s e l e c t a t a b l e r o w a n d d i s p l a y m o r e d e t a i l s o f t h i s t a b l e e n t r y i n t h e d e t a i l a r e a . D e p e n d i n g o n t h e a r e a i n t h e D B A C o c k p i t , t h i s
c a n i n c l u d e t h e f o l l o w i n g :
n C u r r e n t d e t a i l s o f t h e t a b l e e n t r y ( S u m m a r y t a b p a g e )
n H i s t o r y d a t a o f t h e t a b l e e n t r y ( H i s t o r y t a b p a g e )
n G r a p h i c a l d i s p l a y o f h i s t o r y d a t a ( H i s t o r y ‒ G r a p h i c a l V i e w t a b p a g e )
2 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 29/116
4 T h e D B A C o c k p i t
4 . 2 D B A C o c k p i t : U s e r I n t e r f a c e
F i g u r e 6 : D e t a i l A r e a : L a y o u t
T h e g r a p h i c a l v i e w o f t h e h i s t o r y c o m p l e m e n t s t h e d e t a i l v i e w o f h i s t o r y d a t a . T h e g r a p h i c a l v i e w
o f t h e h i s t o r y i s b a s e d o n t h e t i m e s e r i e s t h a t y o u c a n s e e i n t h e h i s t o r y , w h i c h c o n t a i n s a l l d a t a i n t a b l e f o r m a t .
N o t e
Y o u c a n s w i t c h o f f t h e d i s p l a y o f t h e g r a p h i c a l v i e w o f h i s t o r y d a t a i n t h e p e r s o n a l i z a t i o n o f t h e
D B A C o c k p i t s c r e e n s .
C u s t o m i z i n g t h e S y s t e m L a n d s c a p e S e l e c t o r
B y d e f a u l t , a l l s y s t e m s a r e d i s p l a y e d w i t h o u t a n y g r o u p i n g o r f i l t e r i n g . F o r e a c h c o n f i g u r e d s y s t e m ,
t h e a l e r t s t a t u s , t h e n a m e o f t h e s y s t e m a n d i t s d a t a b a s e h o s t i s d i s p l a y e d . T h e f o l l o w i n g m e n u
b u t t o n s a r e a v a i l a b l e f o r t h e l i s t o f s y s t e m s :
n R e f r e s h S y s t e m L a n d s c a p e
Y o u c a n r e f r e s h t h e i n f o r m a t i o n a b o u t t h e a v a i l a b l e s y s t e m s i n t h e l i s t .
n G r o u p S y s t e m s b y S e l e c t e d C r i t e r i a
Y o u c a n c u s t o m i z e t h e d i s p l a y e d l i s t o f s y s t e m s b y g r o u p i n g t h e m a c c o r d i n g t o t h e s e l e c t e d c r i t e r i a :
l D a t a b a s e P l a t f o r m
1 2 / 1 8 / 2 0 1 2 P U B L I C 2 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 30/116
4 T h e D B A C o c k p i t
4 . 3 T h e E X P L A I N A c c e s s P l a n
l N a m e
l C u s t o m
l A l e r t s T o u s e a c u s t o m g r o u p i n g , y o u m u s t f i r s t d e f i n e a n d a d d a c u s t o m g r o u p t o t h e l i s t . T o d o s o ,
c h o o s e A d d G r o u p f r o m t h e p o p - u p m e n u o f t h e m e n u b u t t o n G r o u p S y s t e m s b y S e l e c t e d C r i t e r i a . S p e c i f y
a n a m e f o r t h e c u s t o m g r o u p a n d a s s i g n t h e s y s t e m s o f y o u r c h o i c e .
A s s o o n a s y o u h a v e a d d e d a c u s t o m g r o u p , t h e o p t i o n O r g a n i z e G r o u p s b e c o m e s a v a i l a b l e i n t h e
p o p - u p m e n u o f t h e m e n u b u t t o n G r o u p S y s t e m s b y S e l e c t e d C r i t e r i a , w h i c h l e t s y o u m a i n t a i n a n
a l r e a d y e x i s t i n g g r o u p .
n F i l t e r S y s t e m s b y S e l e c t e d C r i t e r i a
Y o u c a n f i l t e r t h e l i s t o f a v a i l a b l e s y s t e m s t o s h o w o n l y t h o s e s y s t e m s t h a t m a t c h t h e f i l t e r c r i t e r i a .
Y o u f i l t e r , f o r e x a m p l e , b y t h e a l e r t s t a t u s o f t h e s y s t e m s .
n S e a r c h S y s t e m s
P r o v i d e s a n i n p u t f i e l d w h e r e y o u c a n s e a r c h f o r a s p e c i f i c s y s t e m i n t h e l i s t .
S p e c i a l T o o l s i n t h e F a v o r i t e s L i s t
T h e F a v o r i t e s l i s t p r o v i d e s e a s y a c c e s s t o i m p o r t a n t t o o l s a n d a c t i o n s . B y d e f a u l t , t h e F a v o r i t e s l i s t
c o n t a i n s t h e f o l l o w i n g l i n k s t h a t c a n n o t b e r e m o v e d :
n E X P L A I N A c c e s s P l a n
n S c h e d u l e a n A c t i o n
Y o u c a n e x t e n d t h e F a v o r i t e s l i s t , t h a t i s , a d d a n d o r g a n i z e f a v o r i t e s b y c h o o s i n g P e r s o n a l i z e A d d
F a v o r i t e o r P e r s o n a l i z e O r g a n i z e F a v o r i t e i n t h e c o m m o n h e a d e r a r e a .
4 . 3 T h e E X P L A I N A c c e s s P l a n
Y o u c a n u s e E X P L A I N t o r e v i e w t h e a c c e s s p l a n s o f a l l S E L E C T , I N S E R T , U P D A T E o r D E L E T E s t a t e m e n t s .
Y o u c a n a c c e s s t h e W e b b r o w s e r - b a s e d v e r s i o n o f t h e E X P L A I N f u n c t i o n . I n t h e F a v o r i t e s l i s t o f t h e W e b
b r o w s e r - b a s e d u s e r i n t e r f a c e , c h o o s e E x p l a i n A c c e s s P l a n .
N o t e T h e s t a t e m e n t s m i g h t c o n t a i n o p t i o n a l c o m m e n t s , s u c h a s - - O P T L E V E L ( < o p t l e v e l > )
- - Q U E R Y _ D E G R E E ( < q u e r y _ d e g r e e > - - L O C A T I O N ( < r e p o r t > , < p o s i t i o n > ) . I f n o c o m m e n t s a r e
s p e c i f i e d , t h e s t a t e m e n t s a r e e x p l a i n e d u s i n g t h e d e f a u l t < o p t l e v e l > a n d t h e d e f a u l t < q u e r y _ d e g r e e >
f o r t h e w o r k p r o c e s s .
I f a s t a t e m e n t w a s e x p l a i n e d s u c c e s s f u l l y , i n f o r m a t i o n a b o u t t h e S Q L s t a t e m e n t t e x t i s p r o v i d e d
o n t h e f o l l o w i n g t a b p a g e s :
3 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 31/116
4 T h e D B A C o c k p i t
4 . 3 T h e E X P L A I N A c c e s s P l a n
T a b P a g e D e s c r i p t i o n
O r i g i n a l S t a t e m e n t D i s p l a y s t h e o r i g i n a l S Q L s t a t e m e n t
A c c e s s P l a n D i s p l a y s t h e a c c e s s p l a n t h a t w a s g e n e r a t e d b y t h e A d a p t i v e S e r v e r
U s i n g t h e A c c e s s P l a n
T h e a c c e s s p l a n s h o w s a l l d a t a b a s e o p e r a t i o n s t h a t a r e p e r f o r m e d w h e n t h e s t a t e m e n t i s e x e c u t e d . I t i s
d i s p l a y e d a s a g r a p h i c a l t r e e a n d e a c h n o d e i n t h e t r e e r e p r e s e n t s a n o p e r a t o r o f t h e a c c e s s p l a n .
Y o u c a n :
n D i s p l a y o r h i d e d e t a i l s o f a n o p e r a t o r b y c h o o s i n g t h e O p e n N o d e o r C l o s e N o d e i c o n o n t h e r e s p e c t i v e
n o d e
n E x p a n d o r c o l l a p s e s u b t r e e s b y c h o o s i n g t h e S h o w C h i l d N o d e i c o n o r t h e H i d e C h i l d N o d e i c o n r e s p e c t i v e l y
n V i e w o p e r a t i o n d e t a i l s b y d o u b l e - c l i c k i n g a n o p e r a t o r i n t h e g r a p h i c a l t r e e
G l o b a l d e t a i l s a b o u t a n o p e r a t o r a r e d i s p l a y e d o n t h e f o l l o w i n g t a b p a g e s :
l G e n e r a l
D i s p l a y s g l o b a l d e t a i l s a b o u t t h e a c c e s s p l a n
l O p e r a t o r < N a m e o f o p e r a t o r >
D i s p l a y s d e t a i l s f o r t h e s e l e c t e d o p e r a t o r
l C a t a l o g I n f o r m a t i o n ( O p t i o n a l )
D i s p l a y s d e t a i l s f o r t h e r e s p e c t i v e c a t a l o g o b j e c t o f t h e s e l e c t e d o p e r a t o r
l P r e d i c a t e s ( O p t i o n a l )
D i s p l a y s f i l t e r p r e d i c a t e s f o r t h e s e l e c t e d o p e r a t o r
n S e a r c h f o r o p e r a t o r s i n a c o m p l e x s t a t e m e n t b y c h o o s i n g F i n d N o d e s f o r L a b e l s
n O p e n a n e x t r a n a v i g a t i o n w i n d o w f o r c o m p l e x a c c e s s p l a n s b y c h o o s i n g T o g g l e N a v i g a t i o n W i n d o w
n P r i n t t h e g r a p h i c b y c h o o s i n g P r i n t t h e C u r r e n t M o d e l
n C o n f i g u r e t h e g r a p h i c b e f o r e y o u p r i n t i t b y c h o o s i n g C o n f i g u r e t h e P r i n t o u t
n D i s p l a y o r h i d e t h e q u i c k d e t a i l s o f a l l o p e r a t o r s b y c h o o s i n g C o l l a p s e o r E x p a n d
n D i s p l a y g l o b a l d e t a i l s a b o u t t h e a c c e s s p l a n b y c h o o s i n g V i e w D e t a i l s
n D i s p l a y i n f o r m a t i o n a b o u t t h e J N e t v e r s i o n u s e d ( c a n b e r e q u i r e d b y S A P S u p p o r t ) b y c h o o s i n g
t h e h e l p b u t t o n
N o t e
F o r e a c h i n d e x u s e d i n t h e a c c e s s p l a n , t h e n u m b e r o f k e y c o l u m n s t h a t w e r e r e a l l y u s e d w i t h i n t h e
a c c e s s p l a n i s d i s p l a y e d . I n t h e a p p r o p r i a t e t o o l t i p , t h e u s e d i n d e x f i e l d n a m e s a r e a l s o d i s p l a y e d .
V o l a t i l e t a b l e s a n d i n d e x e s o f v o l a t i l e t a b l e s a r e m a r k e d w i t h a n e x t r a v o l a t i l e l a b e l . T o c h a n g e a n d
r e - e x p l a i n t h e S Q L s t a t e m e n t , c h o o s e E d i t S t a t e m e n t .
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 32/116
4 T h e D B A C o c k p i t
4 . 4 S Q L C o m m a n d L i n e
4 . 4 S Q L C o m m a n d L i n e
T h i s s c r e e n p r o v i d e s a v i r t u a l c o m m a n d l i n e p r o c e s s o r . Y o u c a n a c c e s s t h e S Q L C o m m a n d L i n e s c r e e n b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g S Q L C o m m a n d
L i n e i n t h e F a v o r i t e s l i s t o f t h e D B A C o c k p i t . T h e S Q L C o m m a n d L i n e s c r e e n a p p e a r s i n a s e p a r a t e W e b
b r o w s e r . T h i s s c r e e n p r o v i d e s a v i r t u a l c o m m a n d l i n e p r o c e s s o r .
I f y o u e n t e r a n y S Q L c o m m a n d , t h e o u t p u t i s r e t u r n e d b y t h e S y b a s e A S E c o m m a n d l i n e p r o c e s s o r .
4 . 5 S c h e d u l i n g a n A c t i o n
1 . T o a d d n e w a c t i o n s t o t h e D B A P l a n n i n g C a l e n d a r , y o u c a n d o o n e o f t h e f o l l o w i n g :
n C l i c k a c a l e n d a r c e l l .
n P o s i t i o n t h e c u r s o r o n a c a l e n d a r c e l l a n d c h o o s e t h e A d d p u s h b u t t o n .
n C h o o s e S c h e d u l e a n A c t i o n i n y o u r F a v o r i t e s .
T h e S c h e d u l e a n A c t i o n w i z a r d a p p e a r s .
2 . I n t h e J o b S e l e c t i o n s t e p , d o t h e f o l l o w i n g :
a ) C h o o s e t h e j o b t h a t y o u w a n t t o s c h e d u l e f r o m t h e A c t i o n d r o p d o w n l i s t .
b ) S p e c i f y o n e o f t h e f o l l o w i n g o p t i o n s :
O p t i o n : D e s c r i p t i o n :
S t a r t I m m e d i a t e l y T h e j o b s t a r t s i m m e d i a t e l y i n t h e b a c k g r o u n d a f t e r y o u h a v e c o m p l e t e d t h e r e q u i r e d s t e p s i n t h e w i z a r d .
S t a r t o n S p e c i f i e s t h e d a t e a n d t i m e w h e n t h e a c t i o n i s t o s t a r t
S t a r t a s R e c u r r i n g A c t i o n A c t i v a t e s t h e R e c u r r e n c e s t e p w h e r e y o u c a n f u r t h e r s p e c i f y a r e c u r r e n c e p a t t e r n f o r t h i s j o b a s d e s c r i b e d l a t e r o n i n t h i s s e c t i o n
3 . I n t h e P a r a m e t e r s t e p , c h a n g e , o r e n t e r t h e b a s i c p a r a m e t e r s f o r t h e a c t i o n .
4 . O p t i o n a l :
I f y o u p r e v i o u s l y s e l e c t e d t h e S t a r t a s R e c u r r i n g A c t i o n o p t i o n i n t h e J o b S e l e c t i o n s t e p , y o u n o w h a v e t o
e n t e r a r e c u r r e n c e p a t t e r n i n t h e R e c u r r e n c e s t e p . T h e f o l l o w i n g t a b l e d e s c r i b e s t h e p a r a m e t e r s t o b e s p e c i f i e d i n m o r e d e t a i l :
3 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 33/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
P a r a m e t e r : D e s c r i p t i o n :
R e c u r r e n c e P a t t e r n I n t e r v a l f o r t h e a c t i o n i n w e e k s , d a y s , o r h o u r s D e p e n d i n g o n t h e s e l e c t e d r e c u r r e n c e p a t t e r n , y o u n e e d t o s p e c i f y t h e p a t t e r n i n m o r e d e t a i l , t h a t i s , t h e d a y s o f t h e w e e k f o r w e e k l y p e r i o d s a n d t h e h o u r s o f t h e d a y f o r a d a i l y p e r i o d . T h e a c t i o n i s r e p e a t e d a t t h e i n t e r v a l t h a t y o u e n t e r . I f y o u s e l e c t O n c e o n l y , t h e a c t i o n i s e x e c u t e d o n l y o n c e .
R e c u r r e n c e R a n g e R a n g e o f t i m e w h e r e t h e a c t i o n r e c u r s , t h a t i s , f o r a s p e c i f i c t i m e i n t e r v a l o r f o r a l i m i t e d n u m b e r o f o c c u r r e n c e s .
C a u t i o n
T h e s y s t e m w a r n s y o u i f t h e r e i s a c o n f l i c t w i t h a n e x i s t i n g a c t i o n , b u t i t d o e s n o t p r e v e n t y o u
f r o m i n s e r t i n g t h e n e w a c t i o n . Y o u m u s t d e c i d e w h e t h e r t h e a c t i o n s m i g h t c o n f l i c t i n t e r m s o f d a t a b a s e a c c e s s o r p e r f o r m a n c e .
T h e s y s t e m d o e s n o t c h e c k f o r c o n f l i c t s b e t w e e n a c t i o n s w i t h i d e n t i c a l s t a r t t i m e s b u t c h e c k s f o r
a c t i o n s w i t h i n a r a n g e o f a p p r o x i m a t e l y 3 0 m i n u t e s .
5 . O n t h e S u m m a r y s c r e e n , r e v i e w t h e s p e c i f i e d p a r a m e t e r s a n d s c h e d u l e t h e j o b b y c h o o s i n g t h e
E x e c u t e p u s h b u t t o n .
6 . E x i t t h e S c h e d u l e a n A c t i o n w i z a r d .
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t h o w t o m a n a g e y o u r s y s t e m l a n d s c a p e .
4 . 6 . 1 C o n f i g u r a t i o n o f S y s t e m s f o r R e m o t e M o n i t o r i n g
T o b e a b l e t o u s e t h e D B A C o c k p i t t o m o n i t o r r e m o t e s y s t e m s , y o u h a v e t o c o n f i g u r e t h o s e s y s t e m s
i n t h e D B A C o c k p i t . I f t h e D B A C o c k p i t i s u s e d a s p a r t o f S o l u t i o n M a n a g e r D i a g n o s t i c s , t h e D B A
C o c k p i t s e t u p i s p a r t o f t h e S A P S o l u t i o n M a n a g e r s e t u p . T h i s m e a n s t h a t w h e n y o u i n t e g r a t e s y s t e m s
i n t o t h e S A P S o l u t i o n M a n a g e r l a n d s c a p e , t h e r e l a t e d d a t a b a s e s a r e c o n f i g u r e d i n t h e D B A C o c k p i t a n d n o D B A C o c k p i t - s p e c i f i c s e t u p i s r e q u i r e d a n y m o r e .
A l t e r n a t i v e l y , y o u c a n c o n f i g u r e y o u r d a t a b a s e s y s t e m e i t h e r u s i n g d a t a b a s e i n f o r m a t i o n t h a t i s s t o r e d
i n t h e S L D f o r a u t o m a t i c g e n e r a t i o n a n d u p d a t e o f s y s t e m e n t r i e s o r b y m a n u a l l y c r e a t i n g d a t a b a s e
c o n n e c t i o n s a n d s y s t e m c o n f i g u r a t i o n e n t r i e s .
T o a c c e s s t h e S y s t e m C o n f i g u r a t i o n s c r e e n , c h o o s e S y s t e m C o n f i g u r a t i o n o n t h e S y s t e m L a n d s c a p e t a b p a g e o f t h e
D B A C o c k p i t . A t a b l e o f a l l m o n i t o r e d s y s t e m s i s d i s p l a y e d . I n t h e f i r s t c o l u m n , a n i c o n i n d i c a t e s t h e
c u r r e n t s t a t u s o f e a c h s y s t e m .
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 34/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
N o r m a l l y , w h e n y o u s t a r t t h e D B A C o c k p i t , t h e l o c a l s y s t e m i s s e t a s d e f a u l t s y s t e m . T o c h a n g e t h i s
s e t t i n g , s e l e c t a s y s t e m f r o m t h e l i s t a n d c h o o s e D e f a u l t S y s t e m .
N o t e
T h i s s e t t i n g o n l y a p p l i e s t o t h e u s e r t h a t i s c u r r e n t l y l o g g e d o n t o t h e s y s t e m . I t i s n o t a s y s t e m - w i d e
s e t t i n g .
T o m o n i t o r a s y s t e m r e m o t e l y , y o u u s e t h e f o l l o w i n g m e t h o d s :
n R e m o t e d a t a b a s e c o n n e c t i o n s ( m a n d a t o r y )
T h i s m e t h o d u s e s a d d i t i o n a l c o n n e c t i o n s . I t i s t h e m a i n a c c e s s m e t h o d f o r m o n i t o r i n g a n d
a d m i n i s t r a t i o n t a s k s a n d i t i s m a n d a t o r y . Y o u c a n s p e c i f y r e m o t e c o n n e c t i o n s f o r a n y d a t a b a s e a n d
m a i n t a i n t h e c o n n e c t i o n s u s i n g t h e D B A C o c k p i t . n R F C c o n n e c t i o n ( a d d i t i o n a l o p t i o n f o r S A P A B A P s y s t e m s o n l y )
F o r t h i s m e t h o d , y o u h a v e t o a s s i g n a n R F C c o n n e c t i o n t o y o u r s y s t e m . R F C c o n n e c t i o n s a r e
a v a i l a b l e f o r S A P A B A P s y s t e m s o n l y . Y o u c a n u s e R F C c o n n e c t i o n s a s a n o p t i o n a l a c c e s s p a t h
f o r A B A P - r e l a t e d m o n i t o r i n g f u n c t i o n s , f o r e x a m p l e , f o r t h e c o n s i s t e n c y c h e c k o f t h e A B A P
D i c t i o n a r y . T h i s m e a n s t h a t t h e D B A C o c k p i t u s e s t h e R F C c o n n e c t i o n i n p a r a l l e l t o t h e d a t a b a s e
c o n n e c t i o n f o r t h e s a m e s y s t e m .
N o t e
Y o u c a n o n l y m a i n t a i n R F C c o n n e c t i o n s w i t h t r a n s a c t i o n S M 5 9 , n o t w i t h t h e D B A C o c k p i t .
A r c h i t e c t u r e O v e r v i e w : E n d - t o - E n d M o n i t o r i n g a n d A l e r t i n g i n S A P S o l u t i o n M a n a g e r a n d D B A C o c k p i t
T h e a r c h i t e c t u r e o f S A P S o l u t i o n M a n a g e r c o m p r i s e s a n u m b e r o f t o o l s a n d f r a m e w o r k s t h a t c o l l e c t
d e t a i l d a t a a b o u t d a t a b a s e s a n d t h e i r s t a t u s e s a u t o m a t i c a l l y . T h e t o o l s a n d f r a m e w o r k s f o r a u t o m a t i c
d i s c o v e r y o f d a t a b a s e s a n d d a t a b a s e d e t a i l s i n c l u d e t h e l a n d s c a p e m a n a g e m e n t d a t a b a s e ( L M D B ) , t h e
D i a g n o s t i c s A g e n t , a n d t h e e x t r a c t o r f r a m e w o r k :
3 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 35/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
F i g u r e 7 : D a t a C o l l e c t i o n a n d D a t a b a s e M o n i t o r i n g a n d A l e r t i n g w i t h S A P S o l u t i o n M a n a g e r
L a n d s c a p e M a n a g e m e n t D a t a b a s e ( L M D B )
I n S A P S o l u t i o n M a n a g e r , a l l e l e m e n t s o f a s y s t e m l a n d s c a p e a r e m o d e l e d i n t h e L M D B . T h e c o r e t a s k
o f t h e L M D B i s t o p r o v i d e i n f o r m a t i o n a b o u t t h e e n t i r e s y s t e m l a n d s c a p e a t a c e n t r a l l o c a t i o n . T h e
L M D B c o p i e s a v a i l a b l e d a t a f r o m t h e S L D , b u t i t e n r i c h e s t h e d a t a c o p i e d f r o m S L D w i t h a d d i t i o n a l
i n f o r m a t i o n .
D i a g n o s t i c s A g e n t
T h e S o l u t i o n M a n a g e r D i a g n o s t i c s A g e n t ( D i a g n o s t i c s A g e n t ) , w h i c h i s i n s t a l l e d o n e v e r y l o c a l
s y s t e m o f y o u r s y s t e m l a n d s c a p e , g a t h e r s i n f o r m a t i o n f r o m t h e m a n a g e d s y s t e m s a n d r e p o r t s t h e
i n f o r m a t i o n t o t h e S A P S o l u t i o n M a n a g e r s y s t e m . T h i s i n c l u d e s i n f o r m a t i o n a b o u t t h e a v a i l a b i l i t y
o f t h e d a t a b a s e a n d i t s h o s t .
T h e D i a g n o s t i c s A g e n t u s e s S A P H o s t A g e n t t o d i s c o v e r a l l d a t a b a s e s i n s t a l l e d o n a h o s t . T h e
D i a g n o s t i c s A g e n t a n d t h e S A P H o s t A g e n t t r a n s f e r s o m e b a s i c i n f o r m a t i o n , s u c h a s t h e d a t a b a s e h o s t ,
t h e d a t a b a s e t y p e a n d i t s n a m e , t o t h e S L D . I n a d d i t i o n , t h e D i a g n o s t i c s A g e n t r e p o r t s t e c h n i c a l
a t t r i b u t e s l i k e c l u s t e r t o p o l o g y , d a t a b a s e r e l e a s e , a n d p r o p e r t i e s r e q u i r e d f o r a r e m o t e d a t a b a s e
c o n n e c t i o n t o t h e L M D B . T h i s k i n d o f i n f o r m a t i o n m a p p e d i n t h e L M D B w i t h t h e d a t a p r o v i d e d b y t h e S L D . I n f o r m a t i o n a b o u t d a t a b a s e s t h a t d o n o t r u n w i t h a n S A P s y s t e m a r e a l s o p u s h e d t o
t h e L M D B b y t h e D i a g n o s t i c s A g e n t .
D B A C o c k p i t B a c k e n d , E x t r a c t o r F r a m e w o r k , a n d D a t a F l o w
T h e D B A C o c k p i t b a c k e n d p e r f o r m s d a t a c o l l e c t i o n v i a r e m o t e d a t a b a s e c o n n e c t i o n a n d c a l c u l a t e s
t h e m e t r i c s o f t h e m o n i t o r e d d a t a b a s e s , s u c h a s p e r f o r m a n c e K P I s , s p a c e , o r d a t a c a c h e h i t r a t i o . T h e
D B A C o c k p i t t a k e s s n a p s h o t s o f d a t a b a s e s t a t u s e s , a n d t h u s i s a b l e t o g e n e r a t e h i s t o r i c a l d a t a ( t i m e
s e r i e s ) , w h i c h a l l o w s d a t a b a s e a d m i n i s t r a t o r s t o k e e p t r a c k o f s h o r t - a n d m i d - t e r m d e v e l o p m e n t s i n
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 36/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
t h e d a t a b a s e . D a t a c o l l e c t e d b y t h e D B A C o c k p i t b a c k e n d i s a l s o f e d i n t o t h e e x t r a c t o r f r a m e w o r k , t h e
c e n t r a l i n f r a s t r u c t u r e f o r S A P S o l u t i o n M a n a g e r f o r d a t a c o l l e c t i o n a n d d i s t r i b u t i o n .
T h e e x t r a c t e d d a t a i s r e u s e d b y t h e f o l l o w i n g e n g i n e s a n d s t o r e s :
n A l e r t C a l c u l a t i o n E n g i n e ( A C E )
n M e t r i c - E v e n t - A l e r t ( M E A ) S t o r e
n S A P N e t W e a v e r B W f o r r e p o r t i n g
T h e s e e n g i n e s a n d s t o r e s f u r t h e r p r o c e s s t h e r a w d a t a t a k e n f r o m t h e d a t a b a s e s a n d g e n e r a t e a l e r t s
a n d m e t r i c s f o r B W r e p o r t i n g , w h i c h a r e t h e n p a s s e d o n t o t h e d i f f e r e n t S A P S o l u t i o n M a n a g e r
a p p l i c a t i o n s , s u c h a s t h e a l e r t i n b o x , r e p o r t i n g f u n c t i o n s a n d a l s o t h e B W r e p o r t i n g s c r e e n s i n t h e
D B A C o c k p i t .
P r e d e f i n e d A l e r t i n g T e m p l a t e s S h i p p e d b y S A P D u r i n g t h e S A P S o l u t i o n M a n a g e r s e t u p , y o u c a n f i n d p r e d e f i n e d m o n i t o r i n g a n d a l e r t i n g t e m p l a t e s
t h a t c o n t a i n t h e d e f i n i t i o n s o r v a l u e s o f m e t r i c s , e v e n t s o r a l e r t s ( M E A ) .
D e p e n d i n g o n t h e d e f i n e d t h r e s h o l d v a l u e s , i n c i d e n t s a n d n o t i f i c a t i o n s a r e t h e n a u t o m a t i c a l l y
t r i g g e r e d . F o r S y b a s e A S E d a t a b a s e s , p r e d e f i n e d m e t r i c s , e v e n t s , a n d a l e r t s a r e a v a i l a b l e f o r t h e
f o l l o w i n g :
n D a t a b a s e a v a i l a b i l i t y
n D a t a b a s e e x c e p t i o n s
T h e a v a i l a b i l i t y o f t h e e n d - t o - e n d a l e r t i n g i n S A P S o l u t i o n M a n a g e r d e p e n d s o n y o u r s u p p o r t l i c e n s e .
S e t t i n g U p D a t a b a s e M o n i t o r i n g a n d A l e r t i n g i n S A P S o l u t i o n M a n a g e r
T o s e t u p t h e e n d - t o - e n d m o n i t o r i n g a n d a l e r t i n g i n f r a s t r u c t u r e , y o u u s e t h e s t a n d a r d t r a n s a c t i o n s
f o r s e t t i n g u p S A P S o l u t i o n M a n a g e r . Y o u n e e d t o p e r f o r m t h e f o l l o w i n g s t e p s :
1 . I n s t a l l t h e D i a g n o s t i c s A g e n t o n y o u r d a t a b a s e s y s t e m s .
T h e D i a g n o s t i c s A g e n t g a t h e r s i n f o r m a t i o n f r o m t h e m a n a g e d s y s t e m s a n d r e p o r t s t h e m t o t h e
S A P S o l u t i o n M a n a g e r s y s t e m . T h i s a l s o i n c l u d e s i n f o r m a t i o n a b o u t t h e a v a i l a b i l i t y o f t h e d a t a b a s e a n d i t s h o s t . Y o u n e e d t o i n s t a l l a D i a g n o s t i c s A g e n t o n e a c h s e r v e r ( v i r t u a l h o s t n a m e ) t h a t y o u
w a n t t o m o n i t o r . Y o u c a n u s e t h e S A P i n s t a l l a t i o n t o o l S A P i n s t t o i n s t a l l t h e D i a g n o s t i c s A g e n t .
2 . C o n f i g u r e d a t a s u p p l i e r s i n t h e S L D .
U s e t h e t r a n s a c t i o n S y s t e m L a n d s c a p e D i r e c t o r y : L o c a l A d m i n i s t r a t i o n ( R Z 7 0 ) t o c o n f i g u r e S L D d a t a
s u p p l i e r s i n t h e s y s t e m l a n d s c a p e . H e r e , y o u n e e d t o p r o v i d e t h e p o r t a n d t h e h o s t o f t h e S L D .
T h e S L D d a t a s u p p l i e r s a r e p r o g r a m s t h a t c o l l e c t t h e d a t a b a s e a t t r i b u t e s D a t a b a s e H o s t , D a t a b a s e T y p e
a n d D a t a b a s e N a m e a t d e f i n e d p e r i o d s . O n c e t h e S L D d a t a s u p p l i e r s a r e u p a n d r u n n i n g , t h e y p u s h
d a t a b a s e a t t r i b u t e s f r o m t h e d a t a b a s e t o t h e S L D .
3 . C o n n e c t t h e D i a g n o s t i c s A g e n t t o S A P S o l u t i o n M a n a g e r .
3 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 37/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
U s e t h e t r a n s a c t i o n S A P S o l u t i o n M a n a g e r C o n f i g u r a t i o n ( S O L M A N _ S E T U P ) S y s t e m P r e p a r a t i o n t o
c o n n e c t t h e S A P D i a g n o s t i c s A g e n t t o S A P S o l u t i o n M a n a g e r .
4 . C o n f i g u r e t h e s y s t e m s m a n a g e d b y S A P S o l u t i o n M a n a g e r .
U s e t h e t r a n s a c t i o n S A P S o l u t i o n M a n a g e r C o n f i g u r a t i o n ( S O L M A N _ S E T U P ) M a n a g e d S y s t e m
C o n f i g u r a t i o n t o p e r f o r m t h e f o l l o w i n g a c t i v i t i e s :
n C o n n e c t t h e S A P D i a g n o s t i c s A g e n t t o t h e m a n a g e d d a t a b a s e s
n S p e c i f y s y s t e m p a r a m e t e r s r e q u i r e d t o c o n f i g u r e t h e m a n a g e d d a t a b a s e s
M o s t o f t h e s e p a r a m e t e r s , s u c h a s h o s t s o r p o r t s , a r e a u t o m a t i c a l l y d e t e c t e d b y t h e D i a g n o s t i c s
A g e n t , s o o n l y a p a s s w o r d i s r e q u i r e d h e r e .
n T r i g g e r a u t o m a t i c c o n f i g u r a t i o n a c t i v i t i e s
T h i s i n c l u d e s t h e s e t u p o f d a t a b a s e e x t r a c t o r s , w h i c h c o l l e c t d a t a f o r m o n i t o r i n g t h e d a t a b a s e s
i n S A P S o l u t i o n M a n a g e r .
5 . S e t u p t e c h n i c a l m o n i t o r i n g , i n c l u d i n g a l e r t i n g .
U s e t h e t r a n s a c t i o n S A P S o l u t i o n M a n a g e r C o n f i g u r a t i o n ( S O L M A N _ S E T U P ) T e c h n i c a l M o n i t o r i n g t o
s e t u p t h e t e c h n i c a l m o n i t o r i n g o f d a t a b a s e s i n S A P S o l u t i o n M a n a g e r . Y o u s e t u p t h e f o l l o w i n g :
n A c t i v a t i o n o r d e a c t i v a t i o n o f a u t o - n o t i f i c a t i o n s ( f o r e x a m p l e , e - m a i l n o t i f i c a t i o n s ) a b o u t
d a t a b a s e a l e r t s
A s a d e f a u l t , a u t o - n o t i f i c a t i o n i s a c t i v a t e d .
n R e c i p i e n t s a n d r e c i p i e n t l i s t s o f a u t o - n o t i f i c a t i o n s
n A s s i g n m e n t o f m o n i t o r i n g t e m p l a t e s t o s e l e c t e d s y s t e m s i n s c o p e f o r m o n i t o r i n g
M o n i t o r i n g t e m p l a t e s c o n t a i n t h e d e f i n i t i o n s o r v a l u e s o f m e t r i c s , e v e n t s , a n d a l e r t s ( M E A ) t h a t
t r i g g e r i n c i d e n t s a n d n o t i f i c a t i o n s . T h e S A P t e m p l a t e s h a v e p r e d e f i n e d s e t t i n g s , b u t y o u c a n a l s o a d a p t t h e t e m p l a t e s t o y o u r c u s t o m e r - s p e c i f i c n e e d s .
M o r e I n f o r m a t i o n
n C o m p l e t e s e t u p o f S A P S o l u t i o n M a n a g e r : D o c u m e n t a t i o n f o r S A P S o l u t i o n M a n a g e r o n S A P
H e l p P o r t a l a t h t t p : / / h e l p . s a p . c o m / s o l u t i o n m a n a g e r
n A d d i t i o n a l d a t a b a s e - s p e c i f i c s e t u p s t e p s : S A P N o t e 1 0 2 7 1 4 6
4 . 6 . 4 C o n f i g u r i n g S y s t e m s f o r R e m o t e M o n i t o r i n g M a n u a l l y
Y o u u s e t h i s p r o c e d u r e t o c o n f i g u r e s y s t e m s t h a t y o u w a n t t o m o n i t o r u s i n g r e m o t e d a t a b a s e
c o n n e c t i o n s . A m a n u a l s y s t e m c o n f i g u r a t i o n i s o n l y n e c e s s a r y i f t h e m o n i t o r e d d a t a b a s e h a s n o t b e e n
c o n f i g u r e d d u r i n g t h e i n t e g r a t i o n o f a s y s t e m u s i n g S A P S o l u t i o n M a n a g e r .
T h e c o n f i g u r a t i o n d o e s n o t i n c l u d e t h e s e t u p o f t h e m o n i t o r i n g i n f r a s t r u c t u r e , b u t y o u p e r f o r m o n l y
a b a s i c s e t u p t h a t i s n e c e s s a r y t o c o n n e c t t o t h e m o n i t o r e d d a t a b a s e . F o r s u b s e q u e n t c o n f i g u r a t i o n
s t e p s , s e e E n a b l i n g t h e D a t a b a s e f o r t h e D a t a C o l l e c t i o n F r a m e w o r k [ p a g e 4 0 ] .
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 38/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
N o t e
D e p e n d i n g o n t h e d a t a b a s e p l a t f o r m o f t h e s e l e c t e d s y s t e m , s o m e o p t i o n s m i g h t n o t b e a v a i l a b l e . I n
t h i s c a s e , y o u c a n n o t e n t e r a n y d a t a i n t h e c o r r e s p o n d i n g f i e l d s .
P r e r e q u i s i t e s
n T h e s y s t e m ( s ) t h a t y o u w a n t t o m o n i t o r m u s t h a v e a d a t a b a s e r e l e a s e t h a t i s c o m p a t i b l e w i t h t h e
d a t a b a s e r e l e a s e o f y o u r l o c a l d a t a b a s e .
n T h e u s e r f o r t h e d a t a b a s e c o n n e c t i o n m u s t h a v e s u f f i c i e n t d a t a b a s e p e r m i s s i o n s . F o r m o r e
i n f o r m a t i o n , s e e M a i n t e n a n c e A c t i o n s i n t h e D B A C o c k p i t .
1 . C a l l t h e D B A C o c k p i t .
T h e S y s t e m C o n f i g u r a t i o n s c r e e n a p p e a r s d i s p l a y i n g a l i s t o f a l l a v a i l a b l e s y s t e m s w i t h a C o n f i g u r a t i o n
S t a t u s i c o n t h a t i n d i c a t e s t h e c u r r e n t s y s t e m s t a t u s .
N o t e
W h e n y o u s t a r t t h e D B A C o c k p i t f o r t h e f i r s t t i m e , t h e l o c a l s y s t e m i s a u t o m a t i c a l l y a d d e d t o t h e
l i s t o f a l l a v a i l a b l e s y s t e m s . A t l e a s t o n e s y s t e m e n t r y i s d i s p l a y e d .
2 . C h o o s e t h e A d d p u s h b u t t o n .
T h e w i z a r d I n t e g r a t e a S y s t e m a p p e a r s .
T h e f o l l o w i n g t a b l e l i s t s t h e s t e p s a n d r e c o m m e n d e d a c t i o n s :
S t e p N a m e A c t i o n
I n t r o d u c t i o n P r o v i d e s a n o v e r v i e w o f t h e c o n f i g u r a t i o n s t e p s N o a c t i o n t o b e t a k e n
S y s t e m C h a r a c t e r i s t i c s S p e c i f y t h e f o l l o w i n g : n N a m e o f t h e s y s t e m t h a t y o u w a n t t o m o n i t o r
N o t e
T h i s n a m e i s a u n i q u e I D a n d d o e s n o t h a v e t o b e t h e S A P s y s t e m I D . Y o u c a n c h o o s e a n y n a m e e x c e p t t h e S A P s y s t e m I D o f t h e l o c a l s y s t e m
t h a t i s r e s e r v e d f o r t h e l o c a l s y s t e m e n t r y .
n D e s c r i p t i o n o f t h e m o n i t o r e d s y s t e m
n C o n n e c t i o n t y p e C h o o s e b e t w e e n t h e f o l l o w i n g c o n n e c t i o n t y p e s :
l R e m o t e D a t a b a s e C o n n e c t i o n
l R e m o t e D a t a b a s e C o n n e c t i o n a n d R F C D e s t i n a t i o n
l R e m o t e D a t a b a s e C o n n e c t i o n v i a R F C D e s t i n a t i o n
3 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 39/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
S t e p N a m e A c t i o n
R F C D e s t i n a t i o n ( O p t i o n a l s t e p t h a t i s o n l y n e c e s s a r y i f , i n t h e p r e v i o u s s t e p , y o u h a v e c h o s e n a c o n n e c t i o n t y p e t h a t r e q u i r e s a n R F C d e s t i n a t i o n . )
S p e c i f y t h e n a m e o f t h e R F C d e s t i n a t i o n t o b e u s e d
N o t e
T h e s p e c i f i e d R F C d e s t i n a t i o n m u s t a l r e a d y e x i s t a n d b e a v a i l a b l e .
Y o u c a n t e s t t h e d e s t i n a t i o n b y c h o o s i n g t h e T e s t C o n n e c t i o n p u s h b u t t o n . I f t h e c o n n e c t i o n i s n o t w o r k i n g , y o u c a n o n l y p r o c e e d i f y o u s e l e c t t h e I g n o r e C o m m u n i c a t i o n E r r o r s c h e c k b o x .
D a t a b a s e C o n n e c t i o n S p e c i f y t h e f o l l o w i n g : n N a m e o f t h e d a t a b a s e c o n n e c t i o n
T h i s i s a u n i q u e n a m e t h a t y o u c a n f r e e l y c h o o s e . A l t e r n a t i v e l y , y o u c a n s e a r c h f o r a n a l r e a d y e x i s t i n g c o n n e c t i o n n a m e u s i n g t h e r e l a t e d s e a r c h h e l p . I n t h i s c a s e , c o n f i r m t h e s e l e c t e d n a m e u s i n g t h e E n t e r k e y t o p r e f i l l t h e c o n n e c t i o n a t t r i b u t e s .
n D a t a b a s e p l a t f o r m o f t h e m o n i t o r e d d a t a b a s e
n C o n n e c t i o n m a x i m u m t h a t l i m i t s t h e p a r a l l e l u s e o f t h i s c o n n e c t i o n b y t h e k e r n e l
n C o n n e c t i o n o p t i m u m t h a t s e t s t h e o p t i m u m n u m b e r o f o p e n c o n n e c t i o n s
N o t e Y o u s h o u l d s e t t h i s v a l u e t o 0 t o e n s u r e t h a t t h e k e r n e l c l o s e s c o n n e c t i o n s i f t h e y a r e n o l o n g e r u s e d .
n U s e r n a m e a n d p a s s w o r d f o r t h e u s e r t h a t i s u s e d f o r m o n i t o r i n g
n L i s t o f c o n n e c t i o n p a r a m e t e r s t h a t a r e r e q u i r e d t o i d e n t i f y t h e d a t a b a s e
M o n i t o r i n g S e t t i n g s S p e c i f y h o w y o u w a n t t o c o l l e c t m o n i t o r i n g d a t a : n I f a l e r t s a r e t o b e p r o v i d e d f o r t h e R Z 2 0 a l e r t
m o n i t o r , s e l e c t t h e A c t i v a t e A l e r t M o n i t o r i n g
c h e c k b o x .
N o t e
I f y o u a r e u s i n g t h e D B A C o c k p i t i n S A P S o l u t i o n M a n a g e r 7 . 1 , t h i s o p t i o n s h o u l d n o t b e u s e d a n y m o r e . I n s t e a d , t h e E 2 E a l e r t i n g o f S A P S o l u t i o n M a n a g e r i s u s e d t h a t r e q u i r e s n o s p e c i f i c s e t u p i n t h e D B A C o c k p i t .
n I f t h e m o n i t o r i n g d a t a i s t o b e c o l l e c t e d b y t h e r e m o t e s y s t e m , s e l e c t t h e D a t a C o l l e c t i o n b y R e m o t e S y s t e m c h e c k b o x .
1 2 / 1 8 / 2 0 1 2 P U B L I C 3 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 40/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
S t e p N a m e A c t i o n
n I f d a t a f o r t h e C e n t r a l P l a n n i n g C a l e n d a r i s t o b e p r o v i d e d , s e l e c t t h e S h o w S c h e d u l e d J o b s i n C e n t r a l P l a n n i n g C a l e n d a r c h e c k b o x .
n D e p r e c a t e d o p t i o n : I f d a t a a b o u t t h e p e r f o r m a n c e o r t h e s i z e o f d a t a b a s e o b j e c t s i s t o b e c o l l e c t e d , s e l e c t t h e C o l l e c t S p a c e a n d P e r f o r m a n c e H i s t o r y D a t a c h e c k b o x .
N o t e
T h i s o p t i o n h a s b e e n d e p r e c a t e d a n d s h o u l d n o t b e u s e d a n y m o r e . I n s t e a d , p r o c e e d a s d e s c r i b e d i n E n a b l i n g t h e D a t a b a s e f o r t h e D a t a
C o l l e c t i o n F r a m e w o r k [ p a g e 4 0 ] .
D e p e n d i n g o n t h e s e l e c t e d d a t a b a s e p l a t f o r m , o n l y a s u b s e t o f o p t i o n s m i g h t b e a v a i l a b l e .
S u m m a r y S u m m a r i z e s a l l a c t i o n s t o b e p e r f o r m e d T o s a v e y o u r e n t r i e s , c h o o s e t h e E x e c u t e p u s h b u t t o n .
E x e c u t i o n P r o t o c o l S u m m a r i z e s a l l p e r f o r m e d a c t i o n s i n c l u d i n g e r r o r m e s s a g e s T o e x i t t h e w i z a r d , c h o o s e t h e F i n i s h p u s h b u t t o n a n d r e t u r n t o t h e S y s t e m C o n f i g u r a t i o n s c r e e n .
3 . O p t i o n a l : I f y o u w a n t t o c h a n g e a n e x i s t i n g c o n f i g u r a t i o n e n t r y , s e l e c t t h e s y s t e m e n t r y i n t h e o v e r v i e w l i s t
a n d c h o o s e t h e C h a n g e p u s h b u t t o n .
I n t h e d i a l o g b o x C h a n g e S y s t e m C o n f i g u r a t i o n E n t r y , e n t e r a n d s a v e y o u r c h a n g e s .
4 . O p t i o n a l :
I f y o u w a n t t o d e l e t e a c o n f i g u r a t i o n e n t r y , s e l e c t t h e s y s t e m e n t r y i n t h e o v e r v i e w l i s t , c h o o s e t h e
D e l e t e p u s h b u t t o n a n d c o n f i r m t h e d e l e t i o n .
4 . 6 . 5 E n a b l i n g t h e D a t a b a s e f o r t h e D a t a C o l l e c t i o n F r a m e w o r k
A f t e r a s y s t e m h a s b e e n c o n f i g u r e d i n t h e D B A C o c k p i t , t h e d a t a b a s e t o b e m o n i t o r e d n e e d s a d d i t i o n a l
i n s t r u m e n t a t i o n t o e n a b l e t h e t i m e - b a s e d c o l l e c t i o n a n d e v a l u a t i o n o f d a t a r e l a t e d t o p e r f o r m a n c e ,
c o n f i g u r a t i o n , a n d s p a c e .
T o i n s t r u m e n t t h i s d a t a c o l l e c t i o n f r a m e w o r k ( D C F ) , a s e p a r a t e s c h e m a i s c r e a t e d i n t h e m o n i t o r e d
d a t a b a s e t h a t c o n t a i n s a l l r e l e v a n t m o n i t o r i n g o b j e c t s , s u c h a s :
n A s e t o f t a b l e s t h a t k e e p t h e h i s t o r y
4 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 41/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
n T a b l e s p a c e s t o s t o r e t h e s e m o n i t o r i n g t a b l e s
n A s e t o f s t o r e d p r o c e d u r e s t o c o l l e c t d a t a o n a r e g u l a r b a s i s
n I n c a s e o f a n S A P s y s t e m , a w o r k p r o c e s s - b a s e d w o r k l o a d m a n a g e m e n t c o n f i g u r a t i o n i s a p p l i e d .
R e g a r d l e s s w h e t h e r t h e d a t a b a s e h a s b e e n c o n f i g u r e d f o r m o n i t o r i n g u s i n g S A P S o l u t i o n M a n a g e r
o r u s i n g t h e D B A C o c k p i t , t h e f i r s t t i m e y o u s e l e c t a d a t a b a s e s y s t e m f o r m o n i t o r i n g i n t h e D B A
C o c k p i t , t h e e x i s t e n c e o f t h e D C F i s c h e c k e d .
I f t h e D C F d o e s n o t y e t e x i s t , i t i s a u t o m a t i c a l l y s e t u p i f t h e d a t a b a s e i s e n a b l e d f o r a u t o m a t i c s t o r a g e
m a n a g e m e n t o r t h e r e q u i r e d t a b l e s p a c e s h a v e a l r e a d y b e e n c r e a t e d .
I f t h e D C F c a n n o t a u t o m a t i c a l l y b e s e t u p b e c a u s e o f m i s s i n g t a b l e s p a c e s o r i n s u f f i c i e n t p r i v i l e g e s
o f t h e m o n i t o r i n g u s e r , t h e D B A C o c k p i t i n i t i a l l y d i s p l a y s t h e a p p r o p r i a t e c o n f i g u r a t i o n s c r e e n
w h e r e y o u c a n p e r f o r m t h e r e q u i r e d s e t u p s t e p s a s d e s c r i b e d i n S e t t i n g U p t h e D a t a C o l l e c t i o n F r a m e w o r k
( D C F ) M a n u a l l y . . A l l s e t t i n g s f o r t h e i n s t r u m e n t a t i o n , f o r e x a m p l e , r e c u r r e n c e p a t t e r n s f o r t h e s c h e d u l e d d a t a
c o l l e c t o r s a n d t h e a m o u n t o f d a t a t o b e c o l l e c t e d a r e d e t e r m i n e d b y t e m p l a t e s . S A P p r o v i d e s t h e
f o l l o w i n g s t a n d a r d t e m p l a t e s :
n S A P D e f a u l t
M o s t o f t h e d a t a c o l l e c t o r s r u n h o u r l y . T h e s l i d i n g w i n d o w i s s e t t o t w o w e e k s e x c e p t f o r t h e
m o s t i m p o r t a n t t a b l e s a n d i n d e x e s .
n S A P D e t a i l e d
M o s t o f t h e d a t a c o l l e c t o r s r u n q u a r t e r - h o u r l y . T h e s l i d i n g w i n d o w i s s e t t o t w o w e e k s e x c e p t f o r
t h e m o s t i m p o r t a n t t a b l e s a n d i n d e x e s .
B y m o d i f y i n g t h e s e t e m p l a t e s , y o u c a n i n f l u e n c e t h e a u t o m a t i c s e t u p o f t h e D C F .
F o r m o r e i n f o r m a t i o n , s e e M a i n t a i n i n g T e m p l a t e s f o r t h e D C F [ p a g e ] .
4 . 6 . 6 S e t t i n g U p t h e D a t a C o l l e c t i o n F r a m e w o r k ( D C F ) M a n u a l l y
T h e D C F i s s e t u p i n d i v i d u a l l y f o r e a c h d a t a b a s e b a s e d o n t h e d a t a b a s e v e r s i o n , t h e u s a g e t y p e o f t h e
d a t a b a s e , a n d t h e S A P c o d i n g . T o s e t u p t h e D C F m a n u a l l y , y o u c a n e i t h e r u s e a t e m p l a t e o r a c t i v a t e
a n d c o n f i g u r e i n d i v i d u a l h i s t o r y d a t a c o l l e c t o r s .
R e c o m m e n d a t i o n
W e r e c o m m e n d t h a t y o u u s e t e m p l a t e s t o e n s u r e t h a t d a t a i s c o l l e c t e d h o m o g e n e o u s l y i n y o u r
s y s t e m l a n d s c a p e . O n l y i n r a r e c a s e s , i t m i g h t b e a d v i s a b l e t h a t y o u c o n f i g u r e i n d i v i d u a l h i s t o r y
d a t a c o l l e c t o r s .
1 . C a l l t h e D B A C o c k p i t , a n d o n t h e D a t a b a s e t a b p a g e , c h o o s e C o n f i g u r a t i o n D a t a C o l l e c t i o n
F r a m e w o r k C o l l e c t o r C o n f i g u r a t i o n .
1 2 / 1 8 / 2 0 1 2 P U B L I C 4 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 42/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
T h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n a p p e a r s .
2 . C h o o s e t h e I m p l e m e n t T e m p l a t e p u s h b u t t o n .
T h e I m p l e m e n t T e m p l a t e d i a l o g b o x a p p e a r s . T h e d e f a u l t t e m p l a t e i s m a r k e d w i t h a n a s t e r i s k ( * ) . B y d e f a u l t , d e p r e c a t e d f u n c t i o n s a r e p r e s e l e c t e d f o r d i s a b l i n g . I f y o u w a n t t o k e e p a n y o l d s e t t i n g s ,
d e s e l e c t t h e r e l e v a n t c h e c k b o x e s .
N o t e
T h e o p t i o n t o d i s a b l e d e p r e c a t e d f u n c t i o n s o r t o k e e p t h e m i s o n l y a v a i l a b l e i f t h e r e a r e d e p r e c a t e d
f u n c t i o n s t h a t a r e c u r r e n t l y a c t i v e b u t r e c o m m e n d e d f o r d i s a b l i n g .
3 . T o s e t u p t h e t e m p l a t e i n t h e m o n i t o r e d d a t a b a s e , c h o o s e t h e I m p l e m e n t p u s h b u t t o n .
F o r m o r e i n f o r m a t i o n , r e f e r t o C o n f i g u r a t i o n : D a t a C o l l e c t i o n F r a m e w o r k .
4 . 6 . 7 C o n f i g u r i n g D a t a b a s e C o n n e c t i o n s
T h i s s e c t i o n d e s c r i b e s h o w y o u s e t a n d m a i n t a i n t e c h n i c a l a t t r i b u t e s f o r r e m o t e d a t a b a s e c o n n e c t i o n s
o n t h e D a t a b a s e C o n n e c t i o n s s c r e e n i n t h e D B A C o c k p i t . T h e D B A C o c k p i t u s e s t h e s e c o n n e c t i o n s
f o r a d m i n i s t r a t i o n a n d m o n i t o r i n g o r f o r a p p l i c a t i o n p r o g r a m s t h a t u s e s e c o n d a r y c o n n e c t i o n s
t o e x t e r n a l d a t a b a s e s .
U s u a l l y , n e w c o n n e c t i o n s a r e c r e a t e d d u r i n g t h e s y s t e m c o n f i g u r a t i o n o n t h e S y s t e m C o n f i g u r a t i o n
s c r e e n a s d e s c r i b e d i n C o n f i g u r i n g S y s t e m s f o r R e m o t e M o n i t o r i n g M a n u a l l y [ p a g e 3 7 ] a n d , t h e r e f o r e , d o n o t h a v e t o b e c r e a t e d o n t h e D a t a b a s e C o n n e c t i o n s s c r e e n .
Y o u c a n a l s o u s e t h e D a t a b a s e C o n n e c t i o n s s c r e e n t o s e t u p d a t a b a s e c o n n e c t i o n s t h a t a r e u s e d f o r
n o n - m o n i t o r i n g c o m p o n e n t s , f o r e x a m p l e , f o r t h e a c c e s s t o e x t e r n a l d a t a r e s o u r c e s b y B W .
1 . C a l l t h e D B A C o c k p i t a n d o n t h e S y s t e m L a n d s c a p e t a b p a g e , c h o o s e D a t a b a s e C o n n e c t i o n s .
T h e D a t a b a s e C o n n e c t i o n s s c r e e n a p p e a r s d i s p l a y i n g a l i s t o f a l l a v a i l a b l e d a t a b a s e c o n n e c t i o n
d e f i n i t i o n s g r o u p e d b y d a t a b a s e p l a t f o r m :
C o l u m n D e s c r i p t i o n
R e m o t e D a t a b a s e C o n n e c t i o n N a m e o f t h e d a t a b a s e c o n n e c t i o n
N o t e
T h i s i s a u n i q u e n a m e t h a t y o u c a n f r e e l y c h o o s e .
D B N a m e N a m e o f t h e d a t a b a s e
D B H o s t N a m e o f t h e d a t a b a s e h o s t
D B S c h e m a N a m e o f t h e d a t a b a s e s c h e m a t o b e m o n i t o r e d
U s e r N a m e N a m e o f t h e c o n n e c t u s e r
4 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 43/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
C o l u m n D e s c r i p t i o n
P e r m a n e n t S p e c i f i e s w h e t h e r t h e c o n n e c t u s e r m u s t b e p e r m a n e n t l y a v a i l a b l e
M a x . C o n n e c t i o n s M a x i m u m a l l o w e d n u m b e r o f o p e n c o n n e c t i o n s
O p t . C o n n e c t i o n s O p t i m a l n u m b e r o f c o n n e c t i o n s
B y d e f a u l t , t h e d a t a b a s e c o n n e c t i o n s t h a t a r e d e f i n e d i n t h e l o c a l s y s t e m a r e d i s p l a y e d .
2 . T o a d d a d a t a b a s e c o n n e c t i o n , c h o o s e t h e A d d p u s h b u t t o n .
T h e A d d C o n n e c t i o n E n t r y d i a l o g b o x a p p e a r s .
3 . I n t h e A d d C o n n e c t i o n E n t r y d i a l o g b o x , e n t e r t h e f o l l o w i n g :
n I n t h e C o n n e c t i o n N a m e f i e l d , s p e c i f y t h e n a m e o f t h e c o n n e c t i o n .
N o t e
T h i s n a m e i s a u n i q u e I D t h a t y o u c a n c h o o s e f r e e l y e x c e p t f o r n a m e s t h a t a r e r e s e r v e d b y
S A P f o r g e n e r a t e d c o n n e c t i o n s . T h e s e c a n b e , f o r e x a m p l e , a d m i n i s t r a t o r c o n n e c t i o n s o r
c o n n e c t i o n s t h a t a r e u s e d b y s y s t e m s f r o m t h e s y s t e m l a n d s c a p e d i r e c t o r y ( S L D ) .
n I n t h e D a t a b a s e S y s t e m f i e l d , s e l e c t t h e n a m e o f t h e d a t a b a s e p l a t f o r m f r o m t h e d r o p d o w n l i s t .
n I n t h e C o n n e c t i o n M a x i m u m f i e l d , e n t e r a n a p p r o p r i a t e v a l u e . T h i s v a l u e l i m i t s t h e n u m b e r o f
d a t a b a s e c o n n e c t i o n s t h a t a r e c u r r e n t l y h e l d b y t h e S A P s y s t e m . T h e S A P s y s t e m d o e s n o t
l e t y o u e x c e e d t h i s l i m i t .
n I n t h e C o n n e c t i o n O p t i m u m f i e l d , e n t e r a n a p p r o p r i a t e v a l u e . T h i s v a l u e i s a m o r e f l e x i b l e l i m i t
t h a t c a n b e e x c e e d e d .
n I f y o u w a n t t h e c o n n e c t i o n t o b e m a n d a t o r y f o r t h e S A P s y s t e m , s e l e c t t h e P e r m a n e n t c h e c k b o x .
T h i s p a r a m e t e r d e f i n e s t h e a v a i l a b i l i t y o f t h e d a t a b a s e c o n n e c t i o n . I t i s t h e n h a n d l e d i n t h e
s a m e w a y a s t h e l o c a l d e f a u l t c o n n e c t i o n , t h a t i s , i f t h i s d a t a b a s e c o n n e c t i o n i s n o t a v a i l a b l e f o r
a w o r k p r o c e s s , t h e w o r k p r o c e s s o f t h e S A P s y s t e m c a n n o t r u n .
C a u t i o n
Y o u s h o u l d s e t t h i s p a r a m e t e r o n l y i f t h e c o n n e c t i o n i s a b s o l u t e l y r e q u i r e d t o r u n y o u r S A P s y s t e m .
n I n t h e U s e r N a m e f i e l d , e n t e r t h e n a m e o f t h e c o n n e c t u s e r . M a k e s u r e t h a t y o u c h o o s e a u s e r
w i t h t h e a p p r o p r i a t e a u t h o r i z a t i o n s . F o r m o r e i n f o r m a t i o n , s e e M a i n t e n a n c e A c t i o n s i n t h e D B A
C o c k p i t .
n I n t h e P a s s w o r d f i e l d , e n t e r a p a s s w o r d f o r t h e c o n n e c t u s e r a n d c o n f i r m i t i n t h e a p p r o p r i a t e f i e l d .
n I n t h e p a r a m e t e r t a b l e , s p e c i f y t h e f o l l o w i n g a d d i t i o n a l d a t a b a s e - s p e c i f i c p a r a m e t e r v a l u e s :
A t t r i b u t e D e s c r i p t i o n
D a t a b a s e N a m e N a m e o f t h e d a t a b a s e
1 2 / 1 8 / 2 0 1 2 P U B L I C 4 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 44/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
A t t r i b u t e D e s c r i p t i o n
S e r v i c e N a m e N a m e o r n u m b e r o f t h e s e r v i c e T h i s v a l u e c o r r e s p o n d s t o t h e p a r a m e t e r S V C E N A M E
o f t h e d a t a b a s e m a n a g e r c o n f i g u r a t i o n ( D B M ) o f t h e r e m o t e d a t a b a s e .
D a t a b a s e H o s t N a m e o f t h e r e m o t e d a t a b a s e s e r v e r
S c h e m a N a m e N a m e o f t h e s c h e m a t o b e m o n i t o r e d
N o t e
I f y o u o m i t t h i s f i e l d , t h e n a m e o f t h e S A P c o n n e c t u s e r i s u s e d a s s c h e m a .
4 . T o s a v e y o u r e n t r i e s , c h o o s e t h e A d d p u s h b u t t o n .
5 . T o c h a n g e a d a t a b a s e c o n n e c t i o n , e x p a n d t h e r e s p e c t i v e d a t a b a s e p l a t f o r m i n t h e R e m o t e D a t a b a s e
C o n n e c t i o n c o l u m n , s e l e c t a c o n n e c t i o n , a n d c h o o s e t h e C h a n g e p u s h b u t t o n .
T h e C h a n g e C o n n e c t i o n E n t r y d i a l o g b o x a p p e a r s .
6 . E n t e r y o u r c h a n g e s i n t h e a p p r o p r i a t e f i e l d s a n d c h o o s e S a v e .
7 . T o c h e c k i f y o u h a v e e n t e r e d t h e c o r r e c t u s e r a n d p a s s w o r d i n f o r m a t i o n a s w e l l a s t h e c o r r e c t
t e c h n i c a l c o n n e c t i o n d a t a , y o u c a n t e s t a d a t a b a s e c o n n e c t i o n . T o d o s o , s e l e c t a c o n n e c t i o n a n d
c h o o s e t h e T e s t p u s h b u t t o n .
T h e t e s t r e s u l t i s d i s p l a y e d i n t h e C o n n e c t i o n T e s t P r o t o c o l i n t h e c o n t e n t d e t a i l a r e a .
8 . T o d e l e t e a c o n n e c t i o n , s e l e c t a c o n n e c t i o n a n d c h o o s e t h e D e l e t e p u s h b u t t o n .
C a u t i o n
I f t h e s e l e c t e d d a t a b a s e c o n n e c t i o n i s s t i l l u s e d b y a s y s t e m t h a t i s r e g i s t e r e d i n t h e D B A C o c k p i t ,
y o u c a n n o t d e l e t e i t .
4 . 6 . 8 C o n f i g u r i n g S y s t e m s f o r R e m o t e M o n i t o r i n g U s i n g t h e S y s t e m L a n d s c a p e D i r e c t o r y ( S L D )
T h e s y s t e m l a n d s c a p e d i r e c t o r y ( S L D ) c o n t a i n s d a t a f r o m a l l d a t a b a s e s y s t e m s t h a t a r e a v a i l a b l e i n
y o u r s y s t e m l a n d s c a p e . Y o u c a n u s e t h i s d a t a t o s e t u p t h e s y s t e m c o n f i g u r a t i o n i n t h e D B A C o c k p i t
i n s t e a d o f s e t t i n g i t u p m a n u a l l y o r u s i n g S A P S o l u t i o n M a n a g e r .
W h e n y o u s e t u p t h e D B A C o c k p i t f o r t h e f i r s t t i m e , y o u u s e t h i s p r o c e d u r e t o i m p o r t t h e a p p r o p r i a t e
d a t a f r o m t h e S L D . D u r i n g p r o d u c t i o n o p e r a t i o n , y o u u s e t h e p r o c e d u r e t o s y n c h r o n i z e t h e d a t a
b e t w e e n t h e S L D a n d t h e D B A C o c k p i t p e r i o d i c a l l y .
4 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 45/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
N o t e
W e r e c o m m e n d t h a t y o u o n l y u s e t h e S L D f o r t h e s e t u p o f y o u r s y s t e m l a n d s c a p e i f S A P S o l u t i o n
M a n a g e r i s n o t a v a i l a b l e .
1 . T o i m p o r t d a t a b a s e c o n n e c t i o n d a t a f r o m t h e S L D , c a l l t h e D B A C o c k p i t .
2 . O n t h e S y s t e m L a n d s c a p e t a b p a g e , c h o o s e S L D S y s t e m I m p o r t .
T h e S L D S y s t e m I m p o r t s c r e e n a p p e a r s . D e p e n d i n g o n t h e s y s t e m l a n d s c a p e , o n e o r m o r e o f t h e
f o l l o w i n g n o d e s a r e d i s p l a y e d :
n N e w D a t a b a s e S y s t e m s i n t h e S L D
A l l d a t a b a s e s y s t e m s t h a t a r e r e g i s t e r e d i n t h e S L D a n d t h a t s o f a r h a v e b e e n u n k n o w n t o t h e
D B A C o c k p i t a r e d i s p l a y e d .
n C h a n g e d S y s t e m s F r o m E a r l i e r S L D I m p o r t s A l l d a t a b a s e s y s t e m s f o r w h i c h t h e m a i n d a t a d i f f e r s b e t w e e n t h e S L D a n d t h e D B A C o c k p i t a r e
d i s p l a y e d .
n S y s t e m s N o L o n g e r R e g i s t e r e d i n t h e S L D
A l l s y s t e m s t h a t w e r e o r i g i n a l l y i m p o r t e d f r o m t h e S L D i n t o t h e D B A C o c k p i t b u t t h a t a r e n o
l o n g e r r e g i s t e r e d i n t h e S L D a r e d i s p l a y e d .
n S y s t e m s I d e n t i c a l i n t h e S L D a n d i n t h e D B A C o c k p i t
A l l s y s t e m s t h a t a r e r e g i s t e r e d i n t h e S L D a n d t h a t a r e i d e n t i c a l i n t h e D B A C o c k p i t a r e
d i s p l a y e d .
n U n s u p p o r t e d D a t a b a s e S y s t e m s i n t h e S L D
A l l d a t a b a s e s y s t e m s t h a t a r e r e g i s t e r e d i n t h e S L D b u t n o t s u p p o r t e d b y t h e D B A C o c k p i t a r e d i s p l a y e d .
N o t e
E a c h d a t a b a s e s y s t e m i s d e s c r i b e d a s f o l l o w s :
< N a m e ( s y s t e m I D ) o f t h e d a t a b a s e s y s t e m > o n < m a i n d a t a b a s e h o s t > ( < d a t a b a s e
p l a t f o r m > )
3 . T o i m p o r t d a t a b a s e s y s t e m d a t a , c h o o s e t h e C h a n g e p u s h b u t t o n .
T h e a c t i o n s a l l o w e d f o r e a c h d a t a b a s e s y s t e m a r e d i s p l a y e d i n t h e s e c o n d c o l u m n o f t h e t r e e .
4 . S e l e c t t h e a c t i o n s t h a t y o u w a n t t o e x e c u t e f o r t h e s e l e c t e d d a t a b a s e s y s t e m s a n d c h o o s e t h e I m p o r t
p u s h b u t t o n . B y d e f a u l t , o n l y t h e i m p o r t o f n e w d a t a b a s e s y s t e m s i s s e l e c t e d .
T h e s e l e c t e d a c t i o n s a r e e x e c u t e d . A s h o r t m e s s a g e f o r e a c h e x e c u t e d a c t i o n i s d i s p l a y e d i n t h e
c o n t e n t d e t a i l a r e a .
1 2 / 1 8 / 2 0 1 2 P U B L I C 4 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 46/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
N o t e
C o n n e c t i o n d a t a t h a t i s r e t r i e v e d f r o m t h e S L D m i g h t n o t b e c o m p l e t e f o r o n e o f t h e f o l l o w i n g
r e a s o n s :
n D e p e n d i n g o n t h e d a t a p r o v i d e d b y a s y s t e m t o t h e S L D , s o m e c o n n e c t i o n d a t a c a n b e
i n c o m p l e t e .
n U s e r o r p a s s w o r d d a t a i s n o t a v a i l a b l e v i a S L D .
W h e n y o u e s t a b l i s h t h e c o n n e c t i o n t o a n i m p o r t e d s y s t e m f o r t h e f i r s t t i m e , t h e D B A C o c k p i t
c h e c k s t h e c o m p l e t e n e s s o f t h e c o n f i g u r e d s y s t e m . T h i s m e a n s t h a t y o u a r e p r o m p t e d f o r u s e r ,
p a s s w o r d , a n d c o n n e c t i o n i n f o r m a t i o n , i f n e c e s s a r y . I f a d d i t i o n a l c o n n e c t i o n i n f o r m a t i o n i s
r e q u i r e d , e n t e r t h e r e q u i r e d d a t a a s d e s c r i b e d i n C o n f i g u r i n g D a t a b a s e C o n n e c t i o n s [ p a g e 4 2 ] .
4 . 6 . 9 U s i n g t h e C e n t r a l C a l e n d a r
Y o u c a n u s e t h e C e n t r a l C a l e n d a r i n t h e D B A C o c k p i t t o v i e w a c t i o n s o n a l l t h e d a t a b a s e s o f y o u r
S A P S y s t e m s .
P r e r e q u i s i t e s
n Y o u h a v e d e f i n e d t h e s y s t e m s t o b e d i s p l a y e d i n t h e C e n t r a l C a l e n d a r b y d o u b l e - c l i c k i n g t h e
r e q u i r e d s y s t e m i n t h e s c r e e n D B A C o c k p i t : S y s t e m C o n f i g u r a t i o n M a i n t e n a n c e a n d s e l e c t i n g C o l l e c t C e n t r a l
P l a n n i n g C a l e n d a r D a t a .
n I n t h e D B A P l a n n i n g C a l e n d a r o f t h e D B A C o c k p i t w h e r e y o u c a l l t h e C e n t r a l C a l e n d a r , y o u h a v e
p l a n n e d t h e a c t i o n C e n t r a l C a l e n d a r L o g C o l l e c t o r t o r u n r e g u l a r l y . T h i s c o l l e c t s i n f o r m a t i o n f r o m
t h e d e f i n e d r e m o t e s y s t e m s f o r d i s p l a y i n t h e C e n t r a l C a l e n d a r .
F o r m o r e i n f o r m a t i o n , s e e S e t t i n g U p t h e D B A P l a n n i n g C a l e n d a r .
1 . S t a r t t h e C e n t r a l C a l e n d a r f r o m t h e D B A C o c k p i t b y c h o o s i n g J o b s C e n t r a l C a l e n d a r .
T h e C e n t r a l C a l e n d a r i s d i s p l a y e d . I f y o u h a v e a l r e a d y r u n o r p l a n n e d a c t i o n s , y o u s e e e n t r i e s
b y d a y , o n e f o r e a c h s y s t e m .
H e r e i s a n e x a m p l e o f e n t r i e s f o r T h u r s d a y F e b r u a r y , 0 8 ( f o r e x a m p l e ) a f f e c t i n g t w o s y s t e m s , F U D
a n d F I B :
3 F U D 2
4 F I B 1
4 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 47/116
4 T h e D B A C o c k p i t
4 . 6 M a n a g i n g t h e S y s t e m L a n d s c a p e
N o t e
O n s y s t e m F U D f o r T h u r s d a y 8 t h J a n u a r y , t h e r e w e r e t h r e e a c t i o n s p l a n n e d , t w o o f w h i c h h a d
t h e h i g h e s t s t a t u s s e v e r i t y . F o r e x a m p l e , t h e h i g h e s t s t a t u s s e v e r i t y f o r F U D m i g h t b e " F i n i s h e d
w i t h w a r n i n g " , i n w h i c h c a s e t h e e n t r y f o r F U D i s d i s p l a y e d w i t h a y e l l o w b a c k g r o u n d . T h i s
m e a n s t h a t t w o a c t i o n s e n d e d w i t h a w a r n i n g .
O n s y s t e m F I B f o r t h e s a m e d a y , t h e r e w e r e f o u r a c t i o n s p l a n n e d , o n e o f w h i c h e n d e d w i t h
t h e h i g h e s t s e v e r i t y . F o r e x a m p l e , t h e h i g h e s t s e v e r i t y f o r F I B m i g h t b e " F i n i s h e d w i t h e r r o r " ,
i n w h i c h c a s e t h e e n t r y f o r F I B i s d i s p l a y e d w i t h a r e d b a c k g r o u n d . T h i s m e a n s t h a t o n e a c t i o n
e n d e d w i t h a n e r r o r .
T h e f o l l o w i n g t a b l e s h o w s t h e c o l o r - c o d e d s t a t u s e s i n t h e C e n t r a l C a l e n d a r , w h i c h y o u c a n a l s o
s e e b y c h o o s i n g L e g e n d :
C o l o r S t a t u s
L i g h t b l u e P l a n n e d
D a r k b l u e R u n n i n g
G r e e n F i n i s h e d s u c c e s s f u l l y
Y e l l o w F i n i s h e d w i t h w a r n i n g
R e d F i n i s h e d w i t h e r r o r
D a r k y e l l o w N o l o n g e r a v a i l a b l e
D a r k r e d S c h e d u l i n g f a i l e d
2 . T o s e e a s u m m a r y o f t h e a c t i o n s f o r a d a y , d o u b l e - c l i c k t h e d a y h e a d e r .
T h e s y s t e m d i s p l a y s a s u m m a r y o f t h e a c t i o n s a n d s t a t u s f o r e a c h s y s t e m o n t h e d a y y o u s e l e c t e d ,
a s i n t h e f o l l o w i n g e x a m p l e :
E x a m p l e :
S y s t e m T o t a l N o l o n g e r a v a i l a b l e
S c h e d - u l e d
R u n n i n g F i n i s h e d W a r n i n g E r r o r O v e r d u e
F U D 3 1 2
F I B 4 3 1
3 . T o s e e t h e i n d i v i d u a l a c t i o n s f o r a s y s t e m , d o u b l e - c l i c k t h e e n t r y f o r t h e s y s t e m o n t h e r e q u i r e d d a y .
Y o u s e e t h e r e l e v a n t d a y i n t h e D B A P l a n n i n g C a l e n d a r . Y o u c a n p e r f o r m a l l u s u a l f u n c t i o n s i n
t h e D B A P l a n n i n g C a l e n d a r .
4 . T o r e f r e s h t h e d i s p l a y f o r t h e s y s t e m f r o m w h i c h y o u c a l l e d t h e C e n t r a l C a l e n d a r , c h o o s e R e f r e s h .
5 . T o r e f r e s h t h e d i s p l a y f o r a l l s y s t e m s , c h o o s e R e m o t e R e f r e s h .
Y o u c a n r e m o t e l y r e f r e s h t h e d i s p l a y a s f o l l o w s :
1 2 / 1 8 / 2 0 1 2 P U B L I C 4 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 48/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
M e t h o d H o w t h e R e f r e s h R u n s
R u n i n D i a l o g R u n s i n d i a l o g m o d e , w h i c h c a n t a k e a l o n g t i m e , s o n o t r e c o m m e n d e d
S t a r t i m m e d i a t e l y R u n s i m m e d i a t e l y i n t h e b a c k g r o u n d a s a j o b
S c h e d u l e a t R u n s i n t h e b a c k g r o u n d a t t h e t i m e t h a t y o u s p e c i f y
R e c o m m e n d a t i o n
W e r e c o m m e n d t h a t y o u s c h e d u l e a c t i o n C e n t r a l C a l e n d a r L o g C o l l e c t o r t o r u n r e g u l a r l y , a s d e s c r i b e d
a b o v e i n " P r e r e q u i s i t e s " .
6 . I f r e q u i r e d , y o u c a n c u s t o m i z e t h e c a l e n d a r d i s p l a y a s f o l l o w s :
a ) S p e c i f y a f a c t o r y c a l e n d a r i n C a l e n d a r I D . H o l i d a y s a r e d i s p l a y e d i n t h e s a m e b a c k g r o u n d c o l o r a s w e e k e n d d a y s . T h i s i n n o w a y r e s t r i c t s
t h e p l a n n i n g o f a c t i o n s i n t h e D B A P l a n n i n g C a l e n d a r .
b ) S w i t c h t o d a y , w e e k , o r m o n t h v i e w b y c h o o s i n g A d m i n i s t r a t i o n V i e w D a y , A d m i n i s t r a t i o n
V i e w W e e k , o r A d m i n i s t r a t i o n V i e w M o n t h .
c ) C h o o s e S a v e S e t t i n g s a n d c h a n g e N u m b e r o f W e e k s o r E n t r i e s p e r D a y i n t h e d i s p l a y .
4 . 7 P e r f o r m a n c e
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t t h e m a i n t a s k a r e a s t h a t a r e a v a i l a b l e u n d e r P e r f o r m a n c e o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
n A S E S e r v e r
n T h r e a d s
n P r o c e s s e s
n S y s t e m W a i t s
n S y s t e m L o a d
n T e m p o r a r y D a t a b a s e A c t i v i t y
n D a t a C a c h e U s a g e
n T a b l e s
n P r o c e d u r e C a c h e U s a g e
n S Q L S t a t e m e n t s
4 . 7 . 1 P e r f o r m a n c e : A S E S e r v e r
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t s y s t e m t h r e a d s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e A S E S e r v e r o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
4 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 49/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
N o t e
T o m o n i t o r d a t a o n t h e A S E S e r v e r s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t i o n f r a m e w o r k
( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a w a r n i n g i s d i s p l a y e d
w i t h a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n . T h e r e y o u c a n p e r f o r m t h e r e q u i r e d s t e p s . F o r m o r e
i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t t h e p e r f o r m a n c e o v e r v i e w
t o b e d i s p l a y e d .
F i g u r e 8 : A S E S e r v e r O v e r v i e w
4 . 7 . 2 P e r f o r m a n c e : T h r e a d s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t s y s t e m t h r e a d s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e T h r e a d s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e T h r e a d s s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t i o n f r a m e w o r k
( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a w a r n i n g i s d i s p l a y e d
w i t h a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n . T h e r e y o u c a n p e r f o r m t h e r e q u i r e d s t e p s . F o r m o r e
i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
T h r e a d p o o l s g r o u p C P U r e s o u r c e s , a n d c o n t a i n t h r e a d s u s e d t o e x e c u t e S y b a s e A S E t a s k s a s s o c i a t e d
w i t h t h a t t h r e a d p o o l . T h r e a d s h o s t e n g i n e s t h a t e x e c u t e u s e r t a s k s , r u n s p e c i f i c j o b s , a n d p r o c e s s
1 2 / 1 8 / 2 0 1 2 P U B L I C 4 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 50/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
r e q u e s t s f r o m a w o r k q u e u e . A d a p t i v e S e r v e r c o n t a i n s s y s t e m - d e f i n e d t h r e a d p o o l s a n d , i f p r e s e n t ,
u s e r - c r e a t e d t h r e a d p o o l s . T h r e a d p o o l s a r e a v a i l a b l e o n l y w h e n S y b a s e A S E i s c o n f i g u r e d f o r
t h r e a d e d m o d e . S y b a s e A S E i n c l u d e s t h e f o l o w i n g s y s t e m - d e f i n e d t h r e a d p o o l s :
T h r e a d p o o l : D e s c r i p t i o n :
s y b _ d e f a u l t _ p o o l T h e d e f a u l t e n g i n e t h r e a d p o o l . E a c h t h r e a d i n s y b _ d e f a u l t _ p o o l i s a n e n g i n e . A l l u s e r t a s k s a n d a l l m u l t i p l e x e d s y s t e m t a s k s ( s u c h a s t h e h o u s e k e e p e r ) r u n i n s y b _ d e f a u l t _ p o o l . H o w e v e r , y o u c a n m o v e s o m e t a s k s o u t o f s y b _ d e f a u l t _ p o o l b y c r e a t i n g a d d i t i o n a l t h r e a d p o o l s .
s y b _ s y s t e m _ p o o l E a c h t h r e a d i n s y b _ s y s t e m _ p o o l i s a s y s t e m t h r e a d a n d
i s d e d i c a t e d t o r u n a s p e c i f i c t a s k . s y b _ s y s t e m _ p o o l c o n t a i n s a t l e a s t o n e t h r e a d f o r t h e s y s t e m c l o c k a n d o t h e r a s y n c h r o n o u s s i g n a l s . A l l I / O h a n d l i n g t h r e a d s r u n i n s y b _ s y s t e m _ p o o l .
s y b _ b l o c k i n g _ p o o l S y b _ b l o c k i n g _ p o o l i s u s e d t o p r o c e s s b l o c k i n g c a l l r e q u e s t s f r o m m u l t i p l e x e d t a s k s , w h i c h a r e n o r m a l l y o p e r a t i n g s y s t e m c a l l s t h a t m a y c a u s e a m u l t i p l e x e d
‒ o r e n g i n e ‒ t h r e a d t o b l o c k f o r a n u n a c c e p t a b l e a m o u n t o f t i m e . T h r e a d s i n s y b _ b l o c k i n g _ p o o l t y p i c a l l y c o n s u m e v e r y f e w C P U r e s o u r c e s .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t s y s t e m t h r e a d s t o b e d i s p l a y e d . A f t e r h a v i n g a p p l i e d y o u r s e l e c t i o n , y o u c a n r e v i e w t h e t h r e a d s t h a t o c c u r r e d i n t h e g i v e n t i m e f r a m e
a n d t h a t w e r e c a p t u r e d b y t h e r e l a t e d d a t a c o l l e c t o r . T o r e v i e w t h e p e r f o r m a n c e o f a g g r e g a t e d
t h r e a d s , c h o o s e G r o u p T h r e a d s b y P o o l N a m e .
F o r e a c h s y s t e m t h r e a d , t h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n : D e s c r i p t i o n :
T h r e a d P o o l N a m e O n l y s y s t e m t h r e a d p o o l s c a n s t a r t w i t h t h e s y b _ p r e f i x .
T a s k : R u n s T h r e a d s a r e u s e d t o e x e c u t e A d a p t i v e S e r v e r t a s k s
a s s o c i a t e d w i t h t h e t h r e a d p o o l s . T h e n u m b e r s h o w s h o w o f t e n t h e s e t a s k s h a v e b e e n e x e c u t e d .
I d l e P e r c e n t a g e s h a r e o f i d l e t i m e
S l e e p A m o u n t o f t i m e ( i n % ) t h a t t h e t h r e a d h a s w a i t e d f o r a n e v e n t
B u s y A m o u n t o f t i m e ( i n % ) t h a t t h e t h r e a d h a s r u n
U s e r T i m e ( m s ) T h r e a d u s e r C P U t i m e i n m i l l i s e c o n d s
S y s t e m T i m e ( m s ) T h r e a d s y s t e m C P U t i m e i n m i l l i s e c o n d s
5 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 51/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e . T h e C h a r t t a b
s h o w s t h e d e t a i l s o f t h e t h r e a d a n a l y s i s i n a g r a p h i c a l r e p r e s e n t a t i o n . T h e S u m m a r y t a b c o n t a i n s g e n e r a l i n f o r m a t i o n , t h e d e s c r i p t i o n o f t h e t h r e a d a n d t h e r e c o m m e n d e d a c t i o n . T h e D e t a i l s t a b p r o v i d e s a n
o v e r v i e w o n a n h o u r l y , d a i l y o r w e e k l y b a s i s .
M o r e I n f o r m a t i o n
h t t p : / / i n f o c e n t e r . s y b a s e . c o m / h e l p / i n d e x . j s p ? t o p i c =
/ c o m . s y b a s e . i n f o c e n t e r . d c 3 1 6 4 4 . 1 5 7 0 / h t m l / s a g 2 / B A B C A J G F . h t m
4 . 7 . 3 P e r f o r m a n c e : P r o c e s s e s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t d a t a b a s e p r o c e s s e s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e P r o c e s s e s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
F o r e a c h p r o c e s s t h e p r o c e s s i n g t i m e , C P U u s a g e , t h e l o g i n n a m e o f t h e p r o c e s s u s e r , t h e r e a l l o g i n
n a m e , t h e n a m e o f t h e h o s t , t h e s e r v e r p r o c e s s I D o f a p r o c e s s t h a t i s b l o c k i n g t h i s o n e ( i f a n y ) , t h e
n a m e o f t h e d a t a b a s e , a n d t h e c o m m a n d b e i n g r u n a r e d i s p l a y e d .
T o a n a l y z e p e r f o r m a n c e d a t a f o r d a t a b a s e p r o c e s s e s , y o u p r o c e e d a s f o l l o w s :
1 . Y o u i d e n t i f y t h e t a s k t y p e o f t h e p r o c e s s e s .
Y o u c a n a n a l y z e I n t e r n a l A p p l i c a t i o n s ( d a t a b a s e i n t e r n a l p r o c e s s e s ) o r E x t e r n a l A p p l i c a t i o n s ( w o r k
p r o c e s s e s o f t h e S A P a p p l i c a t i o n s e r v e r , f o r e x a m p l e ) . 2 . Y o u s p e c i f y t h e t a s k t y p e .
3 . T o r e f r e s h t h e m o n i t o r i n g d a t a , y o u c h o o s e t h e A p p l y S e l e c t i o n p u s h b u t t o n . T h e f o l l o w i n g
i n f o r m a t i o n i s d i s p l a y e d f o r e a c h p r o c e s s :
C o l u m n : D e s c r i p t i o n :
S P I D S e r v e r P r o c e s s I d e n t i f i e r
S t a t e m e n t R u n t i m e S t a t e m e n t R u n t i m e i n s e c o n d s
T r a n s a c t i o n R u n t i m e ( s e c ) T r a n s a c t i o n R u n i t m e i n s e c o n d s
T r a n s a c t i o n S t a t e T h e f o l l o w i n g s t a t u s e s a r e d i s p l a y e d : O p e n , I n P r o c e s s , C o m p l e t e d o r C l o s e d
C P U C P U S a m p l e
E n g i n e N u m b e r U n i q u e i d e n t i f i e r o f t h e e n g i n e t h a t t h e p r o c e s s i s e x e c u t i n g o n
P r i o r i t y P r i o r i t y a t w h i c h t h e p r o c e s s i s e x e c u t i n g
B o c k i n g S P I D S e r v e r p r o c e s s i d e n t i f i e r o f t h e p r o c e s s h o l d i n g t h e l o c k t h a t t h i s p r o c e s s h a s r e q u e s t e d , i f w a i t i n g f o r a l o c k
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 52/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
C o l u m n : D e s c r i p t i o n :
A p p l i c a t i o n A p p l i c a t i o n n a m e
S A P P r o c . T y p e / T r a n s a c t i o n C o d e P r o c e s s t y p e o f S A P t r a n s a c t i o n
S A P P r o g r a m N a m e o f t h e S A P p r o g r a m
H o s t N a m e C l i e n t h o s t n a m e
C l i e n t O S P I D O S p r o c e s s i d e n t i f i e r o f t h e c l i e n t a p p l i c a t i o n
L o g i n L o g i n u s e r n a m e
4 . T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e P r o c e s s D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e . T h e
P r o c e s s t a b s h o w s i n f o r m a t i o n o n t h e p r o c e s s m e t a d a t a , t h e c l i e n t m e t a d a t a a n d t h e t r a n s a c t i o n . C h o o s e t h e S t a t e m e n t t a b f o r f u r t h e r d e t a i l s o n t h e S Q L s t a t e m e n t . U s e E X P L A I N t o a n a l y z e t h e
E X P L A I N a c c e s s p l a n . F o r m o r e i n f o r m a t i o n , r e f e r t o T h e E X P L A I N A c c e s s P l a n [ p a g e 3 0 ] .
4 . 7 . 4 P e r f o r m a n c e : S y s t e m W a i t s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t s y s t e m w a i t e v e n t s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e S y s t e m W a i t s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e S y s t e m W a i t s s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t i o n f r a m e w o r k
( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a w a r n i n g i s d i s p l a y e d
w i t h a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n . T h e r e y o u c a n p e r f o r m t h e r e q u i r e d s t e p s . F o r m o r e
i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
U s i n g t h e i n f o r m a t i o n p r o v i d e d o n t h i s s c r e e n , y o u c a n :
n R e v i e w s y s t e m w a i t e v e n t s t h a t o c c u r r e d i n t h e p a s t a n d t h a t w e r e c a p t u r e d b y t h e r e l a t e d d a t a
c o l l e c t o r . F o r m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
n R e v i e w s y s t e m w a i t e v e n t s t h a t a r e c u r r e n t l y o c c u r r i n g o n t h e d a t a b a s e s e r v e r .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t s y s t e m - w a i t e v e n t s t o b e
d i s p l a y e d .
A f t e r h a v i n g a p p l i e d y o u r s e l e c t i o n , t h e t o t a l n u m b e r o f s y s t e m - w a i t e v e n t s t h a t o c c u r r e d a n d t h a t
y o u s e l e c t e d i s d i s p l a y e d .
F o r e a c h s y s t e m - w a i t e v e n t , t h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
5 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 53/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
C o l u m n : D e s c r i p t i o n :
W a i t E v e n t D e s c r i p t i o n o f t h e w a i t e v e n t
W a i t C l a s s P r o v i d e s a t e x t u a l d e s c r i p t i o n f o r a l l o f t h e w a i t c l a s s e s ( f o r e x a m p l e , w a i t i n g f o r a d i s k r e a d t o c o m p l e t e ) . A l l w a i t e v e n t s h a v e b e e n g r o u p e d i n t o w a i t c l a s s e s t h a t c l a s s i f y t h e t y p e o f e v e n t t h a t a p r o c e s s i s w a i t i n g f o r
T y p i c a l C a u s e F u r t h e r e x p l a n a t i o n o n t h e p r o b a b l e c a u s e o f t h e w a i t e v e n t
W a i t t i m e ( s e c ) A m o u n t o f t i m e ( i n m i l l i s e c o n d s ) t h a t t h e p r o c e s s h a s w a i t e d f o r t h e e v e n t
W a i t s A v g N u m b e r o f t i m e s t h e p r o c e s s h a s w a i t e d f o r t h e e v e n t
W a i t T i m e A v e r a g e a m o u n t o f t i m e ( i n m i l l i s e c o n d s ) t h a t t h e p r o c e s s h a s w a i t e d f o r t h e e v e n t c o m p a r e d t o s i m i l a r s y s t e m - w a i t e v e n t s
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e . T h e S u m m a r y
t a b s h o w s g e n e r a l i n f o r m a t i o n , t h e d e s c r i p t i o n o f t h e s y s t e m w a i t a n d t h e r e c o m m e n d e d a c t i o n .
T h e D e t a i l s t a b p r o v i d e s a n h o u r l y o v e r v i e w f o r t h e w a i t e v e n t . Y o u c a n c h a n g e t h e g r a n u l a r i t y o f
t h e t i m e f r a m e .
4 . 7 . 5 P e r f o r m a n c e : S y s t e m L o a d
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t s y s t e m l o a d s t a t i s t i c s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e S y s t e m L o a d o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
T o a n a l y z e t h e s y s t e m l o a d , y o u p r o c e e d a s f o l l o w s :
1 . Y o u i d e n t i f y t h e T i m e F r a m e .
2 . Y o u s p e c i f y o n e p a r t i c u l a r o r a l l e n g i n e s
3 . T o r e f r e s h t h e m o n i t o r i n g d a t a , y o u c h o o s e t h e A p p l y S e l e c t i o n p u s h b u t t o n .
T h e f o l l o w i n g s t a t i s t i c s a r e d i s p l a y e d f o r e a c h e n g i n e : n p e r c e n t u s e r b u s y
n p e r c e n t s y s t e m b u s y
n p e r c e n t i / o b u s y
n r u n q u e u e l e n g t h
n k e r n e l r u n q u e u e l e n g t h
n o u t s t a n d i n g d i s k I / O s
n d i s k r e a d s p e r s e c o n d
n d i s k w r i t e s p e r s e c o n d
n n e t w o r k r e a d s p e r s e c o n d
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 54/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
n n e t w o r k w r i t e s p e r s e c o n d
4 . T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e . T h e S u m m a r y t a b s h o w s d e t a i l s o n t h e c h o s e n s t a t i s t i c . C h o o s e t h e D e t a i l s t a b f o r f u r t h e r i n f o r m a t i o n . Y o u c a n
a n a l y z e t h e s t a t i s t i c o n a n h o u r l y , d a i l y , w e e k l y o r m o n t h l y b a s i s .
4 . 7 . 6 P e r f o r m a n c e : T e m p o r a r y D a t a b a s e A c t i v i t y
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t e m p o r a r y d a t a b a s e p e r f o r m a n c e b y c a l l i n g t h e D B A C o c k p i t a n d
c h o o s i n g P e r f o r m a n c e T e m p o r a r y D a t a b a s e A c t i v i t y o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e T e m p o r a r y D a t a b a s e A c t i v i t y s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a
c o l l e c t i o n f r a m e w o r k ( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a
w a r n i n g i s d i s p l a y e d i n c l u d i n g a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n w h e r e y o u c a n p e r f o r m t h e
r e q u i r e d s t e p s . F o r m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
U s i n g t h e i n f o r m a t i o n p r o v i d e d o n t h i s s c r e e n , y o u c a n :
n R e v i e w t e m p o r a r y d a t a b a s e a c t i v i t y t h a t o c c u r r e d i n t h e p a s t a n d t h a t w e r e c a p t u r e d b y t h e
r e l a t e d d a t a c o l l e c t o r .
n R e v i e w t e m p o r a r y d a t a b a s e a c t i v i t i e s t h a t a r e c u r r e n t l y o c c u r r i n g o n t h e d a t a b a s e s e r v e r .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t d a t a b a s e a c t i v i t i e s t o b e
d i s p l a y e d .
C o l u m n : D e s c r i p t i o n :
T e m p . D B S i z e ( K B ) T e m p o r a r y d a t a b a s e s i z e
U n r e s e r v e d S p a c e ( K B ) U n r e s e r v e d s p a c e i n t e m p o r a r y d a t a b a s e
R e s e r v e d S p a c e ( K B ) R e s e r v e d s p a c e i n t e m p o r a r y d a t a b a s e
M a x . R e s e r v e d S p a c e ( K B ) M a x i m a l s i z e o f r e s e r v e d s p a c e
L o g i c a l R e a d s T o t a l n u m b e r o f b u f f e r r e a d s
P h y s i c a l R e a d s N u m b e r o f b u f f e r r e a d s f r o m d i s k
P h y s i c a l W a i t s T o t a l n u m b e r o f b u f f e r s w r i t t e n t o d i s k
P a g e s R e a d ( P a g e s ) T o t a l n u m b e r o f p a g e s r e a d
P a g e s W r i t t e n ( P a g e s ) T o t a l n u m b e r o f p a g e s w r i t t e n t o d i s k
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e . T h e S u m m a r y
5 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 55/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
t a b s h o w s g e n e r a l i n f o r m a t i o n o n t h e d a t a b a s e a n d a d d i t i o n a l m e t r i c s . T h e D e t a i l s t a b p r o v i d e s a n
o v e r v i e w f o r t h e d a t a b a s e a c t i v i t i e s a c c o r d i n g t o t h e t i m e f r a m e y o u h a v e c h o s e n .
4 . 7 . 7 P e r f o r m a n c e : D a t a C a c h e U s a g e
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t d a t a c a c h e ’ s u s a g e b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e D a t a C a c h e U s a g e o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e D a t a C a c h e U s a g e s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t o r
f r a m e w o r k ( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r w r o n g l y s e t u p , a w a r n i n g i s d i s p l a y e d i n c l u d i n g a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n w h e r e y o u c a n p e r f o r m t h e r e q u i r e d
s t e p s . F o r m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
U s i n g t h e i n f o r m a t i o n p r o v i d e d o n t h i s s c r e e n , y o u c a n :
n R e v i e w d a t a c a c h e u s a g e t h a t o c c u r r e d i n t h e p a s t a n d t h a t w e r e c a p t u r e d b y t h e d a t a c o l l e c t o r .
n R e v i e w t h e d a t a c a c h e u s a g e t h a t i s c u r r e n t l y o c c u r r i n g o n t h e d a t a b a s e s e r v e r
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t t h e d a t a c a c h e u s a g e t o b e
d i s p l a y e d . A f t e r h a v i n g a p p l i e d y o u r s e l e c t i o n , t h e d a t a c a c h e u s a g e i s d i s p l a y e d .
T h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d f o r e a c h d a t a b a s e :
C o l u m n : D e s c r i p t i o n :
C a c h e I D U n i q u e i d e n t i f i e r f o r t h e c a c h e
C a c h e N a m e N a m e o f t h e c a c h e
I / O B u f f e r S i z e ( K B ) S i z e o f t h e I / O b u f f e r f o r t h e c a c h e p o o l
P h y s i c a l R e a d s T h e n u m b e r o f b u f f e r s t h a t h a v e b e e n r e a d f r o m d i s k i n t o t h e p o o l
S t a l l s N u m b e r o f ’ d i r t y ’ b u f f e r r e t r i e v a l s
P a g e s T o u c h e d ( P a g e s ) N u m b e r o f p a g e s u s e d w i t h i n t h e p o o l
P a g e s R e a d T h e n u m b e r o f b u f f e r s t h a t w e r e f e t c h e d
B u f f e r s t o M R U T h e n u m b e r o f b u f f e r s t h a t w e r e f e t c h e d a n d r e p l a c e d a t t h e M o s t R e c e n t l y U s e d ( M R U ) p o r t i o n o f t h e p o o l
B u f f e r s t o L R U T h e n u m b e r o f b u f f e r s t h a t w e r e f e t c h e d a n d r e p l a c e d a t t h e L a s t R e c e n t l y U s e d ( L R U ) p o r t i o n o f t h e p o o l : f e t c h - a n d - d i s c a r d
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 56/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e d e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e .
T h e S u m m a r y t a b s h o w s g e n e r a l i n f o r m a t i o n o n t h e d a t a c a c h e u s a g e . T h e D e t a i l s t a b p r o v i d e s a n o v e r v i e w f o r t h e d a t a c a c h e u s a g e a c c o r d i n g t o t h e t i m e f r a m e y o u h a v e c h o s e n .
S e e t h e S y b a s e S y s t e m A d m i n i s t r a t i o n G u i d e ( S e c t i o n C a c h e s i n A d a p t i v e S e r v e r ) f o r m o r e i n f o r m a t i o n o n
t h e u s a g e o f c a c h e s i n A d a p t i v e S e r v e r .
4 . 7 . 8 P e r f o r m a n c e : T a b l e s
T h e T a b l e s s c r e e n d i s p l a y s i n f o r m a t i o n o n a l l t a b l e s o f t h e d a t a b a s e , s u c h a s t h e n u m b e r o f r o w s
r e a d , t h e n u m b e r o f r o w s w r i t t e n a n d s o o n .
Y o u c a n a c c e s s t h e T a b l e s s c r e e n b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g P e r f o r m a n c e T a b l e s i n
t h e n a v i g a t i o n f r a m e o f t h e D B A C o c k p i t .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e a n d o t h e r c r i t e r i a f o r w h i c h y o u w a n t t h e t a b l e s
t o b e d i s p l a y e d .
T h e T a b l e s s c r e e n p r o v i d e s i n f o r m a t i o n t h a t y o u c a n u s e t o a n a l y z e t a b l e s u n d e r t h e f o l l o w i n g a s p e c t s :
n W h i c h t a b l e s a r e a c c e s s e d t h e m o s t a n d r e q u i r e e x t r a t u n i n g ?
n W h i c h t a b l e s h a v e f r e q u e n t u p d a t e o p e r a t i o n s a n d a r e , t h e r e f o r e , p o t e n t i a l c a n d i d a t e s f o r n e w
s t a t i s t i c s ?
n W h i c h t a b l e s a r e c a n d i d a t e s f o r r e o r g a n i z a t i o n d u e t o s p a c e f r a g m e n t a t i o n ?
F i g u r e 9 : P e r f o r m a n c e : T a b l e s
T o a n a l y z e t a b l e d a t a , y o u p r o c e e d a s f o l l o w s :
5 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 57/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
1 . Y o u i d e n t i f y t h e t i m e p e r i o d w h e r e y o u e x p e r i e n c e d p e r f o r m a n c e p r o b l e m s f o r e x a m p l e , l o n g
r u n n i n g b a t c h j o b s , t h r e s h o l d v i o l a t i o n s d e t e c t e d b y w o r k l o a d m a n a g e m e n t , a n d b a d u s e r
r e s p o n s e t i m e . 2 . I n t h e S e l e c t i o n a r e a , y o u s p e c i f y t h e a p p r o p r i a t e t i m e f r a m e .
3 . Y o u r e s t r i c t t h e r e s u l t s e t i n t h e o v e r v i e w t a b l e , f o r e x a m p l e , b y l i m i t i n g t h e m a x i m u m n u m b e r
o f r o w s , b y u s i n g w i l d c a r d s .
4 . T o r e f r e s h t a b l e d a t a , y o u c h o o s e t h e A p p l y p u s h b u t t o n .
T h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n : D e s c r i p t i o n :
L o g i c a l R e a d s T o t a l n u m b e r o f b u f f e r s r e a d
P h y s i c a l R e a d s N u m b e r o f p h y s i c a l r e a d o p e r a t i o n s
P h y s i c a l W r i t e s N u m b e r o f b u f f e r s r e a d f r o m d i s k
H i t R a t i o H i t R a t i o i n %
O p e r a t i o n s N u m b e r o f t i m e s t h a t t h e o b j e c t w a s a c c e s s e d
R o w s I n s e r t e d N u m b e r o f r o w s i n s e r t e d
R o w s U p d a t e d N u m b e r o f u p d a t e s
R o w s D e l e t e d N u m b e r o f r o w s d e l e t e d
L o c k W a i t s N u m b e r o f t i m e s a t a s k w a i t e d f o r a l o c k f o r t h e o b j e c t
L a s t U s e d D a t e L a s t d a t e t h e i n d e x w a s u s e d i n p l a n d u r i n g e x e c u t i o n
5 . T o d i s p l a y d a t a , y o u s e l e c t a l i n e i n t h e o v e r v i e w t a b l e . T h e d a t a i s d i s p l a y e d i n t h e D e t a i l s c o n t e n t
a r e a .
6 . T o i s l o a t e t h e t i m e f r a m e d u r i n g w h i c h t h e p e r f o r m a n c e p r o b l e m o c c u r r e d , y o u u s e t h e d a t a i n
t h e D e t a i l s t a b .
4 . 7 . 9 P e r f o r m a n c e : P r o c e d u r e C a c h e U s a g e
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e u s a g e o f t h e p r o c e d u r e c a c h e b y c a l l i n g t h e D B A C o c k p i t a n d
c h o o s i n g P e r f o r m a n c e P r o c e d u r e C a c h e U s a g e o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e P r o c e d u r e C a c h e U s a g e s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t i o n
f r a m e w o r k ( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a w a r n i n g
i s d i s p l a y e d i n c l u d i n g a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n w h e r e y o u c a n p e r f o r m t h e
r e q u i r e d s t e p s . F o r m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] . .
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 58/116
4 T h e D B A C o c k p i t
4 . 7 P e r f o r m a n c e
T o a n a l y z e p r o c e d u r e c a c h e d a t a , y o u p r o c e e d a s f o l l o w s :
1 . Y o u i d e n t i f y t h e t i m e p e r i o d w h e r e y o u e x p e r i e n c e d p e r f o r m a n c e p r o b l e m s .
2 . T o r e f r e s h t a b l e d a t a , y o u c h o o s e t h e A p p l y S e l e c t i o n p u s h b u t t o n
T h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n : D e s c r i p t i o n :
M o d u l e I D A u n i q u e I D o f a p r o c e d u r e c a c h e a l l o c a t i n g m o d u l e
M o d u l e N a m e N a m e o f t h e p r o c e d u r e c a c h e a l l o c a t i n g m o d u l e
A c t i v e ( P a g e s ) N u m b e r o f m e m o r y p a g e s a l l o c a t e d a t t h e m o m e n t f o r t h e m o d u l e
C h a n g e A c t i v e C h a n g e i n t h e n u m b e r o f m e m o r y p a g e s a l l o c a t e d f o r t h e m o d u l e
H W M H i g h W a t e r M a r k : M a x i m u m n u m b e r o f p a g e s a l l o c a t e d
N u m P a g e s R e u s e d N u m b e r o f p r o c e d u r e c a c h e p a g e s f o r t h i s m o d u l e r e p l a c e d b y a n o t h e r r e q u e s t
3 . T o d i s p l a y d a t a , y o u s e l e c t a l i n e i n t h e o v e r v i e w t a b l e . T h e d a t a i s d i s p l a y e d i n t h e D e t a i l s c o n t e n t
a r e a .
4 . T o i s l o a t e t h e t i m e f r a m e d u r i n g w h i c h t h e p e r f o r m a n c e p r o b l e m o c c u r r e d , y o u u s e t h e d a t a i n
t h e D e t a i l s t a b .
4 . 7 . 1 0 P e r f o r m a n c e : S Q L S t a t e m e n t s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e S Q L s t a t e m e n t s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
P e r f o r m a n c e S Q L S t a t e m e n t s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
S t a t e m e n t C a c h e
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e S Q L s t a t e m e n t c a c h e b y c h o o s i n g P e r f o r m a n c e S Q L
S t a t e m e n t s S t a t e m e n t C a c h e o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
T h i s f u n c t i o n p r o v i d e s m o n i t o r i n g c a p a b i l i t y f o r a l l p r e p a r e d S Q L s t a t e m e n t s t h a t r e s i d e i n t h e g l o b a l S Q L s t a t e m e n t c a c h e . T h e i n f o r m a t i o n a b o u t t h e c a c h e d s t a t e m e n t s i s g a t h e r e d d u r i n g t h e i r
p r e p a r a t i o n a n d e x e c u t i o n . S t a t i s t i c s i n f o r m a t i o n f o r c a c h e d s t a t e m e n t s i s i n v a l u a b l e f o r p e r f o r m a n c e
t u n i n g o n t h e l e v e l o f i n d i v i d u a l S Q L s t a t e m e n t s .
F i l t e r i n g
T h e g l o b a l S Q L s t a t e m e n t c a c h e o f a n S A P s y s t e m m a y c o n t a i n t h o u s a n d s o f e n t r i e s . B y s e l e c t i n g
a c r i t e r i a f r o m t h e T o p S Q L S t a t e m e n t s b y d r o p d o w n l i s t b o x , o n l y t h e m o s t e x p e n s i v e e n t r i e s f o r
t h a t c r i t e r i a a r e d i s p l a y e d . B y d e f a u l t , t h e o u t p u t i s l i m i t e d t o t h e t o p 1 0 0 e n t r i e s , b u t c a n b e c h a n g e d
e a s i l y . T h e C u s t o m f i l t e r a l l o w s y o u t o d o a m o r e s p e c i f i c f i l t e r i n g b a s e d o n m u l t i p l e t h r e s h o l d v a l u e s a s
w e l l a s a t e x t f i l t e r o n t h e S Q L s t a t e m e n t t e x t ( a t a b l e n a m e , f o r e x a m p l e ) .
5 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 59/116
4 T h e D B A C o c k p i t
4 . 8 S p a c e
T h e A d a p t i v e S e r v e r w i l l r e t u r n i n f o r m a t i o n a b o u t a l l s t a t e m e n t s t h a t e x c e e d t h e g i v e n v a l u e f o r
t h e s e l e c t e d s t a t i s t i c s f i e l d .
C h o o s e A p p l y S e l e c t i o n t o r e f r e s h t h e d i s p l a y . S Q L S t a t e m e n t D e t a i l s a n d E x p l a i n F u n c t i o n
T h e r e c o r d s d i s p l a y e d p r o v i d e i d e n t i f y i n g i n f o r m a t i o n , s t a t i s t i c s , a n d p a r t o f t h e S Q L s t a t e m e n t t e x t .
D u e t o t h e p o t e n t i a l s i z e o f t h e S Q L s t a t e m e n t t e x t , o n l y t h e f i r s t 1 5 0 c h a r a c t e r s a r e s h o w n . I f y o u
w a n t t o s e e t h e e n t i r e s t a t e m e n t t e x t a s w e l l a s d e t a i l e d e x e c u t i o n s t a t i s t i c s f o r a p a r t i c u l a r s t a t e m e n t ,
s e l e c t t h e r e s p e c t i v e e n t r y i n t h e t a b l e . S Q L S t a t e m e n t D e t a i l s a r e s h o w n i n t h e l o w e r p a r t o f t h e s c r e e n .
S t a t e m e n t T e x t D i s p l a y s t h e f u l l S Q L s t a t e m e n t t e x t i n a f o r m a t t e d f a s h i o n ( i n c l u d i n g a n y a t t a c h e d c o m m e n t s o r o p t i m i z a t i o n h i n t s ) . I n c a s e t h e S Q L s t a t e m e n t t e x t i s t a g g e d w i t h s o u r c e c o d e i n f o r m a t i o n b y t h e
a p p l i c a t i o n t h a t h a s p r e p a r e d t h e S Q L s t a t e m e n t , y o u c a n j u m p i n t o t h e s o u r c e c o d e b y c h o o s i n g S h o w S o u r c e .
S t a t e m e n t M e t r i c s P r o v i d e s d e t a i l e d i n f o r m a t i o n o n t h e s t a t e m e n t a n d i t s e x e c u t i o n s t a t i s t i c s . A q u i c k i n f o i s d i s p l a y e d w h e n y o u m o v e t h e c u r s o r o v e r a f i e l d , e x p l a i n i n g t h e p u r p o s e o f t h e f i e l d .
C a c h e d Q u e r y P l a n s O v e r v i e w o f q u e r y p l a n s . A s A S E u s e s n o n s h a r a b l e a c c e s s p l a n s , m u l t i p l e i d e n t i c a l o r v a r y i n g a c c e s s p l a n s m a y e x i s t f o r a s i n g l e S Q L s t a t e m e n t . D o d i s p l a y d e t a i l e d i n f o r m a t i o n f o r a n a c c e s s p l a n , s e l e c t a p l a n f r o m t h e l i s t a n d c h o o s e S h o w P l a n . F o r m o r e
i n f o r m a t i o n , s e e E X P L A I N i n s e c t i o n T h e E X P L A I N A c c e s s P l a n [ p a g e 3 0 ]
S t a t e m e n t C a c h e U s a g e
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e u s a g e o f t h e p r o c e d u r e c a c h e b y c a l l i n g t h e D B A C o c k p i t a n d
c h o o s i n g P e r f o r m a n c e S Q L S t a t e m e n t s S t a t e m e n t C a c h e U s a g e o n t h e D a t a b a s e t a b p a g e o f t h e D B A
C o c k p i t . I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t t h e s t a t e m e n t
c a c h e u s a g e t o b e d i s p l a y e d . T h e S u m m a r y t a b s h o w s g e n e r a l i n f o r m a t i o n o n t h e s t a t e m e n t c a c h e a n d
a d d i t i o n a l m e t r i c s . T h e D e t a i l s t a b p r o v i d e s a n o v e r v i e w f o r t h e s t a t e m e n t c a c h e a c t i v i t i e s a c c o r d i n g
t o t h e t i m e f r a m e y o u h a v e c h o s e n .
4 . 8 S p a c e
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t t h e m a i n t a s k a r e a s t h a t a r e a v a i l a b l e u n d e r S p a c e
o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t :
1 2 / 1 8 / 2 0 1 2 P U B L I C 5 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 60/116
4 T h e D B A C o c k p i t
4 . 8 S p a c e
n D e v i c e s
n D a t a b a s e s
n T a b l e s a n d I n d e x e s
4 . 8 . 1 S p a c e : D e v i c e s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t d a t a b a s e d e v i c e s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g S p a c e
D e v i c e s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
T h e t e r m “ d e v i c e ” d o e s n o t o n l y r e f e r t o a d i s t i n c t p h y s i c a l d e v i c e : i t c a n r e f e r t o a n y p i e c e o f a d i s k
( s u c h a s a d i s k p a r t i t i o n ) o r a f i l e i n t h e f i l e s y s t e m t h a t i s u s e d t o s t o r e d a t a b a s e s a n d t h e i r o b j e c t s . A
d a t a b a s e c a n o c c u p y a l l a v a i l a b l e s p a c e o n t h e d e v i c e , o r o t h e r d a t a b a s e s c a n s h a r e s p a c e o n t h e d e v i c e ,
o r a n y c o m b i n a t i o n o f t h e t w o . S e g m e n t s ( l o g i c a l g r o u p i n g s o f s t o r a g e w i t h i n a d a t a b a s e ) a l l o w y o u
t o k e e p s o m e d a t a l o g i c a l l y o r p h y s i c a l l y s e p a r a t e f r o m o t h e r d a t a .
F o r A d a p t i v e S e r v e r , d e v i c e s p r o v i d e a l o g i c a l m a p o f a d a t a b a s e t o p h y s i c a l s t o r a g e , w h i l e s e g m e n t s
p r o v i d e a l o g i c a l m a p o f d a t a b a s e o b j e c t s t o d e v i c e s . T o a c h i e v e y o u r s p a c e a l l o c a t i o n g o a l s , i t i s
i m p o r t a n t t h a t y o u u n d e r s t a n d t h e i n t e r p l a y b e t w e e n t h e s e l o g i c a l l a y e r s . F o r m o r e i n f o r m a t i o n ,
r e f e r t o O v e r v i e w o f D i s k R e s o u r c e I s s u e s a n d C r e a t i n g a n d U s i n g S e g m e n t s i n t h e S y b a s e S y s t e m A d m i n i s t r a t i o n G u i d e .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e D e v i c e S t a t u s . C h o o s e t h e d e v i c e f o r w h i c h y o u w a n t i n f o r m a t i o n
o n a v a i l a b l e s p a c e t o b e d i s p l a y e d .
T o r e f r e s h t h e m o n i t o r i n g d a t a , y o u c h o o s e t h e A p p l y S e l e c t i o n p u s h b u t t o n .
C o l u m n : D e s c r i p t i o n :
D e v i c e N u m b e r D e v i c e i d e n t i f i c a t i o n n u m b e r
N a m e N a m e o f d e v i c e
N a m e o f d e v i c e P h y s i c a l D e v i c e N a m e
D e v i c e S i z e S i z e o f d e v i c e i n M B
D e v i c e S i z e U s e d S i z e o f a l l f r a g m e n t s o n t h i s d e v i c e i n M B
C r e a t i o n D a t e D a t e a n d t i m e o f c r e a t i o n
R e s i z e D a t e D a t e a n d t i m e o f r e s i z e
D i r e c t I / O e n a b l e d Y e s / N o
U s i n g d s y n c D e v i c e u s e s d s y n c s e t t i n g ( w r i t e s o c c u r d i r e c t l y t o p h y s i c a l m e d i a )
S k i p H e a d e r Y e s / N o
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D e v i c e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e :
n T h e D e v i c e t a b s h o w s g e n e r a l i n f o r m a t i o n o n t h e d e v i c e a n d a d d i t i o n a l m e t r i c s .
6 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 61/116
4 T h e D B A C o c k p i t
4 . 8 S p a c e
n T h e F r a g m e n t s t a b p r o v i d e s a n o v e r v i e w o n “ d i s k p i e c e s ” . F r a g m e n t s a r e a g r o u p o f l o g i c a l p a g e s o n
t h e s a m e d e v i c e . F r a g m e n t s p e r m i t s t o r a g e f o r t h e s a m e g r o u p o f s e g m e n t s .
n S h o w s a l l d a t a b a s e s t h a t u s e t h i s d e v i c e . F o r i n f o r m a t i o n o n t h e D a t a b a s e s t a b , r e f e r t o S p a c e : D a t a b a s e s [ p a g e 6 1 ] .
n T h e S e g m e n t s t a b s h o w s i n f o r m a t i o n a b o u t t h e u s e d s e g m e n t s . E a c h d a t a b a s e c a n h a v e u p t o 3 2
n a m e d s e g m e n t s . A d a p t i v e S e r v e r c r e a t e s a n d u s e s t h r e e o f t h e s e s e g m e n t s :
l s y s t e m s e g m e n t ‒ c o n t a i n s m o s t s y s t e m c a t a l o g s
l d e f a u l t s e g m e n t ‒ u s e d i f n o s e g m e n t i s s p e c i f i e d . T h i s s e g m e n t i s u s e d b y S A P t o s t o r e t h e d a t a
l l o g s e g m e n t ‒ s t o r e s t h e t r a n s a c t i o n l o g . Y o u c a n s t o r e u s e r t a b l e s i n t h e s y s t e m s e g m e n t , b u t
t h e l o g s e g m e n t i s r e s e r v e d e n t i r e l y f o r t h e l o g .
4 . 8 . 2 S p a c e : D a t a b a s e s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t a l l d a t a b a s e s o f a S y b a s e A S E d a t a b a s e s e r v e r b y c a l l i n g t h e D B A
C o c k p i t a n d c h o o s i n g S p a c e D a t a b a s e s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
M o n i t o r i n g t h e s p a c e t h a t i s c o n s u m e d b y t h e d a t a b a s e d o e s n o t o n l y r e q u i r e t h a t y o u c h e c k t h e
c u r r e n t s p a c e c o n s u m p t i o n b u t a l s o t h a t y o u c o n s i d e r t h e p r o g r e s s o f t h e s p a c e g r o w t h t o a n s w e r
q u e s t i o n s s u c h a s t h e f o l l o w i n g :
n I s d a t a c o n t i n u o u s l y g r o w i n g a n d i s i t p r e d i c t a b l e t h a t t h e d a t a b a s e r u n s o u t o f s p a c e ?
n D i d a r c h i v i n g o p e r a t i o n s o r r e o r g a n i z a t i o n s s u c c e s s f u l l y r e d u c e t h e s p a c e c o n s u m p t i o n ?
n C a n I i d e n t i f y a n y s h o r t - t e r m g r o w t h t h a t i s r e l a t e d t o s p e c i f i c a c t i v i t i e s o f a n a p p l i c a t i o n , s u c h a s c l i e n t c o p y , f o r e x a m p l e .
T h e D a t a b a s e s c r e e n p r o v i d e s i n f o r m a t i o n o n t h e D a t a b a s e S i z e , t h e s i z e o f p a g e s t h a t a r e n o t p a r t o f a n
a l l o c a t e d e x t e n t , t h e D u r a b i l i t y L e v e l t h e U n s e p a r a t e d L o g ( d a t a b a s e h a s s o m e p o r t i o n o f t h e l o g t h a t i s n o t
o n a l o g - o n l y d e v i c e ) , a n d t h e D u r a b i l i t y L e v e l .
T h e D u r a b i l i t y L e v e l c a n h a v e o n e o f t h e f o l l o w i n g v a l u e s :
n f u l l ‒ a l l t r a n s a c t i o n s a r e w r i t t e n t o d i s k . T h i s i s t h e d e f a u l t i f y o u d o n o t s p e c i f y a d u r a b i l i t y l e v e l
w h e n y o u c r e a t e t h e d a t a b a s e , a n d e n s u r e s f u l l r e c o v e r y f r o m a s e r v e r f a i l u r e . A l l s y s t e m d a t a b a s e s
u s e t h i s d u r a b i l i t y l e v e l ( t h e t r a d i t i o n a l d u r a b i l i t y l e v e l f o r d i s k - r e s i d e n t d a t a b a s e s ) .
N o t e
I t i s o f h i g h i m p o r t a n c e t h a t t h e < S I D > d a t a b a s e o f a n S A P i n s t a l l a t i o n h a s t h i s d u r a b i l i t y l e v e l .
n n o _ r e c o v e r y ‒ t r a n s a c t i o n s a r e n o t d u r a b l e t o d i s k a n d a l l c h a n g e s a r e l o s t i f t h e s e r v e r f a i l s o r i s
s h u t d o w n . F o r d i s k - b a s e d d a t a b a s e s , A d a p t i v e S e r v e r p e r i o d i c a l l y w r i t e s d a t a a t r u n t i m e t o t h e
d i s k d e v i c e s , b u t i n a n u n c o n t r o l l e d m a n n e r . A f t e r a n y s h u t d o w n ( p o l i t e , i m p o l i t e , o r s e r v e r
f a i l u r e a n d r e s t a r t ) a d a t a b a s e c r e a t e d w i t h n o _ r e c o v e r y i s n o t r e c o v e r e d , b u t i s r e - c r e a t e d f r o m t h e
m o d e l o r t e m p l a t e d a t a b a s e .
1 2 / 1 8 / 2 0 1 2 P U B L I C 6 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 62/116
4 T h e D B A C o c k p i t
4 . 8 S p a c e
n a t _ s h u t d o w n ‒ t r a n s a c t i o n s a r e d u r a b l e w h i l e t h e s e r v e r i s r u n n i n g a n d a f t e r a p o l i t e s h u t d o w n .
A l l d u r a b i l i t y i s l o s t i f t h e s e r v e r f a i l s .
T o d i s p l a y d e t a i l e d i n f o r m a t i o n , y o u s e l e c t t h e a p p r o p r i a t e e n t r y t h a t y o u w a n t t o a n a l y z e i n t h e
o v e r v i e w t a b l e . T h e d e t a i l d a t a i s d i s p l a y e d i n t h e D a t a b a s e D e t a i l s a r e a b e l o w t h e o v e r v i e w t a b l e .
T h e D a t a b a s e a n d D e v i c e t a b s h o w s g e n e r a l i n f o r m a t i o n a n d a d d i t i o n a l m e t r i c s .
T h e F r a g m e n t s t a b p r o v i d e s a n o v e r v i e w o n “ d i s k p i e c e s ” . F r a g m e n t s a r e a g r o u p o f l o g i c a l p a g e s o n t h e
s a m e d e v i c e . F r a g m e n t s p e r m i t s t o r a g e f o r t h e s a m e g r o u p o f s e g m e n t s .
T h e S e g m e n t s t a b s h o w s i n f o r m a t i o n a b o u t t h e u s e d s e g m e n t s . E a c h d a t a b a s e c a n h a v e u p t o 3 2 n a m e d
s e g m e n t s . A d a p t i v e S e r v e r c r e a t e s a n d u s e s t h r e e o f t h e s e s e g m e n t s :
n s y s t e m s e g m e n t ‒ c o n t a i n s m o s t s y s t e m c a t a l o g s
n d e f a u l t s e g m e n t ‒ u s e d i f y o u d o n o t s p e c i f y o n e w h e n c r e a t i n g a n o b j e c t . T h i s s e g m e n t i s u s e d b y
S A P t o s t o r e a l l d a t a n l o g s e g m e n t ‒ s t o r e s t h e t r a n s a c t i o n l o g
4 . 8 . 3 S p a c e : T a b l e s a n d I n d e x e s
Y o u c a n a c c e s s t h e T a b l e s s c r e e n b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g S p a c e T a b l e s i n t h e
n a v i g a t i o n f r a m e o f t h e D B A C o c k p i t .
T h e T a b l e s s c r e e n d i s p l a y s i n f o r m a t i o n o n a l l t a b l e s o f t h e d a t a b a s e , s u c h a s t h e u s e d , u n u s e d o r
r e s e r v e d s p a c e , t h e n u m b e r o f r o w s , t h e n u m b e r o f r o w s d e l e t e d , f o r w a r d e d , a n d s o o n .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e a n d o t h e r c r i t e r i a f o r w h i c h y o u w a n t t h e t a b l e s
t o b e d i s p l a y e d .
T o a n a l y z e t a b l e d a t a , y o u p r o c e e d a s f o l l o w s :
1 . Y o u s p e c i f y t h e t i m e f r a m e a n d o t h e r c r i t e r i a f o r w h i c h y o u w a n t t h e t a b l e s t o b e d i s p l a y e d .
2 . T o r e f r e s h t a b l e d a t a , y o u c h o o s e t h e A p p l y S e l e c t i o n p u s h b u t t o n . T h e f o l l o w i n g i n f o r m a t i o n i s
d i s p l a y e d :
C o l u m n : D e s c r i p t i o n :
D a t a b a s e N a m e o f t h e d a t a b a s e
T a b l e O w n e r N a m e o f t h e t a b l e o w n e r
T a b l e N a m e N a m e o f t h e t a b l e
R e s e r v e d T o t a l ( K B ) S p a c e r e s e r v e d f o r f u t u r e i n s e r t s
U s e d T o t a l T o t a l a m o u n t o f s p a c e u s e d i n K B
U n u s e d T o t a l T o t a l a m o u n t o f u n u s e d s p a c e i n K B
D a t a T o t a l ( K B ) A m o u n t o f d a t a f o r t h i s t a b l e i n K B
D a t a U t i l i z e d T o t a l A m o u n t o f u t i l i z e d d a t a f o r t h i s t a b l e i n K B
N u m b e r o f R o w s T a b l e r o w s
6 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 63/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
C o l u m n : D e s c r i p t i o n :
D a t a C h a n g e P e r c e n t a g e o f d a t a c h a n g e s i n c e t h e l a s t s t a t i s t i c s u p d a t e w a s p e r f o r m e d o n t h e o b j e c t
D a t a C l u s t e r R a t i o D a t a c l u s t e r r a t i o i n %
L a r g e I O E f f i c i e n c y I n f o r m a t i o n a b o u t I / O e f f i c i e n c y
D e l e t e d R o w s N u m b e r o f d a t a r e c o r d s t h a t w e r e d e l e t e d
F o r w a r d e d R o w s R o w s t h a t g r o w i n l e n g t h w i t h s u b s e q u e n t u p d a t e s
T o d i s p l a y f u r t h e r d e t a i l s o f t h e s e l e c t e d t a b l e , y o u s e l e c t a l i n e i n t h e o v e r v i e w t a b l e a n d c h o o s e T a b l e
D e t a i l s . B y a n a l y z i n g a n d m a i n t a i n i n g s i n g l e t a b l e s , y o u c a n o p t i m i z e t a b l e s a n d i n d e x e s t o :
n S a v e d i s k s p a c e b y r e l e a s i n g u n u s e d s p a c e n I m p r o v e a c c e s s t o a t a b l e b y k e e p i n g s t a t i s t i c s u p - t o - d a t e o r b y r e o r g a n i z i n g f r a g m e n t e d t a b l e s
o r i n d e x e s
T h e S i n g l e T a b l e A n a l y s i s s c r e e n c o n s i s t s o f t h e f o l l o w i n g a r e a s :
n A s e l e c t i o n a r e a , w h e r e y o u s p e c i f y t h e s c h e m a a n d n a m e o f t h e t a b l e t o b e a n a l y z e d
n T a b p a g e s w i t h d e t a i l i n f o r m a t i o n t h a t i s r e l e v a n t f o r t a b l e s a n d i n d e x e s
4 . 9 C o n f i g u r a t i o n
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t t h e m a i n t a s k a r e a s t h a t a r e a v a i l a b l e u n d e r
C o n f i g u r a t i o n o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t :
n S e r v e r C o n f i g u r a t i o n
n D a t a C a c h e s
n A T M C o n f i g u r a t i o n
n D a t a C o l l e c t i o n F r a m e w o r k
4 . 9 . 1 C o n f i g u r a t i o n : S e r v e r C o n f i g u r a t i o n
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e c o n f i g u r a t i o n o f a S y b a s e A S E d a t a b a s e s e r v e r b y c a l l i n g t h e D B A
C o c k p i t a n d c h o o s i n g C o n f i g u r a t i o n S e r v e r C o n f i g u r a t i o n o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
T h e t a b p a g e d i s p l a y s a l l g r o u p s , t h e i r a s s o c i a t e d p a r a m e t e r s , a n d t h e c u r r e n t v a l u e s f o r t h e
p a r a m e t e r s .
C o n f i g u r a t i o n p a r a m e t e r s a r e u s e r - d e f i n a b l e s e t t i n g s t h a t c o n t r o l v a r i o u s a s p e c t s o f A d a p t i v e
S e r v e r ’ s b e h a v i o r . A d a p t i v e S e r v e r s u p p l i e s d e f a u l t v a l u e s f o r a l l c o n f i g u r a t i o n p a r a m e t e r s . Y o u
c a n u s e c o n f i g u r a t i o n p a r a m e t e r s t o t a i l o r A d a p t i v e S e r v e r f o r a n i n s t a l l a t i o n ’ s p a r t i c u l a r n e e d s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 6 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 64/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
C o n f i g u r a t i o n p a r a m e t e r s a r e u s e d f o r a w i d e r a n g e o f s e r v i c e s , f r o m b a s i c t o s p e c i f i c s e r v e r o p e r a t i o n s ,
a n d f o r p e r f o r m a n c e t u n i n g .
N o t e
C h a n g e c o n f i g u r a t i o n p a r a m e t e r s w i t h c a u t i o n . A r b i t r a r y c h a n g e s i n p a r a m e t e r v a l u e s c a n a d v e r s e l y
a f f e c t A d a p t i v e S e r v e r p e r f o r m a n c e a n d o t h e r a s p e c t s o f s e r v e r o p e r a t i o n .
C o n f i g u r a t i o n p a r a m e t e r s a r e g r o u p e d a c c o r d i n g t o t h e a r e a o f A d a p t i v e S e r v e r b e h a v i o r t h e y a f f e c t .
T h i s m a k e s i t e a s i e r t o i d e n t i f y a l l p a r a m e t e r s t h a t y o u m i g h t n e e d t o t u n e t o i m p r o v e a p a r t i c u l a r
a r e a o f A d a p t i v e S e r v e r p e r f o r m a n c e .
N o t e
F o r m o r e i n f o r m a t i o n , s e e c h a p t e r T h e p a r a m e t e r h i e r a r c h y i n t h e S y b a s e A d m i n i s t r a t i o n M a n u a l .
P a r a m e t e r v a l u e s a r e d i s p l a y e d i n t h e f o l l o w i n g c o l u m n s :
P a r a m e t e r V a l u e : D e s c r i p t i o n :
R u n V a l u e T h e v a l u e A d a p t i v e S e r v e r i s c u r r e n t l y u s i n g . I t c h a n g e s w h e n y o u m o d i f y a d y n a m i c p a r a m e t e r ’ s v a l u e a n d , f o r s t a t i c p a r a m e t e r s , a f t e r y o u r e s t a r t A d a p t i v e S e r v e r .
C o n f i g V a l u e M o s t r e c e n t v a l u e t o w h i c h t h e c o n f i g u r a t i o n p a r a m e t e r h a s b e e n s e t . W h e n y o u m o d i f y a d y n a m i c
p a r a m e t e r : n T h e c o n f i g u r a t i o n a n d r u n v a l u e s a r e u p d a t e d .
n T h e c o n f i g u r a t i o n f i l e i s u p d a t e d .
n T h e c h a n g e t a k e s e f f e c t i m m e d i a t e l y . W h e n y o u m o d i f y a s t a t i c p a r a m e t e r :
n T h e c o n f i g u r a t i o n v a l u e i s u p d a t e d .
n T h e c o n f i g u r a t i o n f i l e i s u p d a t e d .
n T h e c h a n g e t a k e s e f f e c t o n l y w h e n y o u r e s t a r t A d a p t i v e S e r v e r .
D e f a u l t V a l u e T h e v a l u e A d a p t i v e S e r v e r i s s h i p p e d w i t h . I f y o u d o n o t e x p l i c i t l y r e c o n f i g u r e a p a r a m e t e r , i t r e t a i n s i t s d e f a u l t v a l u e .
M e m o r y U s e d T h e a m o u n t o f m e m o r y u s e d ( i n k i l o b y t e s ) b y t h e p a r a m e t e r a t i t s c u r r e n t v a l u e . S o m e r e l a t e d p a r a m e t e r s d r a w f r o m t h e s a m e m e m o r y p o o l . F o r i n s t a n c e , t h e m e m o r y u s e d f o r s t a c k s i z e a n d s t a c k g u a r d s i z e i s a l r e a d y a c c o u n t e d f o r i n t h e m e m o r y u s e d f o r n u m b e r o f u s e r c o n n e c t i o n s . I f y o u a d d e d t h e m e m o r y u s e d b y e a c h o f t h e s e p a r a m e t e r s s e p a r a t e l y , i t w o u l d t o t a l m o r e t h a n t h e a m o u n t a c t u a l l y u s e d . I n t h e M e m o r y U s e d c o l u m n , p a r a m e t e r s t h a t “ s h a r e ” m e m o r y w i t h o t h e r p a r a m e t e r s a r e m a r k e d w i t h a h a s h m a r k ( “ # ” ) .
6 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 65/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
P a r a m e t e r V a l u e : D e s c r i p t i o n :
U n i t T h e u n i t v a l u e i n w h i c h t h e c o n f i g u r a t i o n p a r a m e t e r i s d i s p l a y e d .
T y p e D i s p l a y s w h e t h e r t h e c o n f i g u r a t i o n o p t i o n i s s t a t i c o r d y n a m i c . C h a n g e s t o s t a t i c p a r a m e t e r s r e q u i r e t h a t y o u r e s t a r t A d a p t i v e S e r v e r f o r t h e c h a n g e s t o t a k e e f f e c t . C h a n g e s t o d y n a m i c p a r a m e t e r s t a k e e f f e c t i m m e d i a t e l y w i t h o u t h a v i n g t o r e s t a r t A d a p t i v e S e r v e r . P a r a m e t e r s o f t y p e r e a d - o n l y a r e n o t c h a n g e a b l e .
H o w t o M o d i f y C o n f i g u r a t i o n P a r a m e t e r s S e t o r c h a n g e c o n f i g u r a t i o n p a r a m e t e r s i n t h e f o l l o w i n g w a y :
1 . S e l e c t t h e p a r a m e t e r .
2 . C h o o s e C h a n g e .
3 . E n t e r t h e n e w v a l u e i n t h e C h a n g e C o n f i g u r a t i o n P a r a m e t e r q u i c k a c t i v i t y .
T h e v a l u e r a n g e i n d i c a t e s t h e r a n g e o f a l l o w e d v a l u e s .
T o g e t h e l p i n f o r m a t i o n o n c o n f i g u r a t i o n p a r a m e t e r s , s e l e c t t h e p a r a m e t e r a n d r e a d t h e c o n f i g u r a t i o n
p a r a m e t e r d e t a i l s i n t h e l o w e r p a r t o f t h e s c r e e n .
F o r m o r e i n f o r m a t i o n , s e e t h e c h a p t e r C o n f i g u r a t i o n P a r a m e t e r s i n t h e S y b a s e S y s t e m A d m i n i s t r a t i o n M a n u a l a n d
t h e S y b a s e P e r f o r m a n c e a n d T u n i n g G u i d e .
4 . 9 . 2 C o n f i g u r a t i o n : D a t a C a c h e s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e c o n f i g u r a t i o n o f d a t a c a c h e s a n d c a c h e p o o l s b y c a l l i n g t h e
D B A C o c k p i t a n d c h o o s i n g C o n f i g u r a t i o n D a t a C a c h e s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
F o r m o r e i n f o r m a t i o n o n d a t a c a c h e c o n f i g u r a t i o n , r e f e r t o t h e S y b a s e A d m i n i s t r a t i o n M a n u a l , c h a p t e r
C o n f i g u r i n g D a t a C a c h e s .
4 . 9 . 3 C o n f i g u r a t i o n : D a t a C o l l e c t i o n F r a m e w o r k
T h e s e c t i o n D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] p r o v i d e s i n f o r m a t i o n a b o u t h o w t o
u s e t h e d a t a c o l l e c t i o n f r a m e w o r k ( D C F ) t o c o l l e c t h i s t o r y d a t a o f t h e m o n i t o r e d d a t a b a s e s .
N o t e
T h e D C F i s b a s e d o n p r e - d e f i n e d t e m p l a t e s .
F o r i n f o r m a t i o n a b o u t t h e s e t e m p l a t e s , s e e D a t a C o l l e c t i o n F r a m e w o r k : T e m p l a t e D e f i n i t i o n [ p a g e 6 8 ] .
1 2 / 1 8 / 2 0 1 2 P U B L I C 6 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 66/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
4 . 9 . 4 D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n
T h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n p r o v i d e s a n o v e r v i e w o f t h e s t a t e o f t h e i n s t a l l e d h i s t o r y d a t a c o l l e c t o r s . Y o u c a n u s e t h i s s c r e e n t o c h a n g e t h e c o n f i g u r a t i o n o f s p e c i f i c d a t a c o l l e c t o r s . F u r t h e r m o r e , y o u
c a n s e t u p t h e d a t a c o l l e c t i o n f r a m e w o r k ( D C F ) u s i n g t e m p l a t e s a s d e s c r i b e d i n S e t t i n g U p t h e D a t a
C o l l e c t i o n F r a m e w o r k M a n u a l l y .
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e h i s t o r y d a t a c o l l e c t o r s b y c a l l i n g t h e D B A C o c k p i t a n d
c h o o s i n g C o n f i g u r a t i o n D a t a C o l l e c t i o n F r a m e w o r k C o l l e c t o r C o n f i g u r a t i o n o n t h e D a t a b a s e t a b p a g e
o f t h e D B A C o c k p i t .
I n t h e c e n t r a l s y s t e m d a t a a r e a o f t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n , s t a t u s m e s s a g e s a r e d i s p l a y e d t h a t
p r o v i d e i n f o r m a t i o n s u c h a s t h e f o l l o w i n g :
n W e t h e r b a c k - e n d a u t o m a t i c u p d a t e i s e n a b l e d o r d i s a b l e d B y d e f a u l t , t h e a u t o m a t i c b a c k - e n d u p d a t e f u n c t i o n i s e n a b l e d . T h i s m e a n s t h a t t h e i n s t a l l e d d a t a
c o l l e c t i o n f r a m e w o r k i s c h e c k e d o n c e d a i l y . I f i t n e e d s t o b e u p d a t e d d u e t o S A P c o d e c h a n g e s o r
d a t a b a s e c h a n g e s , t h e s e u p d a t e s a r e p e r f o r m e d a u t o m a t i c a l l y .
n W h i c h t a s k s c h e d u l e r i s u s e d
B y d e f a u l t , t h e S y b a s e A S E J o b S c h e d u l e r i s u s e d t o e x e c u t e t h e s t o r e d p r o c e d u r e s r e g u l a r l y .
I n t h e c o n t e n t a r e a , t h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n D e s c r i p t i o n
D a t a C o l l e c t o r N a m e o f t h e d a t a c o l l e c t o r
T y p i c a l l y , t h e n a m e r e f e r s t o t h e d a t a t h a t i s c o l l e c t e d ‒ f o r e x a m p l e , t h e d a t a c o l l e c t o r T a b l e s s t o r e s t a b l e - r e l a t e d m e t r i c s i n t h e h i s t o r y t a b l e s .
T y p e T y p e o f d a t a c o l l e c t o r T h e f o l l o w i n g c o l l e c t o r t y p e s a r e p o s s i b l e :
n S A P D a t a C o l l e c t i o n a n d P r e p a r a t i o n ( S T P ) T h e s e d a t a c o l l e c t o r s h a v e t h e i r o w n m e c h a n i s m t o c a l c u l a t e t h e d e l t a o f t h e d i f f e r e n t s n a p s h o t s .
n C l e a n u p o f M e s s a g e L o g s ( S T P ) T h e F r a m e w o r k d a t a c o l l e c t o r i s n o t a t y p i c a l d a t a c o l l e c t o r t y p e , b u t a c l e a n u p j o b f o r t h e m e s s a g e s g e n e r a t e d b y t h e a b o v e m e n t i o n e d d a t a c o l l e c t o r t y p e s .
S e t u p I n d i c a t e s t h e s e t u p s t a t u s T h e f o l l o w i n g v a l u e s a r e p o s s i b l e :
n G r e e n : T h e d a t a c o l l e c t o r i s s e t u p a s i n t e n d e d .
n Y e l l o w : T h e d a t a c o l l e c t o r i s n o t s e t u p p r o p e r l y . W e r e c o m m e n d t h a t y o u r e p a i r t h e d a t a c o l l e c t o r .
6 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 67/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
n R e d : T h e d a t a c o l l e c t o r i s n o t s e t u p . S e t u p t h e d a t a
c o l l e c t o r a c c o r d i n g t o t h e a s s i g n e d t e m p l a t e . n G r e y :
T h e d a t a c o l l e c t o r i s n o t s e t u p a n d t h e a s s i g n e d t e m p l a t e a l s o f l a g s t h i s d a t a c o l l e c t o r t o b e d e a c t i v a t e d .
C o l l e c t i o n I n t e r v a l S c h e d u l e o f t h e d a t a c o l l e c t o r
A v a i l a b l e D a y s A v a i l a b i l i t y o f t h e c o l l e c t e d d a t a f o r a g i v e n n u m b e r o f d a y s , s t a r t i n g n o w
D a y s K e p t i n H i s t o r y N u m b e r o f d a y s t h e s l i d i n g h i s t o r y w i n d o w c o n t a i n s t h e d a t a T h e d a t a i n t h e h i s t o r y i s d e l e t e d a f t e r t h i s s e t t i m e .
S i z e o n D i s k ( M B ) S p a c e c o n s u m p t i o n i n t h e l o c a l h i s t o r y o f t h e d a t a t h a t i s s t o r e d b y t h e d a t a c o l l e c t o r
E r r o r s N u m b e r o f e r r o r s t h a t t h e d a t a c o l l e c t o r h a s c a p t u r e d a n d t h e s c h e d u l e r h a s r e c o r d e d
W a r n i n g s N u m b e r o f w a r n i n g s t h a t t h e d a t a c o l l e c t o r h a s c a p t u r e d a n d t h e s c h e d u l e r h a s r e c o r d e d
M a i n t a i n i n g H i s t o r y D a t a C o l l e c t o r s
T o m a i n t a i n d a t a c o l l e c t o r s ‒ f o r e x a m p l e , t o s e t t h e m u p , c h a n g e , o r a n a l y z e t h e m , o r t o r e m o v e
d a t a f r o m t h e m ‒ c h o o s e a d a t a c o l l e c t o r f r o m t h e l i s t . I n t h e c o n t e n t d e t a i l a r e a o f t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n , t h e C o n f i g u r a t i o n a n d D a t a C o l l e c t o r L o g t a b
p a g e s a p p e a r w i t h t h e r e l e v a n t d a t a c o l l e c t o r d e t a i l s d i s p l a y e d .
D e p e n d i n g o n y o u r s e t u p s t a t u s , y o u c a n p r o c e e d w i t h t h e f o l l o w i n g m a i n t e n a n c e a c t i o n s :
A c t i o n S e t u p S t a t u s S t e p s t o B e P e r f o r m e d
S e t t i n g u p a s i n g l e h i s t o r y d a t a c o l l e c t o r
G r e y o r r e d a s t h e d a t a c o l l e c t o r i s n o t s e t u p y e t
O n t h e C o n f i g u r a t i o n t a b p a g e , c h o o s e t h e S e t U p p u s h b u t t o n .
N o t e
Y o u m u s t s e t u p t h e F r a m e w o r k
c o l l e c t o r b e f o r e a l l o t h e r d a t a c o l l e c t o r s .
R e p a i r i n g a s i n g l e h i s t o r y d a t a c o l l e c t o r
Y e l l o w a s t h e d a t a c o l l e c t o r i s s e t u p b u t s h o u l d b e u p d a t e d o r n e e d s t o b e r e p a i r e d
O n t h e C o n f i g u r a t i o n t a b p a g e , c h o o s e t h e R e p a i r p u s h b u t t o n .
1 2 / 1 8 / 2 0 1 2 P U B L I C 6 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 68/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
A c t i o n S e t u p S t a t u s S t e p s t o B e P e r f o r m e d
C h a n g i n g a s i n g l e h i s t o r y d a t a c o l l e c t o r
G r e e n 1 . O n t h e C o n f i g u r a t i o n t a b p a g e , c h o o s e t h e C h a n g e S e t t i n g s
p u s h b u t t o n a n d e n t e r y o u r c h a n g e s .
2 . T o a p p l y y o u r c h a n g e s , c h o o s e t h e A p p l y C h a n g e s p u s h b u t t o n . I f y o u w a n t t o d i s c a r d y o u r c h a n g e s , c h o o s e t h e R e s e t C h a n g e s p u s h b u t t o n .
R e m o v i n g d a t a o f a s i n g l e h i s t o r y d a t a c o l l e c t o r
Y e l l o w o r g r e e n O n t h e C o n f i g u r a t i o n t a b p a g e , c h o o s e t h e P r u n e p u s h b u t t o n . B y d o i n g s o , t h e c o l l e c t e d d a t a a n d t h e
g e n e r a t e d m e s s a g e s o f t h e d a t a c o l l e c t o r a r e r e m o v e d .
D r o p p i n g a s i n g l e h i s t o r y d a t a c o l l e c t o r
Y e l l o w o r g r e e n O n t h e C o n f i g u r a t i o n t a b p a g e , c h o o s e t h e D r o p p u s h b u t t o n .
A n a l y z i n g a s i n g l e h i s t o r y d a t a c o l l e c t o r
Y e l l o w o r g r e e n O n t h e D a t a C o l l e c t o r L o g t a b p a g e , y o u c a n c h o o s e b e t w e e n t h e f o l l o w i n g p u s h b u t t o n s :
n S h o w E r r o r M e s s a g e s
n S h o w W a r n i n g s
n S h o w I n f o r m a t i o n M e s s a g e s
4 . 9 . 5 D a t a C o l l e c t i o n F r a m e w o r k : T e m p l a t e D e f i n i t i o n
T h e d a t a c o l l e c t i o n f r a m e w o r k i s b a s e d o n p r e - d e f i n e d t e m p l a t e s . T h e s e t e m p l a t e s e n s u r e a
h o m o g e n e o u s s e t u p o f t h e h i s t o r y d a t a c o l l e c t o r s i n y o u r s y s t e m l a n d s c a p e . Y o u c a n o n l y m a i n t a i n
t h e s e t e m p l a t e s o n t h e T e m p l a t e D e f i n i t i o n s c r e e n i n t h e D B A C o c k p i t .
O n t h e T e m p l a t e D e f i n i t i o n s c r e e n , y o u c a n p e r f o r m t h e f o l l o w i n g a c t i o n s :
n C r e a t e n e w t e m p l a t e s
n C h a n g e s i n g l e h i s t o r y d a t a c o l l e c t o r s i n a t e m p l a t e
n S e t a d e f a u l t t e m p l a t e
n D e l e t e a t e m p l a t e
N o t e
I n t h e S A P S o l u t i o n M a n a g e r s e t u p w i z a r d f o r m a n a g e d s y s t e m s f o r t h e d a t a b a s e , t h e t e m p l a t e s
a r e a v a i l a b l e f o r u s e b u t c a n n o t b e m a i n t a i n e d .
Y o u c a n a c c e s s t h e T e m p l a t e D e f i n i t i o n s c r e e n b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g C o n f i g u r a t i o n
D a t a C o l l e c t i o n F r a m e w o r k T e m p l a t e D e f i n i t i o n o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
6 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 69/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
F r o m t h e T e m p l a t e d r o p d o w n l i s t , c h o o s e t h e a p p r o p r i a t e t e m p l a t e f o r y o u r s e t u p .
T h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n D e s c r i p t i o n
D a t a C o l l e c t o r N a m e o f t h e h i s t o r y d a t a c o l l e c t o r T y p i c a l l y , t h e n a m e r e f e r s t o t h e d a t a t h a t i s c o l l e c t e d , f o r e x a m p l e , t h e d a t a c o l l e c t o r T a b l e s s t o r e s t a b l e - r e l a t e d m e t r i c s i n t h e h i s t o r y t a b l e s .
T y p e T h e f o l l o w i n g d a t a c o l l e c t o r t y p e s a r e a v a i l a b l e : n S A P D a t a C o l l e c t i o n a n d P r e p a r a t i o n ( S T P )
T h e s e h i s t o r y d a t a c o l l e c t o r s h a v e t h e i r o w n m e c h a n i s m f o r d e l t a c a l c u l a t i o n o f t h e d i f f e r e n t s n a p s h o t s .
n C l e a n u p o f M e s s a g e L o g s ( S T P ) T h e F r a m e w o r k d a t a c o l l e c t o r i s n o t a t y p i c a l d a t a c o l l e c t o r t y p e , b u t a c l e a n u p j o b f o r t h e m e s s a g e s g e n e r a t e d b y t h e a b o v e m e n t i o n e d d a t a c o l l e c t o r t y p e s .
R e l e a s e ( m i n ) M i n i m u m d a t a b a s e r e l e a s e r e q u i r e d f o r t h e h i s t o r y d a t a c o l l e c t o r
R e l e a s e ( m a x ) M a x i m u m d a t a b a s e r e l e a s e s u p p o r t e d b y t h e h i s t o r y d a t a c o l l e c t o r
S e t u p I n d i c a t e s t h e s e t u p s t a t u s : n G r e e n :
T h e h i s t o r y d a t a c o l l e c t o r i s s e t u p a s i n t e n d e d . n Y e l l o w : T h e h i s t o r y d a t a c o l l e c t o r i s n o t s e t u p p r o p e r l y . W e r e c o m m e n d t h a t y o u r e p a i r i t .
n R e d : T h e h i s t o r y d a t a c o l l e c t o r i s n o t s e t u p . S e t u p t h e h i s t o r y d a t a c o l l e c t o r a c c o r d i n g t o t h e a s s i g n e d t e m p l a t e .
n G r e y : T h e h i s t o r y d a t a c o l l e c t o r i s n o t s e t u p a n d t h e a s s i g n e d t e m p l a t e a l s o m a r k s t h i s d a t a c o l l e c t o r t o b e d e a c t i v a t e d .
C o l l e c t i o n I n t e r v a l S c h e d u l e o f t h e h i s t o r y d a t a c o l l e c t o r D a y s K e p t i n H i s t o r y N u m b e r o f d a y s o f t h e s l i d i n g h i s t o r y w i n d o w
T h e d a t a i n t h e h i s t o r y i s d e l e t e d a f t e r t h i s n u m b e r o f d a y s .
C r e a t i n g a N e w D a t a C o l l e c t o r T e m p l a t e
Y o u c a n c r e a t e a n e w d a t a c o l l e c t o r t e m p l a t e e i t h e r b y c o p y i n g a n e x i s t i n g t e m p l a t e o r b y g e n e r a t i n g
a t e m p l a t e t h a t i s b a s e d o n t h e c o n f i g u r a t i o n o f a n i n d i v i d u a l s y s t e m a s f o l l o w s :
n C o p y i n g a n e x i s t i n g t e m p l a t e :
1 2 / 1 8 / 2 0 1 2 P U B L I C 6 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 70/116
4 T h e D B A C o c k p i t
4 . 9 C o n f i g u r a t i o n
1 . O n t h e T e m p l a t e D e f i n i t i o n s c r e e n , c h o o s e a t e m p l a t e f r o m t h e T e m p l a t e d r o p d o w n l i s t a n d c h o o s e
t h e S a v e A s N e w T e m p l a t e p u s h b u t t o n .
T h e S a v e A s N e w T e m p l a t e d i a l o g b o x a p p e a r s . 2 . E n t e r a u n i q u e n a m e a n d a d e s c r i p t i o n o f t h e n e w t e m p l a t e .
3 . S a v e t h e t e m p l a t e .
n C r e a t i n g a t e m p l a t e b a s e d o n a s y s t e m c o n f i g u r a t i o n :
1 . O n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t , c h o o s e C o n f i g u r a t i o n D a t a C o l l e c t i o n F r a m e w o r k
C o l l e c t o r C o n f i g u r a t i o n .
2 . O n t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n , c h o o s e t h e S a v e a s N e w T e m p l a t e p u s h b u t t o n .
N o t e
T h e S a v e A s N e w T e m p l a t e p u s h b u t t o n i s o n l y e n a b l e d i f t h e r e s p e c t i v e s y s t e m c o n f i g u r a t i o n f u l f i l l s t h e m i n i m u m t e m p l a t e r e q u i r e m e n t s o f S A P t h a t a r e d e f i n e d b y t h e S A P D e f a u l t
t e m p l a t e . T h i s m e a n s t h a t e v e r y n e w t e m p l a t e m u s t d e t e r m i n e a f i n e r g r a n u l a r i t y o r a l o n g e r
r e t e n t i o n t i m e f o r t h e h i s t o r y d a t a t h a n t h e S A P D e f a u l t t e m p l a t e d o e s .
3 . I n t h e S a v e A s N e w T e m p l a t e d i a l o g b o x , e n t e r a u n i q u e n a m e a n d a d e s c r i p t i o n o f t h e n e w
t e m p l a t e .
4 . S a v e t h e t e m p l a t e .
C h a n g i n g a S i n g l e H i s t o r y D a t a C o l l e c t o r i n a T e m p l a t e
T h e S e t u p s t a t u s o f t h e h i s t o r y d a t a c o l l e c t o r m u s t b e g r e e n .
1 . C h o o s e a n o n - S A P t e m p l a t e f r o m t h e T e m p l a t e d r o p d o w n l i s t .
2 . O n t h e C o n f i g u r a t i o n t a b p a g e i n t h e c o n t e n t d e t a i l a r e a , c h o o s e t h e C h a n g e S e t t i n g s p u s h b u t t o n .
N o t e
Y o u c a n n o t c h a n g e a n S A P t e m p l a t e . I n s t e a d , y o u c a n c r e a t e a c u s t o m t e m p l a t e b a s e d o n t h e
S A P t e m p l a t e a n d c h a n g e t h i s n e w l y c r e a t e d t e m p l a t e .
3 . I n t h e c o n t e n t d e t a i l a r e a , e n t e r y o u r c h a n g e s i n t h e r e s p e c t i v e f i e l d s .
4 . A p p l y y o u r c h a n g e s .
N o t e
I f y o u w a n t t o d i s c a r d y o u r c h a n g e s , c h o o s e t h e R e s e t C h a n g e s p u s h b u t t o n .
S e t t i n g a D e f a u l t T e m p l a t e
T h e d e f a u l t t e m p l a t e i s p r e s e l e c t e d i n t h e t e m p l a t e - b a s e d s e t u p a n d i n t h e S A P S o l u t i o n M a n a g e r
s e t u p w i z a r d f o r m a n a g e d s y s t e m s .
T o c h a n g e a d e f a u l t t e m p l a t e , c h o o s e a t e m p l a t e f r o m t h e T e m p l a t e d r o p d o w n l i s t a n d c h o o s e t h e S e t
A s D e f a u l t p u s h b u t t o n .
7 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 71/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
N o t e
T h e c u r r e n t d e f a u l t t e m p l a t e i s m a r k e d w i t h a n a s t e r i s k ( * ) . I f t h e d e f a u l t t e m p l a t e i s c u r r e n t l y
s e l e c t e d , t h e S e t A s D e f a u l t p u s h b u t t o n i s d i s a b l e d .
D e l e t i n g a T e m p l a t e
Y o u c a n d e l e t e a t e m p l a t e b y c h o o s i n g i t f r o m t h e T e m p l a t e d r o p d o w n l i s t a n d c h o o s i n g t h e D e l e t e
p u s h b u t t o n .
A l i s t o f a l l s y s t e m s i s d i s p l a y e d t h a t a r e a s s i g n e d t o t h i s t e m p l a t e . I f t h e r e a r e e n t r i e s i n t h e l i s t , t h e
d e f a u l t t e m p l a t e i s a s s i g n e d t o t h e s e s y s t e m s b e f o r e t h e t e m p l a t e i s d e l e t e d .
N o t e
Y o u c a n n o t d e l e t e S A P t e m p l a t e s o r t h e c u r r e n t d e f a u l t t e m p l a t e . I f y o u w a n t t o d e l e t e t h e c u r r e n t d e f a u l t t e m p l a t e , y o u f i r s t h a v e t o u n m a r k i t a s t h e d e f a u l t b y
s e t t i n g a d i f f e r e n t t e m p l a t e a s t h e n e w d e f a u l t .
4 . 1 0 J o b s
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t t h e m a i n t a s k a r e a s t h a t a r e a v a i l a b l e u n d e r J o b s
o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
n D B A P l a n n i n g C a l e n d a r
n D B A L o g
4 . 1 0 . 1 J o b s : D B A P l a n n i n g C a l e n d a r
Y o u u s e t h e D B A P l a n n i n g C a l e n d a r t o a u t o m a t e d a t a b a s e a d m i n i s t r a t i o n a c t i o n s t h a t h a v e t o
b e p e r f o r m e d r e g u l a r l y . Y o u c a n s c h e d u l e o p e r a t i o n s s u c h a s o n l i n e b a c k u p s w h i c h a r e t h e n
a u t o m a t i c a l l y p e r f o r m e d , a n d y o u c a n c h e c k w h e t h e r t h e o p e r a t i o n s w e r e s u c c e s s f u l .
T h e m a i n f u n c t i o n o f t h e D B A P l a n n i n g C a l e n d a r i s t o d e f i n e t h e s t a r t t i m e s a n d p a r a m e t e r s f o r
d a t a b a s e a c t i o n s . S i n c e t h e s e a c t i o n s r u n w i t h o u t a d m i n i s t r a t o r i n t e r a c t i o n , y o u h a v e t o m a k e s u r e i n a d v a n c e t h a t t h e n e c e s s a r y r e s o u r c e s a r e a v a i l a b l e .
I n t e g r a t i o n
T h e D B A P l a n n i n g C a l e n d a r i s p a r t o f t h e D B A C o c k p i t . Y o u c a n s t a r t t h e D B A P l a n n i n g C a l e n d a r
b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g J o b s D B A P l a n n i n g C a l e n d a r o n t h e D a t a b a s e t a b p a g e
o f t h e D B A C o c k p i t .
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 72/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
F e a t u r e s
T h e i n i t i a l s c r e e n o f t h e D B A P l a n n i n g C a l e n d a r c o n s i s t s o f a S e l e c t i o n a r e a a n d t h e c a l e n d a r . I n t h e
f o l l o w i n g , b o t h a r e d e s c r i b e d i n m o r e d e t a i l .
T h e S e l e c t i o n A r e a
T h e S e l e c t i o n a r e a c o n t a i n s a l l i n f o r m a t i o n a n d p a r a m e t e r s r e q u i r e d f o r s e l e c t i n g t h e s e t o f a c t i o n s t o
b e d i s p l a y e d . Y o u c a n :
n S e l e c t t h e c a t e g o r y o f a n a c t i o n :
l D B A A c t i o n s
T h e s e a r e p l a n n a b l e a c t i o n s .
l E x t e r n a l A c t i o n s
T h e s e a r e p l a n n a b l e a c t i o n s t h a t h a v e n o t b e e n s t a r t e d t h r o u g h t h e D B A P l a n n i n g C a l e n d a r b u t h a v e b e e n s t a r t e d m a n u a l l y o r b y e x t e r n a l j o b s c h e d u l e r s .
l A l l A c t i o n s
T h e s e a r e a l l p l a n n a b l e a c t i o n s , r e g a r d l e s s o f h o w t h e y h a v e b e e n s c h e d u l e d .
l D B C o l l e c t o r s
T h e s e a r e a c t i o n s t h a t a r e a u t o m a t i c a l l y s e l e c t e d b y t h e s y s t e m t o c o l l e c t d a t a , f o r e x a m p l e , o n
p e r f o r m a n c e o r h i s t o r y , a n d t h e y a r e o n l y a v a i l a b l e f o r R F C - m o n i t o r e d s y s t e m s .
n S e l e c t t h e w e e k t o b e d i s p l a y e d
T h e d e f a u l t i s t h e c u r r e n t w e e k . T o n a v i g a t e t o a n o t h e r w e e k , u s e t h e F 4 h e l p .
n S e l e c t a f a c t o r y c a l e n d a r
S p e c i f y i n g a f a c t o r y c a l e n d a r o n l y h a s a n i m p a c t o n t h e c a l e n d a r d i s p l a y . H o l i d a y s a r e t h e s a m e c o l o r a s w e e k e n d d a y s . T h i s d o e s n o t r e s u l t i n a n y r e s t r i c t i o n s o n p l a n n e d a c t i o n s .
T h e C a l e n d a r
T h e c a l e n d a r d i s p l a y s a l l s c h e d u l e d j o b s . T h e s t a t u s o f e a c h j o b i s i n d i c a t e d u s i n g d i f f e r e n t c o l o r s .
T o d i s p l a y t h e m e a n i n g o f e a c h c o l o r , c h o o s e t h e L e g e n d p u s h b u t t o n . T h e f o l l o w i n g i n f o r m a t i o n i s
d i s p l a y e d :
C o l o r S t a t u s D e s c r i p t i o n A c t i o n
L i g h t b l u e P l a n n e d T h e a c t i o n h a s n o t y e t s t a r t e d .
‒
D a r k b l u e R u n n i n g T h e a c t i o n h a s n o t y e t f i n i s h e d .
‒
G r e e n F i n i s h e d s u c c e s s f u l l y T h e a c t i o n h a s r u n s u c c e s s f u l l y .
‒
Y e l l o w F i n i s h e d w i t h w a r n i n g T h e a c t i o n h a s f i n i s h e d w i t h a w a r n i n g .
C h e c k t h e j o b l o g f o r d e t a i l s .
R e d F i n i s h e d w i t h e r r o r A n e r r o r h a s o c c u r r e d a n d t h e a c t i o n w a s i n t e r r u p t e d .
C h e c k t h e j o b l o g f o r d e t a i l s a n d r e s c h e d u l e t h e a c t i o n .
7 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 73/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
C o l o r S t a t u s D e s c r i p t i o n A c t i o n
D a r k y e l l o w N o l o n g e r a v a i l a b l e N o m o r e i n f o r m a t i o n i s a v a i l a b l e .
‒
D a r k r e d S c h e d u l i n g f a i l e d S c h e d u l i n g f a i l e d , t h a t i s , t h e r e i s n o s t a t u s a v a i l a b l e a n d t h e a c t i o n i s o v e r d u e .
‒
N o t e
B y d e f a u l t , t h e D B A P l a n n i n g C a l e n d a r a p p e a r s i n d i s p l a y m o d e . T o s w i t c h t o e d i t i n g m o d e , c h o o s e
t h e C h a n g e p u s h b u t t o n i n t h e g l o b a l t o o l b a r .
4 . 1 0 . 2 S e t t i n g U p a n d W o r k i n g w i t h t h e D B A P l a n n i n g C a l e n d a r
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t h o w y o u i n i t i a l l y s e t u p t h e D B A P l a n n i n g C a l e n d a r
a n d h o w y o u p e r f o r m s t a n d a r d a c t i o n s , s u c h a s :
n S c h e d u l i n g a n A c t i o n [ p a g e 7 3 ]
n C h a n g i n g a n A c t i o n [ p a g e 7 4 ]
n D e l e t i n g a n A c t i o n [ p a g e 7 5 ]
n E x e c u t i n g a n A c t i o n [ p a g e 7 6 ]
n D i s p l a y i n g S c h e d u l e d A c t i o n s [ p a g e 7 6 ]
n T r o u b l e s h o o t i n g [ p a g e 7 7 ]
4 . 1 0 . 3 S c h e d u l i n g a n A c t i o n
1 . T o a d d n e w a c t i o n s t o t h e D B A P l a n n i n g C a l e n d a r , y o u c a n d o o n e o f t h e f o l l o w i n g :
n C l i c k a c a l e n d a r c e l l .
n P o s i t i o n t h e c u r s o r o n a c a l e n d a r c e l l a n d c h o o s e t h e A d d p u s h b u t t o n .
n C h o o s e S c h e d u l e a n A c t i o n i n y o u r F a v o r i t e s . T h e S c h e d u l e a n A c t i o n w i z a r d a p p e a r s .
2 . I n t h e J o b S e l e c t i o n s t e p , d o t h e f o l l o w i n g :
a ) C h o o s e t h e j o b t h a t y o u w a n t t o s c h e d u l e f r o m t h e A c t i o n d r o p d o w n l i s t .
b ) S p e c i f y o n e o f t h e f o l l o w i n g o p t i o n s :
O p t i o n : D e s c r i p t i o n :
S t a r t I m m e d i a t e l y T h e j o b s t a r t s i m m e d i a t e l y i n t h e b a c k g r o u n d a f t e r y o u h a v e c o m p l e t e d t h e r e q u i r e d s t e p s i n t h e w i z a r d .
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 74/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
O p t i o n : D e s c r i p t i o n :
S t a r t o n S p e c i f i e s t h e d a t e a n d t i m e w h e n t h e a c t i o n i s t o s t a r t
S t a r t a s R e c u r r i n g A c t i o n A c t i v a t e s t h e R e c u r r e n c e s t e p w h e r e y o u c a n f u r t h e r s p e c i f y a r e c u r r e n c e p a t t e r n f o r t h i s j o b a s d e s c r i b e d l a t e r o n i n t h i s s e c t i o n
3 . I n t h e P a r a m e t e r s t e p , c h a n g e , o r e n t e r t h e b a s i c p a r a m e t e r s f o r t h e a c t i o n .
4 . O p t i o n a l :
I f y o u p r e v i o u s l y s e l e c t e d t h e S t a r t a s R e c u r r i n g A c t i o n o p t i o n i n t h e J o b S e l e c t i o n s t e p , y o u n o w h a v e t o
e n t e r a r e c u r r e n c e p a t t e r n i n t h e R e c u r r e n c e s t e p .
T h e f o l l o w i n g t a b l e d e s c r i b e s t h e p a r a m e t e r s t o b e s p e c i f i e d i n m o r e d e t a i l :
P a r a m e t e r : D e s c r i p t i o n :
R e c u r r e n c e P a t t e r n I n t e r v a l f o r t h e a c t i o n i n w e e k s , d a y s , o r h o u r s D e p e n d i n g o n t h e s e l e c t e d r e c u r r e n c e p a t t e r n , y o u n e e d t o s p e c i f y t h e p a t t e r n i n m o r e d e t a i l , t h a t i s , t h e d a y s o f t h e w e e k f o r w e e k l y p e r i o d s a n d t h e h o u r s o f t h e d a y f o r a d a i l y p e r i o d . T h e a c t i o n i s r e p e a t e d a t t h e i n t e r v a l t h a t y o u e n t e r . I f y o u s e l e c t O n c e o n l y , t h e a c t i o n i s e x e c u t e d o n l y o n c e .
R e c u r r e n c e R a n g e R a n g e o f t i m e w h e r e t h e a c t i o n r e c u r s , t h a t i s , f o r a s p e c i f i c t i m e i n t e r v a l o r f o r a l i m i t e d n u m b e r o f o c c u r r e n c e s
C a u t i o n
T h e s y s t e m w a r n s y o u i f t h e r e i s a c o n f l i c t w i t h a n e x i s t i n g a c t i o n , b u t i t d o e s n o t p r e v e n t y o u
f r o m i n s e r t i n g t h e n e w a c t i o n .
Y o u m u s t d e c i d e w h e t h e r t h e a c t i o n s m i g h t c o n f l i c t i n t e r m s o f d a t a b a s e a c c e s s o r p e r f o r m a n c e .
T h e s y s t e m d o e s n o t c h e c k f o r c o n f l i c t s b e t w e e n a c t i o n s w i t h i d e n t i c a l s t a r t t i m e s b u t c h e c k s f o r
a c t i o n s w i t h i n a r a n g e o f a p p r o x i m a t e l y 3 0 m i n u t e s .
5 . O n t h e S u m m a r y s c r e e n , r e v i e w t h e s p e c i f i e d p a r a m e t e r s a n d s c h e d u l e t h e j o b b y c h o o s i n g t h e
E x e c u t e p u s h b u t t o n .
6 . E x i t t h e S c h e d u l e a n A c t i o n w i z a r d .
4 . 1 0 . 4 C h a n g i n g a n A c t i o n
T h i s s e c t i o n t e l l s y o u h o w t o c h a n g e a n a c t i o n i n t h e D B A P l a n n i n g C a l e n d a r .
N o t e
I f y o u w a n t t o c h a n g e a r e c u r r i n g a c t i o n , t h e c h a n g e s o n l y a f f e c t r e c u r r e n c e s o f t h e a c t i o n i n t h e
f u t u r e . T h e a c t i o n i s s p l i t i n t o t w o a c t i o n s , o n e d e s c r i b i n g t h e o l d a c t i o n , a n d o n e t h e n e w a c t i o n .
7 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 75/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
P r e r e q u i s i t e s
T h e a c t i o n t o b e c h a n g e d m u s t b e i n t h e s t a t e P l a n n e d ( t h a t i s , n o t a l r e a d y e x e c u t e d ) . I f a n a c t i o n h a s
a l r e a d y b e e n e x e c u t e d , y o u c a n o n l y d i s p l a y i t .
P r o c e d u r e
1 . I n t h e D B A P l a n n i n g C a l e n d a r , c l i c k a c a l e n d a r c e l l t h a t c o n t a i n s a n a c t i o n .
T h e A c t i o n D e s c r i p t i o n d e t a i l a r e a a p p e a r s d i s p l a y i n g t h e a c t i o n p a r a m e t e r s a n d , i f a v a i l a b l e , t h e
r e c u r r e n c e p a t t e r n .
2 . F r o m t h e C h a n g e m e n u b u t t o n , c h o o s e o n e o f t h e f o l l o w i n g o p t i o n s :
n I f y o u w a n t t o e d i t t h e c u r r e n t l y s e l e c t e d o c c u r r e n c e o n l y , c h o o s e S e l e c t e d O c c u r r e n c e .
n I f y o u w a n t t o c h a n g e a l l o c c u r r e n c e s o f a r e c u r r i n g j o b , c h o o s e A l l O c c u r r e n c e s .
T h e C h a n g e S c h e d u l e d A c t i o n d i a l o g b o x a p p e a r s d i s p l a y i n g t h e a c t i o n p a r a m e t e r s a n d , i f a v a i l a b l e , t h e r e c u r r e n c e p a t t e r n s .
3 . A p p l y a n d s a v e y o u r c h a n g e s .
4 . 1 0 . 5 D e l e t i n g a n A c t i o n
T h i s s e c t i o n t e l l s y o u h o w t o d e l e t e a n a c t i o n f r o m t h e D B A P l a n n i n g C a l e n d a r .
P r e r e q u i s i t e s
I f y o u w a n t t o d e l e t e a n a c t i o n f r o m t h e D B A P l a n n i n g C a l e n d a r , i t m u s t b e i n t h e s t a t e P l a n n e d ( t h a t i s , n o t a l r e a d y e x e c u t e d ) .
N o t e
I f a n a c t i o n h a s a l r e a d y b e e n e x e c u t e d , y o u c a n o n l y d i s p l a y i t . F o r m o r e i n f o r m a t i o n , s e e D i s p l a y i n g
S c h e d u l e d A c t i o n s [ p a g e 7 6 ] .
P r o c e d u r e
1 . I n t h e D B A P l a n n i n g C a l e n d a r , c l i c k a c a l e n d a r c e l l t h a t c o n t a i n s t h e a c t i o n t o b e d e l e t e d .
T h e A c t i o n D e s c r i p t i o n d e t a i l a r e a a p p e a r s d i s p l a y i n g t h e a c t i o n p a r a m e t e r s a n d , i f a v a i l a b l e , t h e r e c u r r e n c e p a t t e r n .
2 . F r o m t h e D e l e t e m e n u b u t t o n , c h o o s e o n e o f t h e f o l l o w i n g o p t i o n s :
n I f y o u w a n t t o d e l e t e t h e c u r r e n t l y s e l e c t e d o c c u r r e n c e o n l y , c h o o s e S e l e c t e d O c c u r r e n c e .
n I f y o u w a n t t o d e l e t e a l l o c c u r r e n c e s o f a r e c u r r i n g j o b , c h o o s e A l l O c c u r r e n c e s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 76/116
4 T h e D B A C o c k p i t
4 . 1 0 J o b s
4 . 1 0 . 6 E x e c u t i n g a n A c t i o n
Y o u m i g h t h a v e t o r e s c h e d u l e a n a c t i o n , f o r e x a m p l e , a f t e r i t h a s f a i l e d o r i f t h e r e i s a r e s o u r c e b o t t l e n e c k t h a t n e e d s i m m e d i a t e r e a c t i o n .
P r o c e d u r e
1 . C l i c k t h e a c t i o n t h a t y o u w a n t t o r e - e x e c u t e .
T h e A c t i o n D e s c r i p t i o n d e t a i l a r e a o f t h e a c t i o n a p p e a r s w h e r e y o u c a n c h e c k t h e a c t i o n p a r a m e t e r s .
2 . C h o o s e t h e R e - E x e c u t e p u s h b u t t o n .
R e s u l t
T h e a c t i o n i s r e s c h e d u l e d s t a r t i n g a t t h e c u r r e n t t i m e .
4 . 1 0 . 7 D i s p l a y i n g S c h e d u l e d A c t i o n s
F r o m t h e D B A P l a n n i n g C a l e n d a r , y o u c a n v i e w a l l a c t i o n - r e l a t e d i n f o r m a t i o n . T h i s i n c l u d e s :
n A c t i o n p a r a m e t e r s
n J o b l o g s i f t h e a c t i o n h a s a l r e a d y r u n
T h e s e l o g s p r o v i d e d e t a i l e d i n f o r m a t i o n o n t h e r e s u l t s o f a n a c t i o n .
n R e c u r r e n c e p a t t e r n s
T h e s t a t u s o f a n a c t i o n i s i n d i c a t e d b y t h e c o l o r o f t h e c a l e n d a r c e l l w h e r e a n a c t i o n i s i n s e r t e d .
P r o c e d u r e
T o d i s p l a y a s c h e d u l e d a c t i o n , c l i c k a c a l e n d a r c e l l t h a t c o n t a i n s a n a c t i o n . T h e A c t i o n D e s c r i p t i o n d e t a i l
a r e a a p p e a r s d i s p l a y i n g s c h e d u l i n g i n f o r m a t i o n o r t h e r e t u r n s t a t u s o f a f i n i s h e d a c t i o n .
T h e f o l l o w i n g t a b p a g e s a r e d i s p l a y e d :
n A c t i o n P a r a m e t e r s
D i s p l a y s t h e p a r a m e t e r s o f t h e a c t i o n
n R e c u r r e n c e
D i s p l a y s t h e r e c u r r e n c e p a t t e r n s a n d o n l y a p p e a r s i f t h e a c t i o n i s p a r t o f a r e c u r r i n g a c t i o n n J o b L o g
T h e b a c k g r o u n d p r o c e s s i n g j o b l o g g e n e r a t e d b y t h e a c t i o n i s d i s p l a y e d u n d e r J o b L o g . A l l m e s s a g e s
t h a t h a v e b e e n w r i t t e n b y t h e b a c k g r o u n d j o b a r e a l s o d i s p l a y e d .
T o d i s p l a y l o n g t e x t s , i f a n y a r e a v a i l a b l e , d o u b l e - c l i c k a m e s s a g e .
n P r o g r a m L o g
S o m e a c t i o n s w r i t e l o g f i l e s o n t o t h e d a t a b a s e s e r v e r . I f s u c h a p r o g r a m l o g e x i s t s , i t i s d i s p l a y e d
o n t h i s t a b p a g e .
7 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 77/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
4 . 1 0 . 8 T r o u b l e s h o o t i n g
S i n c e a n y a c t i o n s c h e d u l e d i n t h e D B A P l a n n i n g C a l e n d a r c a n f a i l , y o u m u s t a t l e a s t c h e c k t h e m o r e c r i t i c a l a c t i o n s s u c h a s d a t a b a s e b a c k u p s . T h e f o l l o w i n g s t e p s d e s c r i b e h o w y o u c h e c k w h e t h e r a j o b
w a s e x e c u t e d c o r r e c t l y a n d h o w t o p r o c e e d i f i t f a i l e d .
P r o c e d u r e
1 . C h e c k t h e s t a t u s o f t h e j o b i n t h e D B A C a l e n d a r . T h e s t a t u s o f a j o b i s i n d i c a t e d b y d i f f e r e n t c o l o r s .
I f t h e j o b f i n i s h e d s u c c e s s f u l l y , t h e c a l e n d a r c e l l i s m a r k e d g r e e n .
2 . I f t h e j o b t e r m i n a t e d w i t h a w a r n i n g , a n e r r o r , c o n s u l t t h e j o b l o g .
N o t e I f y o u w a n t t o c o m p l e t e l y c l e a n u p y o u r j o b s , c h o o s e t h e C l e a n u p p u s h b u t t o n . T h i s d e l e t e s a l l j o b s ,
a l l s c h e d u l i n g d a t a , a n d a l l r e l a t e d p r o t o c o l r e c o r d s . I t a l s o r e s e t s t h e D B A P l a n n i n g C a l e n d a r t o
i t s i n i t i a l s t a t e .
W e r e c o m m e n d t h a t y o u c l e a n u p a f t e r a n S A P s y s t e m u p g r a d e o r i f j o b s h a v e b e c o m e c o r r u p t .
4 . 1 0 . 9 J o b s : D B A L o g
T h e D B A l o g p r o v i d e s i n f o r m a t i o n a b o u t p r o t o c o l r e c o r d s t h a t a r e w r i t t e n b y a l l d a t a b a s e - r e l a t e d
p r o g r a m s o f t h e C C M S a n d d a t a b a s e a d m i n i s t r a t i o n t o o l s .
Y o u c a n a c c e s s t h e D B A l o g b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g J o b s D B A L o g o n t h e
D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
W h e n y o u a c c e s s t h e D B A l o g f o r t h e f i r s t t i m e , t h e s y s t e m d i s p l a y s t h e l o g i n f o r m a t i o n f o r t h e
c u r r e n t w e e k .
Y o u c a n d i s p l a y i n f o r m a t i o n a b o u t p r e v i o u s w e e k s b y u s i n g t h e F 4 h e l p o f t h e F r o m f i e l d i n t h e S e l e c t i o n
a r e a .
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
4 . 1 1 . 1 T h e A T M F r a m e w o r k
S o p h i s t i c a t e d b u s i n e s s a p p l i c a t i o n s l i k e t h e S A P B u s i n e s s S u i t e e x e c u t e m i l l i o n s o f D M L s t a t e m e n t s a
d a y . I n a d a t a w a r e h o u s e s c e n a r i o , f o r e x a m p l e , r e p o r t s a r e c o n s t a n t l y b e i n g g e n e r a t e d t o d e t e r m i n e
w h e t h e r b u s i n e s s t a r g e t s a r e b e i n g m e t w h i l e t h e b a c k g r o u n d t a s k s a r e e x e c u t e d t o l o a d c o l l e c t e d
d a t a i n t o d a t a c u b e s o r t o d e l e t e o b s o l e t e d a t a . T h i s c o n s t a n t m a n i p u l a t i o n o f d a t a s e t s c a u s e s d a t a
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 78/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
f r a g m e n t a t i o n , l e a v e s n o n - r e u s a b l e f r e e s p a c e b e h i n d , a n d , f i n a l l y , i n v a l i d a t e s o p t i m i z e r s t a t i s t i c s ,
w h i c h c a n e n d u p i n p o o r q u e r y p e r f o r m a n c e .
T h e D B A C o c k p i t f o r S y b a s e A S E i n t r o d u c e s a f l e x i b l e f r a m e w o r k t h a t a l l o w s y o u t o s e t u p a n d c o n t r o l a u t o m a t i c t a b l e m a i n t e n a n c e ( i n t h e f o l l o w i n g r e f e r r e d t o a s A T M ) o n S y b a s e A S E d a t a b a s e
s y s t e m s . C o n s i d e r i n g t h e t h o u s a n d s o f t a b l e s a n d i n d e x e s a t y p i c a l S A P s y s t e m c r e a t e s o n t h e d a t a b a s e ,
t h i s f r a m e w o r k d r a m a t i c a l l y r e d u c e s m a n u a l a d m i n i s t r a t i v e a c t i v i t i e s a n d t h u s s i g n i f i c a n t l y r e d u c e s
t h e T C O o f t h e S A P o n S y b a s e A S E s o l u t i o n .
T e r m i n o l o g y u s e d i n t h e c o n t e x t o f A u t o m a t i c T a b l e M a i n t e n a n c e :
T e r m : D e s c r i p t i o n ;
A T M p r o f i l e A n A T M p r o f i l e d e f i n e s t h e o b j e c t s t h a t A T M s h o u l d m o n i t o r a s w e l l a s t h e m a i n t e n a n c e a c t i v i t i e s t h a t
s h o u l d b e e x e c u t e d o n c e d e f i n e d t h r e s h o l d s a r e v i o l a t e d .
A T M w i n d o w A n A T M w i n d o w d e f i n e s a t i m e f r a m e w i t h i n w h i c h A T M i s a l l o w e d t o e v a l u a t e a n d m a i n t a i n o b j e c t s . A T M p r o f i l e s a r e a s s i g n e d t o A T M w i n d o w s t o c o n t r o l w h i c h o b j e c t s a r e t o b e m a i n t a i n e d i n a c e r t a i n t i m e w i n d o w a n d w h i c h a r e n o t .
A T M q u e u e O b j e c t s t h a t r e q u i r e m a i n t e n a n c e a r e s t o r e d i n t h e A T M q u e u e . A T M m i g h t n o t b e a b l e t o m a i n t a i n a l l i d e n t i f i e d o b j e c t s b e f o r e a n A T M w i n d o w e x p i r e s . I n t h i s c a s e , A T M w i l l c o n t i n u e t o p r o c e s s q u e u e d o b j e c t s d u r i n g t h e n e x t A T M w i n d o w .
A T M h i s t o r y O b j e c t s t h a t w e r e m a i n t a i n e d b y A T M a r e d r o p p e d f r o m t h e A T M q u e u e , b u t , a t t h e s a m e t i m e , a c t i v i t i e s a r e l o g g e d i n t h e A T M h i s t o r y . T h u s , t h e A T M h i s t o r y a l l o w s m o n i t o r i n g o f p a s t A T M a c t i v i t i e s .
J o b s c h e d u l e r A T M m a k e s u s e o f t h e j o b s c h e d u l e r t h a t i s b u i l t i n t o t h e S y b a s e A S E D B M S .
T h e D B A C o c k p i t a c t s a s t h e c e n t r a l p o i n t t o :
n S e t u p A T M o n a n y r e m o t e S y b a s e A S E D B M S
n C o n f i g u r e A T M w i n d o w s a n d A T M p r o f i l e s n M o n i t o r t h e A T M q u e u e a n d A T M h i s t o r y
n M o n i t o r A T M e x e c u t i o n
A l l o b j e c t s o f t h e A T M f r a m e w o r k a r e t h e r e b y c r e a t e d i n a p r i v a t e d a t a b a s e n a m e d s a p t o o l s , w h i c h i s
a l s o u s e d b y t h e D B A C o c k p i t t o s t o r e h i s t o r i c a l p e r f o r m a n c e d a t a a n d s p a c e i n f o r m a t i o n .
T h e j o b s c h e d u l e r ( J S ) e x e c u t e s a s t o r e d p r o c e d u r e t h a t i s c r e a t e d a n d s c h e d u l e d b y t h e D B A C o c k p i t ,
a s d e f i n e d b y A T M w i n d o w s . T h i s s t o r e d p r o c e d u r e e v a l u a t e s m a i n t e n a n c e r e q u i r e m e n t s t h a t a r e
d e f i n e d b y A T M p r o f i l e s , a n d , i n a s e c o n d s t e p , i t a l s o e x e c u t e s m a i n t e n a n c e c o m m a n d s o n i d e n t i f i e d
o b j e c t s .
7 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 79/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
N o t e
A T M i s n o t s u p p o r t e d f o r A S E r e l e a s e s o l d e r t h a n 1 5 . 5 . I n a d d i t i o n , s y s t e m a n d p r o x y t a b l e s a r e
e x c l u d e d f r o m a u t o m a t i c m a i n t e n a n c e .
4 . 1 1 . 2 S e t u p a n d M a i n t e n a n c e o f t h e A T M F r a m e w o r k
D e p l o y i n g A T M o n S y b a s e A S E i s v e r y e a s y . A l l y o u n e e d t o d o i s m a k e t h e s y s t e m k n o w n t o t h e D B A
C o c k p i t a n d i n i t i a t e t h e s e t u p p r o c e s s i n t h e C o n f i g u r a t i o n A T M C o n f i g u r a t i o n s c r e e n .
T h e D B A C o c k p i t d e t e c t s t h a t A T M h a s n o t y e t b e e n s e t u p o n t h e s y s t e m . W h e n y o u c l i c k t h e S e t u p
A T M b u t t o n , a l l r e q u i r e d t a b l e s , r o u t i n e s , a n d p r o c e d u r e s a r e c r e a t e d i n t h e s a p t o o l s d a t a b a s e . I n
a d d i t i o n , a d e f a u l t A T M c o n f i g u r a t i o n i s c r e a t e d t h a t i m m e d i a t e l y e n a b l e s t h e s y s t e m f o r a u t o m a t i c t a b l e m a i n t e n a n c e .
U p d a t e s a n d f i x e s f o r A T M a r e p r o v i d e d t h r o u g h S A P S u p p o r t P a c k a g e s a n d S A P N o t e s . I f t h e A T M
f r a m e w o r k t h a t w a s a l r e a d y s e t u p o n a s y s t e m r e q u i r e s a n u p d a t e , t h e D B A C o c k p i t w i l l r e c o g n i z e a
v e r s i o n m i s m a t c h a n d w i l l a s k y o u t o u p d a t e A T M b y c h o o s i n g R e p a i r A T M .
N o t e
T h e s a p t o o l s d a t a b a s e i s a v a i l a b l e o n e v e r y S A P s y s t e m b y d e f a u l t . I f A T M i s g o i n g t o b e d e p l o y e d o n a
n o n - S A P s y s t e m , t h e s a p t o o l s d a t a b a s e n e e d s t o b e c r e a t e d m a n u a l l y ( s e e a l s o S A P N o t e 1 5 9 3 9 8 7 ) .
D e f a u l t A T M C o n f i g u r a t i o n
T h e d e f a u l t A T M c o n f i g u r a t i o n t h a t i s c r e a t e d w h e n y o u i n i t i a l l y d e p l o y A T M o n a S y b a s e A S E D B M S
t r i e s t o a u t o m a t e t a b l e m a i n t e n a n c e , w i t h o u t r i s k i n g n e g a t i v e i m p a c t o n t h e a p p l i c a t i o n s t h a t a r e
c o n n e c t e d t o A S E . T h i s m e a n s o b j e c t s o n l y u n d e r g o l i g h t w e i g h t m a i n t e n a n c e a c t i v i t i e s o n r e g u l a r
b u s i n e s s d a y s . M o r e c o s t l y m a i n t e n a n c e a c t i v i t i e s a r e e x e c u t e d d u r i n g t h e w e e k e n d , w i t h v e r y l a r g e
o b j e c t s b e i n g e x c l u d e d f r o m s u c h m a i n t e n a n c e a c t i v i t i e s e n t i r e l y . T h e d e f a u l t A T M c o n f i g u r a t i o n
a l s o e n s u r e s f u l l a v a i l a b i l i t y o f a l l o b j e c t s a t a n y t i m e .
D e f a u l t A T M P r o f i l e s
A T M p r o f i l e S m a l l T a b l e s f o r u p d a t e s t a t i s t i c s :
n I n c l u d e s t a b l e s c o n t a i n i n g 1 0 0 u p t o 9 9 9 9 r o w s .
n T r i g g e r s u p d a t e o f i n d e x s t a t i s t i c s i f d a t a c h a n g e e x c e e d s 2 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
A T M p r o f i l e M e d i u m T a b l e s f o r u p d a t e s t a t i s t i c s :
n I n c l u d e s t a b l e s c o n t a i n i n g 1 0 0 0 0 u p t o 9 9 9 9 9 9 r o w s .
n T r i g g e r s u p d a t e o f i n d e x s t a t i s t i c s i f d a t a c h a n g e e x c e e d s 2 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
A T M p r o f i l e L a r g e T a b l e s f o r u p d a t e s t a t i s t i c s :
1 2 / 1 8 / 2 0 1 2 P U B L I C 7 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 80/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
n I n c l u d e s t a b l e s c o n t a i n i n g 1 0 0 0 0 0 0 u p t o 9 9 9 9 9 9 9 9 9 9 9 9 r o w s .
n T r i g g e r s u p d a t e o f i n d e x s t a t i s t i c s i f d a t a c h a n g e e x c e e d s 2 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
N o t e
I f a n S A P a p p l i c a t i o n d a t a b a s e i s f o u n d o n t h e D B M S , s p e c i a l o b j e c t s i n t h a t d a t a b a s e a r e e x c l u d e d
f r o m g e t t i n g u p d a t e d s t a t i s t i c s a s k n o w n f r o m b e s t p r a c t i c e s t h r o u g h a d d i t i o n a l e x c l u s i o n p r o f i l e s .
I f a n S A P a p p l i c a t i o n d a t a b a s e i s f o u n d o n t h e D B M S , s p e c i a l o b j e c t s i n t h a t d a t a b a s e a r e e x c l u d e d
f r o m g e t t i n g u p d a t e d s t a t i s t i c s a s k n o w n f r o m b e s t p r a c t i c e s t h r o u g h a d d i t i o n a l e x c l u s i o n p r o f i l e s .
A T M p r o f i l e A l l T a b l e s ‒ R e m o v e R o w F o r w a r d i n g f o r r e o r g a n i z a t i o n :
n I n c l u d e s a l l t a b l e s
n T r i g g e r s r e o r g a n i z a t i o n u s i n g t h e s u b c o m m a n d “ c o m p a c t ” i f t h e p e r c e n t a g e o f f o r w a r d e d r o w s
e x c e e d s 1 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
A T M p r o f i l e A l l T a b l e s ‒ R e c l a i m S p a c e f o r r e o r g a n i z a t i o n :
n I n c l u d e s a l l t a b l e s .
n T r i g g e r s r e o r g a n i z a t i o n u s i n g t h e s u b c o m m a n d “ c o m p a c t ” i f s p a c e u t i l i z a t i o n f a l l s b e l o w 9 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
A T M p r o f i l e S m a l l t o M e d i u m T a b l e s ‒ R e b u i l d I n d e x e s f o r r e o r g a n i z a t i o n
n I n c l u d e s t a b l e s w i t h u p t o 1 0 G B o f r e s e r v e d s p a c e .
n T r i g g e r s r e b u i l d o f a l l i n d e x e s t h a t h a v e a n i n d e x p a g e c l u s t e r r a t i o b e l o w 9 0 % .
n C o m m a n d s a r e e x e c u t e d w i t h l o w p r i o r i t y .
D e f a u l t A T M W i n d o w s
A T M w i n d o w 2 4 h o u r s a l l d a y
n S t a r t s M o n d a y a t 0 0 : 0 0 a n d e n d s S u n d a y 2 3 : 3 0 .
n A T M p r o f i l e s a r e a p p l i e d r e p e a t e d l y o n a n h o u r l y b a s i s u n t i l t h e A T M w i n d o w e x p i r e s .
n T w o A T M p r o f i l e s a r e a s s i g n e d b y d e f a u l t
l U p d a t e s t a t i s t i c s p r o f i l e S m a l l T a b l e s
l U p d a t e s t a t i s t i c s p r o f i l e M e d i u m T a b l e s
A T M w i n d o w “ W e e k e n d ”
n S t a r t s S u n d a y a t 0 2 : 0 0 a n d e n d s M o n d a y 0 5 : 0 0 .
n A T M p r o f i l e s a r e a p p l i e d o n l y o n c e o r u n t i l t h e A T M w i n d o w e x p i r e s .
n F o u r A T M p r o f i l e s a r e a s s i g n e d b y d e f a u l t :
l U p d a t e s t a t i s t i c s p r o f i l e L a r g e T a b l e s
l R e o r g a n i z a t i o n p r o f i l e A l l T a b l e s ‒ R e m o v e R o w F o r w a r d i n g
l R e o r g a n i z a t i o n p r o f i l e A l l T a b l e s ‒ R e c l a i m S p a c e
8 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 81/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
l R e o r g a n i z a t i o n p r o f i l e S m a l l t o M e d i u m T a b l e s ‒ R e b u i l d I n d e x e s
M i s c e l l a n o u s S e t t i n g s
I n t h e M i s c e l l a n e o u s t a b o f t h e A T M C o n f i g u r a t i o n s c r e e n , y o u c a n c o n f i g u r e o p t i o n s l i k e t h e n u m b e r
o f d a y s
4 . 1 1 . 3 A T M P r o f i l e s
A T M P r o f i l e T y p e s
A T M p r o f i l e s a r e s e p a r a t e d b y t h e t y p e o f m a i n t e n a n c e o p e r a t i o n c o n c e r n e d , w h i c h i s e i t h e r u p d a t e
s t a t i s t i c s o r r e o r g a n i z a t i o n . F o r e a c h o f t h e t w o m a i n t e n a n c e o p e r a t i o n s , t h e r e a r e i n t o t a l t h r e e t y p e s
o f A T M p r o f i l e s t h a t c a n b e d e f i n e d :
S t a n d a r d A T M P r o f i l e s
T a b l e s a r e i d e n t i f i e d b y a c h a r a c t e r i s t i c , s u c h a s r o w c o u n t o r s i z e . S t a n d a r d A T M p r o f i l e s a r e u s e d t o
m a i n t a i n a l l t a b l e s t h a t d o n o t r e q u i r e s p e c i a l c a r e .
A T M P r o f i l e s f o r S p e c i a l O b j e c t s
T a b l e s a r e i d e n t i f i e d b y a f u l l , q u a l i f i e d n a m e ( s u p p o r t i n g a w i l d c a r d a t t h e r i g h t e n d o f t h e t a b l e ’ s
n a m e ) . T h i s t y p e o f A T M p r o f i l e i s u s e d f o r t a b l e s t h a t r e q u i r e s p e c i a l c a r e ‒ f o r e x a m p l e , d u e t o t h e
s i z e o f t h e t a b l e o r i t s n e e d f o r s p e c i a l m a i n t e n a n c e o p t i o n s . T a b l e s m a t c h i n g a n y a c t i v e A T M p r o f i l e
o f t y p e A T M P r o f i l e f o r S p e c i a l O b j e c t s w i l l b e e x c l u d e d f r o m a n y S t a n d a r d A T M P r o f i l e .
A T M P r o f i l e s f o r E x c l u d i n g O b j e c t s f r o m A T M
T a b l e s a r e i d e n t i f i e d b y a f u l l , q u a l i f i e d n a m e ( s u p p o r t i n g a w i l d c a r d a t t h e r i g h t e n d o f t h e t a b l e ’ s
n a m e ) . T h i s t y p e o f A T M p r o f i l e i s u s e d f o r t a b l e s t h a t s h o u l d b e e x c l u d e d f r o m e i t h e r u p d a t e s t a t i s t i c s
o r r e o r g a n i z a t i o n . T h i s m e a n s t h a t t a b l e s m a t c h i n g a n y a c t i v e A T M p r o f i l e o f t y p e A T M P r o f i l e t o
E x c l u d e O b j e c t s f r o m A T M w i l l b e e x c l u d e d f r o m a n y S t a n d a r d A T M P r o f i l e o r A T M P r o f i l e f o r
S p e c i a l O b j e c t s . E x a m p l e s a r e q u e u e t a b l e s t h a t a r e c o n s t a n t l y u n d e r g o i n g a m a s s i v e d a t a c h a n g e ,
c a u s i n g c o n t i n u o u s l y i n a c c u r a t e s t a t i s t i c s .
N o t e
A s i n g l e o b j e c t c a n q u a l i f y f o r m u l t i p l e A T M p r o f i l e s o f t h e s a m e t y p e . Y o u m a y , f o r e x a m p l e , w a n t
t o d e f i n e a n A T M p r o f i l e t h a t i n i t i a t e s s a m p l e d s t a t i s t i c s w i t h l o w p r i o r i t y i f d a t a c h a n g e e x c e e d s 2 0 % .
B u t f o r t h e s a m e s e t o f o b j e c t s , y o u a r e a b l e t o d e f i n e a n o t h e r A T M p r o f i l e t h a t i n i t i a t e s f u l l s t a t i s t i c s
w i t h h i g h p r i o r i t y i f d a t a c h a n g e e x c e e d s 5 0 % .
M a i n t a i n i n g A T M P r o f i l e s
T h e C o n f i g u r a t i o n A T M C o n f i g u r a t i o n s c r e e n a l l o w s y o u t o
n D e f i n e n e w A T M p r o f i l e s
1 2 / 1 8 / 2 0 1 2 P U B L I C 8 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 82/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
n C h a n g e e x i s t i n g A T M p r o f i l e s
n D e l e t e e x i s t i n g A T M p r o f i l e s
n A c t i v a t e o r d e a c t i v a t e A T M p r o f i l e s
C r e a t i n g A T M P r o f i l e s
1 . C h o s s e C r e a t e .
2 . E n t e r v a l u e s f o r P r o f i l e M e t a d a t a , O b j e c t S e l e c t i o n , a n d M a i n t e n a n c e O p t i o n s .
.
E x a m p l e
C h o o s e t h e f o l l o w i n g v a l u e s , i f y o u w a n t t o i n i t i a t e s a m p l e d u p d a t e s t a t i s t i c s o n a l l i n d e x c o l u m n s
o n c e d a t a c h a n g e o f a t a b l e h a s e x c e e d e d a v a l u e o f 5 % :
I n p u t F i e l d : V a l u e :
P r o f i l e T y p e A T M P r o f i l e f o r S p e c i a l O b j e c t s
T y p e o r T h r e s h o l d D a t a C h a n g e
T h r e s h o l d V a l u e 5 %
E v a l u a t e T h r e s h o l d p e r D a t a P a r t i t i o n Y e s
T y p e o f S t a t i s t i c s C o l l e c t S t a t i s t i c s o n a l l I n d e x C o l u m n s
N u m b e r o f H i s t o g r a m S t e p s 2 0
N u m b e r o f C o n s u m e r s 1
C o l l e c t S a m p l e d S t a t i s t i c Y e s
S a m p l i n g R a t e 2 5 %
A S E E x e c u t i o n P r i o r i t y M e d i u m
T h e r e a r e t w o t y p e s o f p r i o r i t i e s t h a t c a n b e c o n f i g u r e d f o r a n A T M p r o f i l e . W i t h t h e s o - c a l l e d
m a i n t e n a n c e p r i o r i t y , y o u d e f i n e t h e i m p o r t a n c e t h e r e q u e s t e d m a i n t e n a n c e o p e r a t i o n h a s c o m p a r e d
t o m a i n t e n a n c e o p e r a t i o n s d e f i n e d b y o t h e r A T M p r o f i l e s . W i t h t h e s o - c a l l e d A S E e x e c u t i o n p r i o r i t y ,
y o u s p e c i f y t h e a m o u n t o f C P U r e s o u r c e s t h a t s h o u l d b e a s s i g n e d t o t h e m a i n t e n a n c e o p e r a t i o n s
w h i l e t h e y a r e b e i n g e x e c u t e d . T h e n e x t e x a m p l e s h o w s a d i a l o g f o r c h a n g i n g a n e x i s t i n g A T M p r o f i l e o f t y p e S t a n d a r d A T M P r o f i l e
f o r r e o r g a n i z a t i o n . T h i s A T M p r o f i l e i s l i m i t e d t o t a b l e s w i t h a s i z e o f 0 t o 1 0 0 0 0 M B . I n d e x e s a r e r e b u i l t
a s s o o n a s t h e i n d e x p a g e c l u s t e r r a t i o f a l l s b e l o w 9 0 % , u s i n g a r e d u c e d A S E e x e c u t i o n p r i o r i t y .
S o m e a p p l i c a t i o n s , e s p e c i a l l y d a t a w a r e h o u s e a p p l i c a t i o n s , m a k e u s e o f S y b a s e A S E ’ s p a r t i t i o n i n g
f e a t u r e . D e p e n d i n g o n t h e d i m e n s i o n s u s e d t o p a r t i t i o n t h e d a t a , s o m e d a t a p a r t i t i o n s m a y u n d e r g o
h e a v y d a t a c h a n g e s , w h i l e s o m e o t h e r d a t a p a r t i t i o n s m a y r e m a i n m o s t l y o r c o m p l e t e l y u n c h a n g e d .
I n s u c h c a s e s , i t d o e s n o t m a k e s e n s e t o u p d a t e s t a t i s t i c s o n a l l p a r t i t i o n s o r t o r e o r g a n i z e t h e w h o l e
o b j e c t . I f y o u c h e c k E v a l u a t e T h r e s h o l d p e r D a t a P a r t i t i o n , A T M w i l l e v a l u a t e t h r e s h o l d s f o r e a c h d a t a
8 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 83/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
a n d i n d e x p a r t i t i o n i n d i v i d u a l l y , a n d m a i n t e n a n c e o p e r a t i o n s w i l l a l s o b e e x e c u t e d i n d i v i d u a l l y , a s
r e q u i r e d b y a n i n d i v i d u a l d a t a o r i n d e x p a r t i t i o n .
4 . 1 1 . 4 A T M W i n d o w s
W i t h A T M w i n d o w s , y o u d e f i n e w h a t t y p e o f t a b l e m a i n t e n a n c e r e q u i r e m e n t s a n d o p e r a t i o n s a r e
e v a l u a t e d a n d e x e c u t e d o n c e r t a i n o b j e c t s w i t h i n a d e f i n e d t i m e f r a m e . Y o u m a y , f o r e x a m p l e , w a n t
t o e n s u r e a c c u r a t e o p t i m i z e r s t a t i s t i c s o n c e r t a i n o b j e c t s d u r i n g r e g u l a r b u s i n e s s t i m e , w h i l e u p d a t e
s t a t i s t i c s o n o t h e r , u s u a l l y v e r y l a r g e o b j e c t s , s h o u l d b e m a i n t a i n e d o u t s i d e r e g u l a r b u s i n e s s t i m e .
Y o u m a y a l s o w a n t t o m o v e t a b l e o r i n d e x r e o r g a n i z a t i o n i n t o t h e w e e k e n d , w h i l e w a n t i n g t o r u n
u p d a t e s t a t i s t i c s a t a n y t i m e .
M a i n t a i n i n g A T M W i n d o w s
T h e C o n f i g u r a t i o n A T M C o n f i g u r a t i o n s c r e e n a l l o w s y o u t o :
n D e f i n e n e w A T M w i n d o w s
n C h a n g e e x i s t i n g A T M w i n d o w s
n D e l e t e e x i s t i n g A T M w i n d o w s
n A c t i v a t e o r d e a c t i v a t e A T M w i n d o w s
n A s s i g n A T M p r o f i l e s t o a n A T M w i n d o w o r r e m o v e a s s i g n e d A T M p r o f i l e s f r o m a n A T M w i n d o w
A T M w i n d o w s a r e s c h e d u l e d j o b s i n t h e A S E j o b s c h e d u l e r . D e a c t i v a t i o n o f a n A T M w i n d o w w i l l
u n s c h e d u l e t h e j o b f o r f u r t h e r e x e c u t i o n s a n d , i f a p p r o p r i a t e , c a n c e l c u r r e n t e x e c u t i o n s . C h a n g i n g
a n A T M w i n d o w w i l l r e s c h e d u l e t h e r e s p e c t i v e j o b .
A T M w i n d o w s c a n b e c o n f i g u r e d t o r e p e a t e d l y a p p l y A T M p r o f i l e s u n t i l t h e w i n d o w e x p i r e s . I n t h i s
c a s e , t h e A T M j o b w i l l n o t c o m p l e t e e x e c u t i o n a f t e r t h e e v a l u a t i o n o f m a i n t e n a n c e r e q u i r e m e n t s h a s
f i n i s h e d a n d n o o b j e c t s r e m a i n i n t h e A T M q u e u e . I n s t e a d , t h e A T M j o b w i l l g o i n t o s l e e p m o d e a n d
w a k e u p o n c e e v e r y h o u r t o r e - e v a l u a t e a n d r e - e x e c u t e m a i n t e n a n c e r e q u i r e m e n t s c o n t i n u o u s l y
u n t i l t h e A T M w i n d o w f i n a l l y e x p i r e s .
T e m p o r a r y o v e r l a p p i n g b e t w e e n A T M w i n d o w s i s p e r m i t t e d . I n a d d i t i o n , a s i n g l e A T M p r o f i l e c a n b e
a s s i g n e d t o m u l t i p l e A T M w i n d o w s . D e t a i l s o n h o w A T M w i n d o w s a n d a s s i g n e d A T M p r o f i l e s a r e
p r o c e s s e d a r e g i v e n i n t h e c h a p t e r P r o c e s s i n g A T M W i n d o w s a n d A s s i g n e d A T M P r o f i l e s .
N o t e
A T M p r o f i l e s o f t y p e A T M P r o f i l e s f o r E x c l u d i n g O b j e c t s f r o m A T M c a n n o t b e a s s i g n e d t o s p e c i f i c A T M
w i n d o w s . T h o s e A T M p r o f i l e s a r e v a l i d f o r a l l A T M w i n d o w s b y d e f i n i t i o n .
1 2 / 1 8 / 2 0 1 2 P U B L I C 8 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 84/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
4 . 1 1 . 5 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M H i s t o r y
T h e D i a g n o s t i c s A u t o m a t i c T a b l e M a i n t e n a n c e A T M H i s t o r y s c r e e n s h o w s a l l m a i n t e n a n c e
o p e r a t i o n s t h a t h a v e b e e n e x e c u t e d b y A T M i n t h e p r e v i o u s d a y s a n d w e e k s . T h i s i n f o r m a t i o n a l l o w s
y o u t o f i n e - t u n e y o u r A T M c o n f i g u r a t i o n a n d t o e n s u r e c o r r e c t b e h a v i o r o f A T M i n t h e r e s p e c t i v e
a p p l i c a t i o n e n v i r o n m e n t .
W h e n y o u s e l e c t o n e o f t h e r e c o r d s s h o w n , t h e m a i n t e n a n c e c o m m a n d t h a t w a s e x e c u t e d a s w e l l
a s t h e A T M p r o f i l e t h a t i n i t i a t e d m a i n t e n a n c e o f t h e o b j e c t w i l l b e d i s p l a y e d ( s e e d e t a i l s s e c t i o n
b e l o w ) . ( d a n g l i n g m o d i f i e r ! )
B y d e f a u l t , t h e A T M h i s t o r y s p a n s 8 w e e k s . A d i f f e r e n t A T M h i s t o r y s i z e c a n b e c o n f i g u r e d i n t h e
M i s c e l l a n e o u s t a b o f t h e C o n f i g u r a t i o n A T M C o n f i g u r a t i o n s c r e e n .
N o t e
I n a d d i t i o n t o t h e A T M Q u e u e a n d A T M H i s t o r y s c r e e n , d e t a i l s r e g a r d i n g A T M f o r a s i n g l e t a b l e c a n
a l s o b e r e v i e w e d u s i n g t h e S p a c e T a b l e s a n d I n d e x e s S i n g l e T a b l e A n a l y s i s
4 . 1 1 . 6 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M Q u e u e
A s d e s c r i b e d i n t h e c h a p t e r e n t i t l e d P r o c e s s i n g A T M W i n d o w s a n d A s s i g n e d A T M P r o f i l e s , A T M i s e x e c u t e d
i n t w o p h a s e s . P h a s e 1 w i l l i d e n t i f y o b j e c t s t h a t r e q u i r e m a i n t e n a n c e a c c o r d i n g t o t h e d e f i n e d A T M
p r o f i l e a n d p u t t h o s e o b j e c t s i n t o a n A T M q u e u e . P h a s e 2 , f i n a l l y , w i l l e x e c u t e m a i n t e n a n c e , a s d e f i n e d
i n t h e A T M q u e u e , u n t i l t h e A T M w i n d o w h a s e x p i r e d o r n o e n t r y c a n b e f o u n d i n t h e A T M q u e u e .
I f t h e A T M w i n d o w s a r e t o o s h o r t t o p r o c e s s a l l i d e n t i f i e d m a i n t e n a n c e r e q u i r e m e n t s , t h e A T M q u e u e
w i l l f i l l u p a n d t h e r e q u i r e d m a i n t e n a n c e o p e r a t i o n s w i l l n o t b e e x e c u t e d . T h e s c r e e n D i a g n o s t i c s
A u t o m a t i c T a b l e M a i n t e n a n c e A T M Q u e u e s c r e e n a l l o w s y o u t o m o n i t o r t h e c u r r e n t A T M q u e u e .
W h e n y o u s e l e c t o n e o f t h e r e c o r d s s h o w n , t h e m a i n t e n a n c e c o m m a n d t h a t i s g o i n g t o b e e x e c u t e d a s
w e l l a s t h e A T M p r o f i l e t h a t i n i t i a t e d m a i n t e n a n c e o f t h e o b j e c t w i l l b e d i s p l a y e d .
4 . 1 1 . 7 D i a g n o s t i c s : A u t o m a t i c T a b l e M a i n t e n a n c e ‒ A T M L o g
A T M w r i t e s i t s o w n m e s s a g e l o g w h i l e e v a l u a t i n g m a i n t e n a n c e r e q u i r e m e n t s a n d f i n a l l y e x e c u t i n g
m a i n t e n a n c e o p e r a t i o n s . W h i l e i t s m a i n t a r g e t g r o u p i s S A P s u p p o r t , t h i s m e s s a g e l o g c a n a l s o h e l p
D B A s u n d e r s t a n d e r r o r c o n d i t i o n s a n d p e r f o r m a n c e - r e l a t e d i s s u e s . Y o u c a n a c c e s s t h e A T M l o g b y
n a v i g a t i n g i n t o t h e D i a g n o s t i c s A u t o m a t i c T a b l e M a i n t e n a n c e A T M L o g s c r e e n o f t h e D B A C o c k p i t .
B y d e f a u l t , A T M l o g s f o r t h e l a s t 1 4 d a y s a r e k e p t . T h i s n u m b e r o f d a y s a s w e l l a s t h e n u m b e r
o f m e s s a g e s b e i n g w r i t t e n i n t o t h e A T M l o g c a n b e c o n f i g u r e d i n t h e M i s c e l l a n e o u s t a b o f t h e
C o n f i g u r a t i o n A T M C o n f i g u r a t i o n s c r e e n .
8 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 85/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
4 . 1 1 . 8 P r o c e s s i n g A T M W i n d o w s a n d A s s i g n e d A T M P r o f i l e s
W h i l e c o n f i g u r a t i o n a n d m o n i t o r i n g o f A T M i s d o n e c o m p l e t e l y f r o m t h e D B A C o c k p i t , a c t u a l e x e c u t i o n o f A T M a c t i v i t i e s i s p e r f o r m e d e n t i r e l y t h r o u g h t h e j o b s c h e d u l e r t h a t i s p r o v i d e d b y S y b a s e
A S E . J o b s n a m e d S A P _ A T M _ W < w i n d o w _ I D > a r e s c h e d u l e d , a s d e f i n e d b y a c t i v e A T M w i n d o w s .
E a c h j o b t h e n c r o s s e s o v e r i n t o t h e p h a s e s d e s c r i b e d i n t h e f o l l o w i n g s u b s e c t i o n s .
P r e p a r a t i o n P h a s e
D u r i n g t h e i n i t i a l p h a s e o f a n A T M w i n d o w , A T M c h e c k s w h e t h e r a l l c o n f i g u r a t i o n p r e r e q u i s i t e s a r e
f u l f i l l e d a n d w h e t h e r A T M p r o f i l e s a s s i g n e d t o t h e A T M a r e v a l i d . I n a d d i t i o n , c o n f i g u r a t i o n o p t i o n s
a r e r e a d f o r t h e A T M w i n d o w / f o r e x a m p l e , i t s e x p i r a t i o n t i m e o r w h e t h e r t h e e v a l u a t i o n a n d c l e a n u p
p h a s e a r e g o i n g t o b e e x e c u t e d w i t h l o w e x e c u t i o n p r i o r i t y .
E v a l u a t i o n P h a s e
A s t a n d a r d i n s t a l l a t i o n o f S A P E R P 6 , i n c l u d i n g E n h a n c e m e n t P a c k a g e 5 , c r e a t e s a r o u n d 7 5 0 0 0 t a b l e s
a n d a r o u n d 9 0 0 0 0 i n d e x e s o n t h e d a t a b a s e . N e v e r t h e l e s s , a s u s u a l l y o n l y c e r t a i n s c e n a r i o s o f t h e S A P
E R P a r e e x p l o i t e d i n a s p e c i f i c i n s t a l l a t i o n , o n l y a s m a l l a m o u n t o f t h e s e o b j e c t s i s a c c e s s e d .
T h e f i r s t t h i n g A T M d o e s i s t o r e s t r i c t t h e a m o u n t o f t a b l e s , i n d e x e s , a n d p a r t i t i o n s t h a t a r e g o i n g t o
b e e v a l u a t e d f o r m a i n t e n a n c e . T h i s i s d o n e i n t h e f o l l o w i n g w a y :
1 . D e t e r m i n e t h e m i n i m u m o f a l l t i m e s t a m p s a n y a s s i g n e d A T M p r o f i l e h a s b e e n e v a l u a t e d t h e l a s t
t i m e
2 . C r e a t e a t e m p o r a r y t a b l e c o n t a i n i n g a l l u s e r t a b l e s o f a n y u s e r d a t a b a s e t h a t w e r e e i t h e r a c c e s s e d ? s i n c e t h a t t i m e ( a c c o r d i n g s y s t a b s t a t s ) , o r a r e c u r r e n t l y o p e n e d b y A S E a n d h a v e u n d e r g o n e a t
l e a s t o n e w r i t e o p e r a t i o n .
3 . C r e a t e a d d i t i o n a l t e m p o r a r y t a b l e s c o n t a i n i n g a l l i n d e x e s a n d d a t a p a r t i t i o n s o f t h e t a b l e s t h a t
h a v e b e e n d e t e r m i n e d .
T h i s m e c h a n i s m w i l l g r e a t l y r e s t r i c t t h e a m o u n t o f o b j e c t s t h a t a r e e v a l u a t e d i n a n S A P e n v i r o n m e n t .
T h e o n l y e x c e p t i o n s i n t h i s c a s e a r e n e w A T M p r o f i l e s a n d n e w l y c o n f i g u r e d s y s t e m s w h e r e A T M
n e e d s t o i n i t i a l l y e v a l u a t e a l l o b j e c t s .
T h e s e l e c t i o n o f o b j e c t s f o r A T M p r o f i l e s o f t y p e S t a n d a r d A T M p r o f i l e i s d o n e b y s p e c i f y i n g a r a n g e o f
e i t h e r r o w c o u n t o r s i z e . S o , f o r a l l o b j e c t s t h a t a r e n e i t h e r f l a g g e d f o r n o m a i n t e n a n c e n o r s p e c i a l m a i n t e n a n c e , A T M d e t e r m i n e s t h e c u r r e n t r o w c o u n t a n d s i z e .
U p t o n o w , t h e n u m b e r o f o b j e c t s t h a t A T M l o o k s a t h a s b e e n r e d u c e d t o a l e v e l w h e r e m a i n t e n a n c e
e v a l u a t i o n i s r e a s o n a b l e . I n a d d i t i o n , a l l r e m a i n i n g o b j e c t s h a v e b e e n f l a g g e d a c c o r d i n g t o t h e a s s i g n e d
A T M p r o f i l e s f o r e i t h e r n o m a i n t e n a n c e , s p e c i a l m a i n t e n a n c e , o r s t a n d a r d m a i n t e n a n c e .
A T M t h e n r e a d s a l l a s s i g n e d A T M p r o f i l e s o f t y p e S t a n d a r d A T M p r o f i l e o r A T M P r o f i l e f o r S p e c i a l
O b j e c t s . E a c h o b j e c t t h a t i s f l a g g e d f o r t h e r e s p e c t i v e t y p e o f A T M p r o f i l e a n d t h a t m a t c h e s t h e
p r o f i l e o b j e c t s e l e c t i o n c o n d i t i o n s i s e v a l u a t e d a c c o r d i n g t o t h e A T M p r o f i l e ’ s t h r e s h o l d c o n d i t i o n s .
D e p e n d i n g o n t h e e x a c t d e f i n i t i o n o f t h e A T M p r o f i l e , e v a l u a t i o n m a y h a p p e n o n i n d i v i d u a l d a t a
p a r t i t i o n s a n d / o r i n d e x e s i n s t e a d o f o n t h e o b j e c t a s a w h o l e . I f d e f i n e d t h r e s h o l d s a r e v i o l a t e d ,
1 2 / 1 8 / 2 0 1 2 P U B L I C 8 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 86/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
m a i n t e n a n c e f o r t h e o b j e c t ( o r o n e o r m o r e o f i t s d a t a p a r t i t i o n o r i n d e x e s ) i s i n i t i a t e d b y g e n e r a t i n g a
c o r r e s p o n d i n g m a i n t e n a n c e c o m m a n d a n d i n s e r t i n g i t i n t o t h e A T M q u e u e .
W h i l e A T M c r e a t e s n e w e n t r i e s i n t h e A T M q u e u e , i t m a y h a p p e n t h a t t h e s a m e o b j e c t o r s o m e o f i t s d a t a p a r t i t i o n s o r i n d e x e s i s a l r e a d y c o n t a i n e d i n t h e A T M q u e u e . S u c h c a s e s a r e h a n d l e d a s f o l l o w s :
1 . I n d e n t i f i e d o b j e c t i s a t a b l e :
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a l o w e r m a i n t e n a n c e p r i o r i t y t h a n t h e n e w l y
i d e n t i f i e d r e q u i r e m e n t ( i n c l u d i n g i n d i v i d u a l d a t a p a r t i t i o n s o f t h e t a b l e ) .
n D r o p e n t r i e s t h e A T M q u e u e t h a t h a v e a n e q u a l m a i n t e n a n c e p r i o r i t y , b u t w h o s e p l a n n e d
m a i n t e n a n c e o p e r a t i o n i s l e s s w e i g h t y t h a n t h e n e w l y i d e n t i f i e d r e q u i r e m e n t ( i n c l u d i n g
i n d i v i d u a l d a t a p a r t i t i o n s o f t h e t a b l e ) .
n D r o p i n d i v i d u a l d a t a p a r t i t i o n s f r o m t h e A T M q u e u e t h a t h a v e a c o m p l e t e l y i d e n t i c a l
m a i n t e n a n c e r e q u i r e m e n t t h a n j u s t i n d e n t i f i e d f o r t h e c o m p l e t e t a b l e . n I n s e r t t a b l e i n t o A T M q u e u e , b u t o n l y i f :
l T a b l e i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h h i g h e r m a i n t e n a n c e p r i o r i t y .
l T a b l e i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h e q u a l m a i n t e n a n c e p r i o r i t y b u t
h i g h e r o r e q u a l c o m m a n d w e i g h t * .
N o t e
D a t a p a r t i t i o n s w i t h h i g h e r m a i n t e n a n c e p r i o r i t y ( o r i d e n t i c a l m a i n t e n a n c e p r i o r i t y b u t h i g h e r
c o m m a n d w e i g h t ) w i l l s t a y q u e u e d i n p a r a l l e l .
2 . I d e n t i f i e d o b j e c t i s a d a t a p a r t i t i o n : n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a l o w e r m a i n t e n a n c e p r i o r i t y t h a n t h e n e w l y
i d e n t i f i e d r e q u i r e m e n t ( i n c l u d i n g i n d i v i d u a l i n d e x p a r t i t i o n s ) .
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a n e q u a l m a i n t e n a n c e p r i o r i t y , b u t w h o s e p l a n n e d
m a i n t e n a n c e o p e r a t i o n i s l e s s w e i g h t y t h a n t h e n e w l y i d e n t i f i e d r e q u i r e m e n t ( i n c l u d i n g
i n d i v i d u a l i n d e x p a r t i t i o n s ) .
n D r o p i n d i v i d u a l i n d e x p a r t i t i o n s f r o m t h e A T M q u e u e t h a t h a v e a c o m p l e t e l y i d e n t i c a l
m a i n t e n a n c e r e q u i r e m e n t t h a n j u s t i d e n t i f i e d f o r t h e c o m p l e t e i n d e x .
n I n s e r t t a b l e i n t o A T M q u e u e , b u t o n l y i f :
l I n d e x i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h h i g h e r m a i n t e n a n c e p r i o r i t y .
l I n d e x i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h e q u a l m a i n t e n a n c e p r i o r i t y b u t h i g h e r o r e q u a l c o m m a n d w e i g h t * .
N o t e
I n d e x p a r t i t i o n s w i t h h i g h e r m a i n t e n a n c e p r i o r i t y ( o r i d e n t i c a l m a i n t e n a n c e p r i o r i t y b u t
h i g h e r c o m m a n d w e i g h t ) w i l l s t a y q u e u e d i n p a r a l l e l .
3 . I d e n t i f i e d o b j e c t i s a d a t a p a r t i t i o n :
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a l o w e r m a i n t e n a n c e p r i o r i t y t h a n t h e n e w l y
i d e n t i f i e d r e q u i r e m e n t ( e x c l u d i n g o t h e r d a t a p a r t i t i o n s o r t h e t a b l e i t s e l f ) .
8 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 87/116
4 T h e D B A C o c k p i t
4 . 1 1 A u t o m a t i c T a b l e M a i n t e n a n c e
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a n e q u a l m a i n t e n a n c e p r i o r i t y , b u t w h o s e p l a n n e d
m a i n t e n a n c e o p e r a t i o n i s l e s s w e i g h t y t h a n t h e n e w l y i d e n t i f i e d r e q u i r e m e n t ( e x c l u d i n g o t h e r
d a t a p a r t i t i o n s o r t h e t a b l e i t s e l f . ) . n I n s e r t d a t a p a r t i t i o n i n t o t h e A T M q u e u e , b u t o n l y i f :
l D a t a p a r t i t i o n o r t a b l e i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h h i g h e r m a i n t e n a n c e
p r i o r i t y .
l D a t a p a r t i t i o n o r t a b l e i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h e q u a l m a i n t e n a n c e
p r i o r i t y b u t h i g h e r o r e q u a l c o m m a n d w e i g h t * .
4 . I d e n t i f i e d o b j e c t i s a d a t a p a r t i t i o n :
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a l o w e r m a i n t e n a n c e p r i o r i t y t h a n t h e n e w l y
i d e n t i f i e d r e q u i r e m e n t ( e x c l u d i n g o t h e r i n d e x p a r t i t i o n s o r t h e i n d e x i t s e l f ) .
n D r o p e n t r i e s f r o m t h e A T M q u e u e t h a t h a v e a n e q u a l m a i n t e n a n c e p r i o r i t y , b u t w h o s e p l a n n e d
m a i n t e n a n c e o p e r a t i o n i s l e s s w e i g h t y t h a n t h e n e w l y i d e n t i f i e d r e q u i r e m e n t ( e x c l u d i n g o t h e r
i n d e x p a r t i t i o n s o r t h e i n d e x i t s e l f . ) .
n I n s e r t d a t a p a r t i t i o n i n t o t h e A T M q u e u e , b u t o n l y i f :
l I n d e x p a r t i t i o n o r i n d e x i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h h i g h e r
m a i n t e n a n c e p r i o r i t y .
l I n d e x p a r t i t i o n o r i n d e x i s n o t a l r e a d y c o n t a i n e d i n t h e A T M q u e u e w i t h e q u a l m a i n t e n a n c e
p r i o r i t y b u t h i g h e r o r e q u a l c o m m a n d w e i g h t * .
* W e i g h t i n g o f m a i n t e n a n c e o p e r a t i o n s i s d o n e a s f o l l o w s :
n U p d a t e s t a t i s t i c s w i t h s a m p l i n g o f 5 0 % o r f u l l u p d a t e s t a t i s t i c s h a s m o r e w e i g h t t h a n u p d a t e
s t a t i s t i c s w i t h s a m p l i n g o f 2 0 % .
n r e o r g c o m p a c t h a s m o r e w e i g h t t h a n r e o r g r e c l a i m _ s p a c e o r r e o r g f o r w a r d e d _ r o w s .
n r e o r g r e b u i l d h a s m o r e w e i g h t t h a n r e o r g c o m p a c t o r r e o r g r e b u i l d f o r a n i n d i v i d u a l i n d e x .
E x e c u t i o n P h a s e
E x e c u t i o n o f m a i n t e n a n c e i s n o w p u r e l y b a s e d o n e n t r i e s f o u n d i n t h e A T M q u e u e . A s l o n g a s t h e
A T M w i n d o w h a s n o t y e t e x p i r e d a n d a s l o n g a s e n t r i e s s t i l l r e m a i n i n t h e A T M q u e u e , r e q u i r e d
m a i n t e n a n c e o p e r a t i o n s a r e r e a d i n f r o m t h e A T M q u e u e a c c o r d i n g t o t h e i r m a i n t e n a n c e p r i o r i t y
a n d a r e e x e c u t e d u s i n g t h e r e q u e s t e d A S E e x e c u t i o n p r i o r i t y .
A f t e r m a i n t e n a n c e h a s b e e n e x e c u t e d o n a c e r t a i n o b j e c t , i t g e t s m o v e d f r o m t h e A T M q u e u e i n t o t h e
A T M h i s t o r y . R u n t i m e m e a s u r e m e n t s a n d t h e e x a c t m a i n t e n a n c e c o m m a n d a r e r e c o r d e d i n t h e
A T M h i s t o r y f o r l a t e r a n a l y s i s .
I f n o o b j e c t s r e m a i n i n t h e A T M q u e u e , b u t t h e A T M w i n d o w i s c o n f i g u r e d t o r e p e a t e d l y a p p l y A T M
p r o f i l e s a n d t h e A T M w i n d o w h a s n o t y e t e x p i r e d , t h e A T M w i n d o w w i l l g o i n t o s l e e p m o d e u n t i l
e x a c t l y o n e h o u r h a s e l a p s e d s i n c e t h e l a s t e v a l u a t i o n .
C l e a n u p P h a s e
B e f o r e a n A T M w i n d o w c o m p l e t e s e x e c u t i o n , o l d d a t a i s d e l e t e d f r o m t h e A T M h i s t o r y a n d A T M
l o g a s c o n f i g u r e d t h r o u g h t h e D B A C o c k p i t .
1 2 / 1 8 / 2 0 1 2 P U B L I C 8 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 88/116
4 T h e D B A C o c k p i t
4 . 1 2 D i a g n o s t i c s
A f t e r t h e a m o u n t o f o b j e c t s h a s b e e n r e s t r i c t e d , A T M i m p o r t s a l l A T M p r o f i l e s o f t y p e A T M P r o f i l e t o
E x c l u d e O b j e c t s f r o m A T M a n d t y p e A T M P r o f i l e f o r S p e c i a l O b j e c t s a n d f l a g s m a t c h i n g o b j e c t s f o r
e i t h e r n o m a i n t e n a n c e o r s p e c i a l m a i n t e n a n c e .
4 . 1 2 D i a g n o s t i c s
T h e f o l l o w i n g s e c t i o n s p r o v i d e i n f o r m a t i o n a b o u t t h e m a i n t a s k a r e a s t h a t a r e a v a i l a b l e u n d e r
D i a g n o s t i c s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t :
n A u d i t L o g
n L o c k - W a i t E v e n t s
n M i s s i n g T a b l e s a n d I n d e x e s
n E r r o r L o g
n A u t o m a t i c T a b l e M a i n t e n a n c e
n A S E S t a t u s
N o t e
F o r m o r e i n f o r m a t i o n o n A u t o m a t i c T a b l e M a i n t e n a n c e D i a g n o s t i c s , r e f e r t o t h e c h a p t e r s a b o v e .
4 . 1 2 . 1 D i a g n o s t i c s : A u d i t L o g
Y o u c a n t r a c k c h a n g e s t o t h e d a t a b a s e m a d e f r o m t h e D B A C o c k p i t a n d t o t h e m o n i t o r i n g s e t u p u s i n g
t h e m a i n t e n a n c e a c t i o n s p r o v i d e d i n t h e D B A C o c k p i t . C h a n g e s m a d e f r o m o u t s i d e ‒ f o r e x a m p l e ,
u s i n g n a t i v e d a t a b a s e c o m m a n d s ‒ a r e n o t d i s p l a y e d h e r e .
P r o c e d u r e
1 . C a l l t h e D B A C o c k p i t a n d c h o o s e D i a g n o s t i c s A u d i t L o g o n t h e D a t a b a s e t a b p a g e o f t h e D B A
C o c k p i t .
T h e A u d i t L o g s c r e e n a p p e a r s d i s p l a y i n g t h e f o l l o w i n g i n f o r m a t i o n
F i e l d D e s c r i p t i o n D a t e S t a r t d a t e o f t h e a c t i o n
T i m e S t a r t t i m e o f t h e a c t i o n
S y s t e m T a r g e t s y s t e m o n w h i c h t h e a c t i o n w a s p e r f o r m e d
A c t i o n T y p e o f a c t i o n ( n a m e o f t h e a c t i o n i n t h e D B A C o c k p i t )
C o m m a n d T y p e o f c o m m a n d ( f o r e x a m p l e , A D D , D E L E T E o r E D I T )
8 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 89/116
4 T h e D B A C o c k p i t
4 . 1 2 D i a g n o s t i c s
F i e l d D e s c r i p t i o n
O b j e c t N a m e o f t h e m o d i f i e d o b j e c t ( f o r e x a m p l e , d a t a b a s e o r t a b l e s p a c e n a m e )
U s e r N a m e o f t h e S A P u s e r w h o p e r f o r m e d t h e a c t i o n
F r o m S y s t e m S y s t e m f r o m w h e r e t h e a c t i o n w a s p e r f o r m e d
2 . B y d e f a u l t , t h e s y s t e m d i s p l a y s a l l a u d i t e n t r i e s l o g g e d d u r i n g t h e c u r r e n t w e e k . I f y o u w a n t t o
d i s p l a y a n o t h e r w e e k , u s e t h e F 4 h e l p o f t h e F r o m f i e l d .
T o d i s p l a y m o r e t h a n o n e w e e k , y o u c a n c h a n g e t h e v a l u e i n t h e f i e l d N u m b e r o f D a y s .
3 . T o d i s p l a y t h e d e t a i l s o f a n a c t i o n , s e l e c t t h e c o r r e s p o n d i n g a c t i o n a n d c h o o s e D e t a i l s .
I n t h e l o w e r h a l f o f t h e s c r e e n , t h e S Q L s t a t e m e n t s t h a t h a v e b e e n e x e c u t e d a r e d i s p l a y e d .
4 . 1 2 . 2 D i a g n o s t i c s : L o c k - W a i t E v e n t s
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t l o c k - w a i t e v e n t s b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g
D i a g n o s t i c s L o c k - W a i t E v e n t s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
U s i n g t h e i n f o r m a t i o n p r o v i d e d o n t h i s s c r e e n , y o u c a n :
n R e v i e w l o c k w a i t e v e n t s t h a t o c c u r r e d i n t h e p a s t a n d t h a t w e r e c a p t u r e d b y t h e l o c k e v e n t
m o n i t o r . B y d e f a u l t , i n f o r m a t i o n a b o u t l o c k e v e n t s i s c o l l e c t e d b y t h e L o c k E v e n t d a t a c o l l e c t o r .
F o r m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] . n R e v i e w l o c k w a i t e v e n t s t h a t a r e c u r r e n t l y o c c u r r i n g o n t h e d a t a b a s e s e r v e r .
I n t h e S e l e c t i o n a r e a , y o u c a n s p e c i f y t h e t i m e f r a m e f o r w h i c h y o u w a n t l o c k - w a i t e v e n t s t o b e
d i s p l a y e d a s w e l l a s t h e t y p e o f l o c k - w a i t e v e n t , s u c h a s , l o c k w a i t s , l o c k t i m e o u t s , a n d l o c k w a i t s
w i t h a s p e c i f i c l o c k t i m e o u t .
A f t e r h a v i n g a p p l i e d y o u r s e l e c t i o n , t h e t o t a l n u m b e r o f l o c k - w a i t e v e n t s t h a t o c c u r r e d a n d t h a t y o u
s e l e c t e d i n t h e S e l e c t i o n a r e a i s d i s p l a y e d i n t h e S u m m a r y a r e a .
F o r e a c h l o c k - w a i t e v e n t , t h e f o l l o w i n g i n f o r m a t i o n i s d i s p l a y e d :
C o l u m n D e s c r i p t i o n
E v e n t T y p e T y p e o f l o c k e v e n t , w h i c h c a n b e a l o c k w a i t , a l o c k t i m e o u t o r a d e a d l o c k
E v e n t O c c u r r e n c e T i m e w h e n t h e l o c k e v e n t f i r s t o c c u r r e d
E v e n t R e s o l u t i o n T i m e w h e n t h e l o c k e v e n t w a s s o l v e d
N o t e
F o r e v e n t s t h a t a r e s t i l l e x i s t i n g , t h e s t a t u s d i s p l a y e d i s S t i l l E x i s t i n g .
I n v o l v e d A g e n t s N u m b e r o f a g e n t s i n v o l v e d i n t h e l o c k e v e n t
1 2 / 1 8 / 2 0 1 2 P U B L I C 8 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 90/116
4 T h e D B A C o c k p i t
4 . 1 2 D i a g n o s t i c s
C o l u m n D e s c r i p t i o n
M a x . W a i t T i m e M a x . l o c k - w a i t t i m e o f a n y o f t h e i n v o l v e d a g e n t s
L o c k O b j e c t s D a t a b a s e o b j e c t s i n v o l v e d i n t h e l o c k c o n f l i c t
4 . 1 2 . 3 D i a g n o s t i c s : M i s s i n g T a b l e s a n d I n d e x e s
N o t e
T h i s f u n c t i o n i s o n l y a v a i l a b l e f o r l o c a l s y s t e m s o r f o r A B A P s y s t e m s f o r w h i c h a n a d d i t i o n a l R F C
d e s t i n a t i o n h a s b e e n a s s i g n e d .
Y o u c a n f i n d o u t w h e t h e r t a b l e s o r i n d e x e s a r e m i s s i n g f r o m e i t h e r t h e d a t a b a s e o r t h e A B A P D i c t i o n a r y b y c a l l i n g t h e D B A C o c k p i t a n d c h o o s i n g D i a g n o s t i c s M i s s i n g T a b l e s a n d I n d e x e s o n t h e
D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
T h e r e s u l t s o f t h e l a s t c o n s i s t e n c y c h e c k a r e d i s p l a y e d i n a t r e e s t r u c t u r e t h a t i s g r o u p e d i n t o t h e
f o l l o w i n g s e c t i o n s :
S e c t i o n D e s c r i p t i o n
O b j e c t s m i s s i n g f r o m t h e d a t a b a s e O b j e c t s t h a t a r e d e f i n e d i n t h e A B A P D i c t i o n a r y , b u t n o t f o u n d i n t h e d a t a b a s e
U n k n o w n o b j e c t s i n t h e A B A P D i c t i o n a r y
O b j e c t s t h a t a r e f o u n d i n t h e d a t a b a s e , b u t n o t d e f i n e d i n
t h e A B A P D i c t i o n a r y
I n c o n s i s t e n t o b j e c t s R e s u l t s o f t h e d e t a i l e d c o m p a r i s o n o f t h e A B A P D i c t i o n a r y a n d t h e d a t a b a s e a r e d i s p l a y e d h e r e
O t h e r c h e c k s D i f f e r e n t c h e c k s a r e p e r f o r m e d h e r e : n I t i s c h e c k e d w h e t h e r t h e p r i m a r y i n d e x o f t a b l e s d e f i n e d
i n t h e A B A P D i c t i o n a r y w a s c r e a t e d u n i q u e l y o n t h e d a t a b a s e .
n O b j e c t s i n t h e S A P s y s t e m t a b l e s a r e c h e c k e d , w h i c h c a n n o t b e d e s c r i b e d a t a l l o r w h i c h c a n n o t b e c o m p l e t e l y d e s c r i b e d i n t h e A B A P D i c t i o n a r y f o r t e c h n i c a l r e a s o n s .
n I f i n c o n s i s t e n c i e s f o r t h e s e o b j e c t s a r e d e t e c t e d , t h e y a r e a l s o d i s p l a y e d h e r e . I n g e n e r a l , a d d i t i o n a l i n f o r m a t i o n a b o u t t h e t y p e o f i n c o n s i s t e n c y i s p r o v i d e d .
O p t i o n a l i n d e x e s M i s m a t c h b e t w e e n A B A P D i c t i o n a r y a n d d a t a b a s e r e g a r d i n g s e c o n d a r y i n d e x e s
I f t h e d a t a b a s e s t r u c t u r e h a s b e e n c h a n g e d s i n c e t h e l a s t c o n s i s t e n c y c h e c k , c h o o s e t h e R e f r e s h
p u s h b u t t o n .
9 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 91/116
4 T h e D B A C o c k p i t
4 . 1 2 D i a g n o s t i c s
R e c o m m e n d a t i o n
T o e n s u r e c o n s i s t e n c y b e t w e e n t h e A B A P D i c t i o n a r y a n d t h e d a t a b a s e , t h e c o n s i s t e n c y c h e c k s h o u l d
b e p e r f o r m e d o n c e a m o n t h o r w h e n e v e r t h e d a t a b a s e s t r u c t u r e h a s c h a n g e d .
4 . 1 2 . 4 D i a g n o s t i c s : E r r o r L o g
Y o u c a n a c c e s s i n f o r m a t i o n a b o u t t h e e r r o r l o g o f t h e S y b a s e A S E d a t a b a s e s e r v e r b y c a l l i n g t h e D B A
C o c k p i t a n d c h o o s i n g D i a g n o s t i c s E r r o r L o g o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t .
N o t e
T o m o n i t o r d a t a o n t h e E r r o r L o g s c r e e n , y o u h a v e t o m a k e s u r e t h a t t h e d a t a c o l l e c t i o n f r a m e w o r k ( D C F ) i s s e t u p c o r r e c t l y . I f t h e D C F i s n o t a v a i l a b l e o r s e t u p i n c o r r e c t l y , a w a r n i n g i s d i s p l a y e d
i n c l u d i n g a l i n k t o t h e C o l l e c t o r C o n f i g u r a t i o n s c r e e n . T h e r e y o u c a n p e r f o r m t h e r e q u i r e d s t e p s . F o r
m o r e i n f o r m a t i o n , s e e D a t a C o l l e c t i o n F r a m e w o r k : C o l l e c t o r C o n f i g u r a t i o n [ p a g e 6 6 ] .
4 . 1 2 . 5 D i a g n o s t i c s : A S E S t a t u s
C h o o s e D i a g n o s t i c s A S E S t a t u s o n t h e D a t a b a s e t a b p a g e o f t h e D B A C o c k p i t t o a c c e s s i n f o r m a t i o n
a b o u t t h e A S E d a t a b a s e s e r v e r s t a t u s , i n s t a l l e d l i c e n s e s a n d v e r s i o n s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 92/116
T h i s p a g e i s l e f t b l a n k f o r d o c u m e n t s t h a t a r e p r i n t e d o n b o t h s i d e s .
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 93/116
5 B a c k u p a n d R e c o v e r y
5 B a c k u p a n d R e c o v e r y
5 . 1 E n s u r i n g R e c o v e r a b i l i t y f o r S y b a s e A S E
Y o u n e e d t o e n s u r e t h a t y o u a r e a b l e t o r e c o v e r t h e A d a p t i v e S e r v e r a n d a l l d a t a b a s e s o n t h e s e r v e r ,
t h a t a r e r e q u i r e d t o r u n y o u r S A P s y s t e m .
T o g u a r a n t e e r e c o v e r a b i l i t y , y o u m u s t :
n e n s u r e t h a t t h e A d a p t i v e S e r v e r c a n b e r e c o v e r e d n e n s u r e t h a t d a t a b a s e s c a n b e r e s t o r e d f r o m o f f l i n e c o p i e s
n e n s u r e t h a t a c o m p l e t e s e q u e n c e o f t r a n s a c t i o n l o g s h a s b e e n a r c h i v e d a t a l l t i m e s
E n s u r e t h a t t h e A d a p t i v e S e r v e r c a n b e r e c o v e r e d ( U N I X )
C r e a t e a f i l e s y s t e m b a c k u p f o r t h e f i l e s y s t e m s / s y b a s e / < D B S I D > ( U n i x ) a n d
< D r i v e > : \ s y b a s e \ < D B S I D > ( W i n d o w s ) a t r e g u l a r i n t e r v a l s ( e x c l u d e t h e f o l l o w i n g d a t a b a s e d e v i c e s
f r o m t h e b a c k u p ) :
T h e d a t a b a s e d o e s n o t h a v e t o b e o f f l i n e f o r t h i s .
n s y b s y s t e m
n s a p d i a g
n s a p d a t a _ < n >
n s a p l o g _ < n >
E n s u r e t h a t d a t a b a s e s c a n b e r e s t o r e d f r o m o f f l i n e c o p i e s
n C r e a t e c o p i e s o f t h e f o l l o w i n g d a t a a t r e g u l a r i n t e r v a l s .
D U M P i m a g e s o f t h e f o l l o w i n g d a t a b a s e s :
l < D B S I D > d a t a b a s e ( S A P d a t a b a s e )
l m a s t e r d a t a b a s e
l s y b s y s t e m p r o c s d a t a b a s e ( o p t i o n a l ) l s y b m g m t d b d a t a b a s e
l s a p t o o l s d a t a b a s e ( o p t i o n a l )
U s e t h e c o m m a n d D U M P D A T A B A S E t o a c h i e v e t h i s . D U M P D A T A B A S E c a n b e r u n w h i l e d a t a b a s e s
a r e o n l i n e a n d i n u s e .
A l t e r n a t i v e l y , u s e t h e Q U I E S C E D A T A B A S E c o m m a n d t o b l o c k a n y u p d a t e o p e r a t i o n o n a d a t a b a s e ;
t h e n u s e a n e x t e r n a l t o o l t o p e r f o r m a b a c k u p o f a l l t h e d a t a b a s e d e v i c e s . Y o u h a v e t o q u i e s c e a l l
d a t a b a s e s t h a t s i m u l t a n e o u s l y r e s i d e o n a d e v i c e a n d y o u h a v e t o p e r f o r m a s i m u l t a n e o u s b a c k u p
o f a l l d a t a b a s e d e v i c e s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 94/116
5 B a c k u p a n d R e c o v e r y
5 . 1 E n s u r i n g R e c o v e r a b i l i t y f o r S y b a s e A S E
n B a c k u p t h e D D L s t a t e m e n t s f o r t h e C R E A T E D A T A B A S E s t a t e m e n t i n c l u d i n g a l l l a t e r A L T E R
D A T A B A S E s t a t e m e n t s .
T h i s i s s t r o n g l y r e c o m m e n d e d t o e n s u r e t h a t t h e d a t a b a s e h a s t h e s a m e l a y o u t w i t h r e s p e c t t o d a t a a n d l o g s e g m e n t s w h e n e v e r y o u r e c r e a t e a d a t a b a s e . U s e t h e s t o r e d p r o c e d u r e s p _ d d l g e n
t o g e n e r a t e t h i s s t a t e m e n t ( S y n t a x : s p _ d d l g e n ’ d a t a b a s e ’ , D B S I D ) . S a v e t h e o u t p u t t o a f i l e
y o u s t o r e o f f l i n e .
D o t h i s f o r a l l t h e d a t a b a s e s m e n t i o n e d a b o v e .
n C r e a t e a c o p y o f a n u p - t o - d a t e l i s t o f a l l o f y o u r d a t a b a s e d e v i c e s .
Y o u c a n u s e t h e p r o c e d u r e s p _ h e l p d e v i c e t o g e t t h i s l i s t . S a v e t h e o u t p u t t o a f i l e .
n C o p y o f t h e c o n t e n t s o f t h e f o l l o w i n g s y s t e m t a b l e s :
s y s l o g i n s , s y s d e v i c e s , s y s l o g i n r o l e s , s y s d a t a b a s e s , s y s u s a g e s , s y s s e r v e r s ,
s y s s r v r o l e s , s y s r e m o t e l o g i n s .
T h e s e a r e o p t i o n a l , b u t t h e y c a n b e u s e d t o c h e c k t h e l o a d e d c o p y o f t h e m a s t e r d a t a b a s e .
E n s u r e t h a t a c o m p l e t e s e q u e n c e o f t r a n s a c t i o n l o g a r c h i v e s i s a v a i l a b l e a t a l l t i m e s
F o r y o u r S A P d a t a b a s e < D B S I D > i t i s m a n d a t o r y t h a t y o u e n s u r e t h a t t h e a r c h i v e d l o g s e q u e n c e
r e m a i n s u n b r o k e n .
T o e n s u r e a c o m p l e t e l o g s e q u e n c e , s e t t h e f o l l o w i n g d a t a b a s e o p t i o n s :
n t r u n c l o g o n c h k p t , f a l s e
n f u l l l o g g i n g f o r a l l , t r u e
n e n f o r c e d u m p t r a n s e q u e n c e , t r u e
Y o u h a v e t o s e t t h e s e o p t i o n s a f t e r a s u c c e s s f u l D U M P D A T A B A S E h a s b e e n p e r f o r m e d a n d b e f o r e a n y c h a n g e i s m a d e t o t h e d a t a b a s e .
S e t t h e s e o p t i o n s u s i n g t h e s t o r e d p r o c e d u r e s p _ d b o p t i o n t o c h a n g e d a t a b a s e o p t i o n s . ( S y n t a x :
s p _ d b o p t i o n [ d b n a m e , o p t n a m e , { t r u e | f a l s e } ] ) . Y o u m u s t c h a n g e t o t h e m a s t e r d a t a b a s e t o
b e a b l e t o c h a n g e o p t i o n s f o r a d a t a b a s e .
C a u t i o n
A f t e r y o u h a v e c h a n g e d t h e s e o p t i o n s , i n a c t i v e l o g e n t r i e s w i l l n o l o n g e r b e p u r g e d f r o m t h e
t r a n s a c t i o n l o g a t c h e c k p o i n t s . I n o r d e r t o p r e v e n t t h e t r a n s a c t i o n l o g f r o m f i l l i n g u p , y o u h a v e t o
g e t r e g u l a r d u m p s o f t h e t r a n s a c t i o n l o g . K e e p c o p i e s o f t h e d u m p e d t r a n s a c t i o n l o g b a c k t o a t l e a s t t h e l a s t c o p y o f y o u r d a t a b a s e ( o b t a i n e d u s i n g D U M P D A T A B A S E o r Q U I E S C E D A T A B A S E , c o m b i n e d w i t h
a n e x t e r n a l b a c k u p ) . H o w e v e r , i t i s r e c o m m e n d e d t h a t y o u k e e p s e v e r a l d a t a b a s e c o p i e s a l o n g w i t h
a l l r e q u i r e d t r a n s a c t i o n l o g d u m p s .
S A P N o t e 1 5 8 8 3 1 6 p r o v i d e s i n f o r m a t i o n o n h o w d a t a b a s e a n d l o g b a c k u p s o n t h e A d a p t i v e S e r v e r
c a n b e a u t o m a t e d .
9 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 95/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
T h e i n s t r u c t i o n s b e l o w p r o v i d e a n o u t l i n e o f w h a t n e e d s t o b e d o n e t o r e s t o r e a S y b a s e A S E d a t a b a s e s e r v e r o n W i n d o w s .
A s s u p m t i o n s :
n T h e f i l e s y s t e m D R I V E : \ s y b a s e \ D B S I D i s a v a i l a b l e ; a l l t h e d a t a b a s e d e v i c e s a n d d a t a b a s e s a r e
d a m a g e d a n d h a v e t o b e r e c r e a t e d .
n C u r r e n t d u m p s o f t h e m a s t e r , s y b m g m t d b a n d s a p t o o l s d a t a b a s e s a r e a v a i l a b l e .
n A c u r r e n t d u m p o f t h e D B S I D d a t a b a s e i s a v a i l a b l e , a l o n g w i t h a l l t h e r e q u i r e d d u m p s f r o m
t h e t r a n s a c t i o n l o g .
n T h e d e v i c e l a y o u t i s k n o w n ( y o u h a v e s a v e d a n u p - t o - d a t e c o p y o f t h e o u t p u t o f s p _ h e l p d e v i c e ) .
n T h e d a t a b a s e l a y o u t i s k n o w n ( D D L c o m m a n d s f o r a l l d a t a b a s e s a r e a v a i l a b l e ) .
n A c u r r e n t c o p y o f t h e A S E s e r v e r c o n f i g u r a t i o n f i l e i s a v a i l a b l e .
I f t h e f i l e s y s t e m o f t h e S y b a s e s o f t w a r e i n s t a l l a t i o n ( t h a t i s , D R I V E : \ s y b a s e \ S I D ) i s n o t a v a i l a b l e ,
r e s t o r e i t f r o m a f i l e s y s t e m b a c k u p . I f y o u d o n ’ t h a v e a f i l e s y s t e m b a c k u p , y o u h a v e t o r e i n s t a l l A S E
w i t h t h e S A P i n s t a l l e r - f o r e x a m p l e , y o u h a v e t o i n s t a l l a n e m p t y S A P N e t w e a v e r s y s t e m a n d t h e n
l o a d y o u r d a t a b a s e b a c k u p s i n t o t h e S y b a s e A S E s e r v e r . I t i s n o t p o s s i b l e t o r e i n s t a l l t h e A S E s o f t w a r e
s t a n d a l o n e u s i n g t h e A S E i n s t a l l e r f r o m t h e R D B M S i n s t a l l a t i o n m e d i u m p r o v i d e d b y S A P , s i n c e t h e
n e c e s s a r y S A P O E M l i c e n s e c a n b e i n s t a l l e d o n l y u s i n g t h e S A P i n s t a l l e r .
R e c r e a t e t h e f i l e s y s t e m s f o r t h e f o l l o w i n g d i r e c t o r i e s :
n D R I V E : \ s y b a s e \ S I D \ s a p d a t a _ [ 1 - n ]
n D R I V E : \ s y b a s e \ S I D \ s a p l o g _ [ 1 - n ]
n D R I V E : \ s y b a s e \ S I D \ s y b s y s t e m
n D R I V E : \ s y b a s e \ S I D \ s a p d i a g
n D R I V E : \ s y b a s e \ S I D \ s y b t e m p
R e b u i l d t h e S y b a s e S e r v e r
I f t h e f i l e s y s t e m o f t h e S A P s o f t w a r e i n s t a l l a t i o n ( f o r e x a m p l e D R I V E : \ s y b a s e \ < D B S I D > ) i s a v a i l a b l e ,
y o u c a n u s e t h e o r i g i n a l r e s p o n s e f i l e s t h a t w e r e c r e a t e d b y t h e S y b a s e i n s t a l l e r t o r e c r e a t e t h e A S E
s e r v e r . T h e f o l l o w i n g f i l e s a r e r e l e v a n t f o r t h e r e s t o r a t i o n o f t h e s e r v e r :
n % S Y B A S E % \ A S E - 1 5 _ 0 \ s q l s r v . r e s - m a i n r e s p o n s e f i l e t o r e c r e a t e t h e A d a p t i v e S e r v e r
n % S Y B A S E % \ A S E - 1 5 _ 0 \ b s r v . r e s - r e s p o n s e f i l e f o r t h e b a c k u p s e r v e r
R e v i e w t h e c o n t e n t s o f t h e f i l e a n d e n s u r e t h a t i t m a t c h e s y o u r i n s t a l l a t i o n . P a y p a r t i c u l a r a t t e n t i o n
t o t h e f o l l o w i n g p a r a m e t e r s :
P a r a m e t e r : C o m m e n t :
s q l s r v . s e r v e r _ n a m e U s e < S A P S I D > a s s e r v e r
s q l s r v . s e r v e r _ p a g e _ s i z e 1 6 k i s m a n d a t o r y
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 96/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
P a r a m e t e r : C o m m e n t :
s q l s r v . s o r t _ o r d e r B i n a r y s o r t o r d e r i s m a n d a t o r y
s q l s r v . d e f a u l t _ c h a r a c t e r s e t u t f 8 i s m a n d a t o r y
s q l s r v . d e f a u l t _ l a n g u a g e D e f a u l t l a n g u a g e E n g l i s h ( u s _ e n g l i s h )
s q l s r v . c h a r a c t e r s e t _ i n s t a l l _ l i s t I n s t a l l u t f 8
s q l s r v . l a n g u a g e _ i n s t a l l _ l i s t I n s t a l l u s _ e n g l i s h
s y b i n i t . p r o d u c t : s q l s r v P r o d u c t t o b e i n s t a l l e d
s q l s r v . m a s t e r _ d e v i c e _ p h y s i c a l _ n a m e P a t h t o m a s t e r d e v i c e
s q l s r v . m a s t e r _ d e v i c e _ s i z e M a s t e r d e v i c e s i z e
s q l s r v . d o _ c r e a t e _ s y b s y s t e m p r o c s _ d e v i c e Y e s
s q l s r v . s y b s y s t e m p r o c s _ d e v i c e _ p h y s i c a l _ n a m e D e v i c e f o r d a t a b a s e s y b s y s t e m p r o c s
s q l s r v . s y b s y s t e m p r o c s _ d e v i c e _ s i z e S i z e
s q l s r v . s y b s y s t e m p r o c s _ d e v i c e _ l o g i c a l _ n a m e A d a p t i v e s e r v e r d e v i c e n a m e
s q l s r v . d o _ c r e a t e _ s y b s y s t e m d b _ d b _ d e v i c e Y e s
s q l s r v . s y b s y s t e m d b _ d b _ d e v i c e _ p h y s i c a l _ n a m e : P a t h t o s y s t e m d e v i c e f i l e
s q l s r v . s y b s y s t e m d b _ d b _ d e v i c e _ p h y s i c a l _ s i z e : S i z e
s q l s r v . s y b s y s t e m d b _ d b _ d e v i c e _ l o g i c a l _ n a m e : L o g i c a l n a m e
s q l s r v . t e m p d b _ d e v i c e _ p h y s i c a l _ n a m e : P a t h t o t e m p d b d e v i c e
s q l s r v . t e m p d b _ d e v i c e _ s i z e : S i z e
R e v i e w t h e p a t h a n d t h e s i z e o f t h e A S E d e v i c e s t h a t w e r e c r e a t e d ( m a s t e r , s y s t e m p r o c s , . . ) . E n s u r e
t h a t t h e s i z e s f i t y o u r c u r r e n t d e v i c e s i z e s . A f t e r y o u h a v e v e r i f i e d t h a t t h e f i l e m a t c h e s y o u r n e e d s ,
c a l l t h e c o m m a n d s y b a t c h . e x e a s t h e A S E s o f t w a r e o w n e r s y b < s i d > t o r e c r e a t e t h e s e r v e r .
E x a m p l e :
% > A S E - 1 5 _ 0 \ b i n \ s y b a t c h . e x e - r A S E - 1 5 _ 0 \ s q l s r v . r e s
T h i s c o m m a n d w i l l r e b u i l d a n e w s e r v e r . I t w i l l c r e a t e a n e w m a s t e r d e v i c e a n d a n e w m a s t e r d a t a b a s e ,
l o a d t h e u t f - 8 c h a r a c t e r s e t , a n d s e t t h e b i n a r y s o r t o r d e r .
A l o g f i l e o f t h e s y b a t c h . e x e c o m m a n d i s w r i t t e n t o % S Y B A S E % \ A S E - 1 5 _ 0 \ i n i t \ l o g s \ l o g < m m d d > . < n n n > , w h e r e < m m d d > i s t h e m o n t h a n d d a y a n d < n n n > i s a t h r e e - d i g i t n u m b e r , f o r
e x a m p l e , 0 0 1 .
I m p o r t a n t : R e v i e w t h e c o n t e n t s o f t h a t l o g f i l e . E n s u r e t h a t t h e r e b u i l d o f t h e s e r v e r h a s w o r k e d a s
e x p e c t e d . E n s u r e t h a t u t f - 8 h a s b e e n i n s t a l l e d a s t h e d e f a u l t c h a r a c t e r s e t a n d t h a t t h e b i n a r y s o r t
o r d e r i s s e t . T h e e r r o r l o g f i l e s h o u l d c o n t a i n a n e n t r y i n d i c a t i n g t h a t t h e d e f a u l t s o r t o r d e r i s n o w
’ b i n a r y ’ ( I D = 2 5 ) o n t o p o f d e f a u l t c h a r a c t e r s e t ’ u t f 8 ’ ( I D = 1 9 0 ) .
9 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 97/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
N o t e t h a t s i n c e y o u a r e r e b u i l d i n g t h e m a s t e r d a t a b a s e f r o m s c r a t c h , t h e d e f a u l t a d m i n i s t r a t i v e
l o g i n s a w i t h a n e m p t y p a s s w o r d i s a c t i v e . T h e S A P a d m i n i s t r a t i v e l o g i n s a p s a d o e s n o t y e t e x i s t o n
t h e s e r v e r .
R e c r e a t e t h e B a c k u p S e r v e r
I f r e q u i r e d , y o u c a n r e c r e a t e t h e b a c k u p s e r v e r b y c a l l i n g t h e f i l e b s s r v . r e s w i t h t h e
s y b a t c h . e x e c o m m a n d . R e v i e w t h e c o n t e n t s a n d t h e n r e c r e a t e t h e b a c k u p s e r v e r .
E x a m p l e :
% > A S E - 1 5 _ 0 \ b i n \ s y b a t c h . e x e - r A S E - 1 5 _ 0 \ b s s r v . r e s
R e v i e w t h e c o n t e n t s o f t h e c o r r e s p o n d i n g l o g f i l e
% S Y B A S E % \ A S E - 1 5 _ 0 \ i n i t \ l o g s \ l o g < m m d d > . < n n n >
R e s t a r t t h e S e r v e r i n S i n g l e U s e r M o d e
C h a n g e t o t h e d i r e c t o r y % S Y B A S E % \ A S E - 1 5 _ 0 \ i n s t a l l . C o p y t h e f i l e R U N _ < S I D > . b a t t o a f i l e
R U N _ < S I D > _ S I N G L E _ U S E R _ M O D E . b a t . E d i t t h e n e w f i l e a n d a d d t h e s t a r t u p o p t i o n ’ - m ’ a t t h e e n d
o f t h e f i l e .
S t a r t A d a p t i v e S e r v e r b y c a l l i n g t h i s b a t c h f i l e f r o m a D O S c o m m a n d p r o m p t .
I m p o r t a n t : A d a p t i v e S e r v e r i s n o w r u n n i n g a s a u s e r p r o c e s s , n o t a s a s e r v i c e . D o n o t c l o s e t h e D O S
c o m m a n d s h e l l w h e r e y o u s t a r t e d t h e s e r v e r a s l o n g a s t h e A d a p t i v e S e r v e r i s r u n n i n g !
L o a d t h e M a s t e r D a t a b a s e
I n c a s e y o u h a v e n o t y e t d o n e s o , s t a r t t h e b a c k u p s e r v e r . T h e o r i g i n a l m a s t e r d a t a b a s e h a s t o g e t
l o a d e d w i t h t h e L O A D D A T A B A S E c o m m a n d . L o g i n t o A d a p t i v e S e r v e r w i t h i s q l ( o r a n o t h e r S Q L
e d i t o r ) a n d i s s u e t h e L O A D D A T A B A S E c o m m a n d . A d a p t i v e S e r v e r m u s t b e r u n n i n g i n s i n g l e u s e r m o d e
i n o r d e r t o l o a d a m a s t e r d a t a b a s e . U s e t h e l o g i n s a w i t h e m p t y p a s s w o r d t o l o g o n t o A d a t i v e S e r v e r .
E x a m p l e :
l o a d d a t a b a s e m a s t e r f r o m
c : \ s y b a s e \ T N T \ b a c k u p s \ m a s t e r 2 0 1 1 - 0 8 - 0 4 T 2 2 0 8 4 4 . d m p
g o
A d a p t i v e S e r v e r s h u t s d o w n a u t o m a t i c a l l y a f t e r m a s t e r h a s b e e n l o a d e d s u c c e s s f u l l y .
R e c r e a t e t h e T e m p o r a r y D a t a b a s e ( s )
T e m p o r a r y d a t a b a s e ( s ) g e t r e c r e a t e d f r o m s c r a t c h a t s t a r t u p . E n s u r e t h e p h y s i c a l d e v i c e f i l e ( s ) e x i s t
a n d a r e a c c e s s i b l e f o r A d a p t i v e S e r v e r . I f y o u l o s e t h e f i l e ( s ) f o r t h e t e m p d b d e v i c e s , j u s t r e - c r e a t e
t h e s e a s e m p t y f i l e s i n t h e f i l e s y s t e m .
R e c r e a t e a n d L o a d t h e J o b S c h e d u l e r D a t a b a s e ’ s y b m g m t d b ’
Y o u f i r s t h a v e t o d r o p t h e s y b m g m t d b d a t a b a s e f r o m t h e c a t a l o g o f t h e l o a d e d m a s t e r d a t a b a s e a n d
d r o p t h e n o n - e x i s t i n g s y b m g m t d a t a b a s e d e v i c e s y b m g m t d e v
E x a m p l e :
d r o p d a t a b a s e s y b m g m t d b
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 98/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
g o
T h e n d r o p t h e d e v i c e .
s p _ d r o p d e v i c e s y b m g m t d e v
g o
R e c r e a t e t h e d e v i c e f o r s y b m g m t d e v a n d d a t a b a s e s y b m g m t d b
E x a m p l e :
d i s k i n i t n a m e = ’ s y b m g m t d e v ’ ,
p h y s n a m e = ’ D : \ s y b a s e \ T N T \ s y b s y s t e m \ s y b m g m t d b . d a t ’ ,
s i z e = ’ 7 5 . 0 0 M ’ ,
d i r e c t i o = ’ t r u e ’
g o
c r e a t e d a t a b a s e s y b m g m t d b o n s y b m g m t d e v = ’ 7 2 M ’ f o r l o a d
g o
l o a d d a t a b a s e s y b m g m t d b f r o m c : \ s y b a s e \ T N T \ b a c k u p s \ s y b m g m t d b 2 0 1 1 - 0 8 - 0 4 T 2 2 0 8 4 7 . d m p
I f y o u h a v e p e r f o r m e d a d u m p o f s y b m g m t d b , l o a d i t w i t h t h e L O A D D A T A B A S E c o m m a n d . I f n o d u m p
o f s y b m g m t d b i s a v a i l a b l e , r e c r e a t e t h e c o n t e n t s o f s y b m g m t d b w i t h t h e s c r i p t i n s t a l l j s d b a n d e n a b l e
j o b s c h e d u l i n g a g a i n .
S e t t h e c o n f i g u r a t i o n p a r a m e t e r e n a b l e j o b s c h e d u l e r t o 1 a n d r e s t a r t t h e j o b s c h e d u l e r t a s k s
w i t h t h e c o m m a n d .
E x a m p l e :
D : \ > i s q l - S T N T - U s a p s a - P < P A S S W O R D > - i % S Y B A S E % \ A S E - 1 5 _ 0 \ s c r i p t s \ i n s t a l l j s d b - o
j s d b . o u t f i l e
L o g i n t o A S E w i t h i s q l a s u s e r s a p s a a n d e x e c u t e t h e c o m m a n d s :
s p _ c o n f i g u r e ’ e n a b l e j o b s c h e d u l e r ’ , 1
g o
e x e c s y b m g m t d b . . s p _ s j o b c o n t r o l @ n a m e = N U L L , @ o p t i o n = " s t a r t _ j s "
g o
A f t e r t h e r e c r e a t i o n o f s y b m g m t d b , a l l p r e v i o u s l y d e f i n e d j o b s a r e g o n e .
C a l l t h e D B A C o c k p i t a n d e n s u r e t h a t t h e r e q u i r e d j o b s a r e r e c r e a t e d p r o p e r l y . T h i s i n c l u d e s :
n A u t o m a t i c T a b l e M a i n t e n a n c e
n D a t a C o l l e c t i o n F r a m e w o r k
n D B A P l a n n i n g C a l e n d a r
I f y o u h a v e d e f i n e d y o u r o w n j o b s , y o u w i l l h a v e t o r e c r e a t e t h e s e m a n u a l l y .
R e c r e a t e t h e s a p t o o l s D a t a b a s e
R e b o o t i n m u l t i - u s e r m o d e ; u s e t h e s t a n d a r d W i n d o w s s e r v i c e t o s t a r t A S E t h i s t i m e .
Y o u h a v e t o d r o p t h e n o n - e x i s t i n g d a t a b a s e f r o m t h e m a s t e r c a t a l o g , d r o p t h e c o r r e s p o n d i n g
d e v i c e ( s ) , t h e n r e c r e a t e t h e d e v i c e s a n d t h e s a p t o o l s d a t a b a s e . F i n a l l y , l o a d t h e m o s t r e c e n t d u m p o f
t h e s a p t o o l s d a t a b a s e .
9 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 99/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
E x a m p l e :
d r o p d a t a b a s e s a p t o o l s
g o
s p _ d r o p d e v i c e d a t a s a p t o o l s _ 1
g o
s p _ d r o p d e v i c e l o g s a p t o o l s _ 1
g o
d i s k i n i t n a m e = ’ d a t a s a p t o o l s _ 1 ’ ,
p h y s n a m e = ’ D : \ s y b a s e \ T N T \ s y b d i a g \ d a t a s a p t o o l s _ 1 . d a t ’ ,
s i z e = ’ 2 0 4 8 M ’ , d i r e c t i o = ’ t r u e ’
g o
d i s k i n i t n a m e = ’ l o g s a p t o o l s _ 1 ’ , p h y s n a m e = ’ D : \ s y b a s e \ T N T \ s y b d i a g \ l o g s a p t o o l s _ 1 . d a t ’ ,
s i z e = ’ 2 0 0 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
C R E A T E D A T A B A S E s a p t o o l s O N d a t a s a p t o o l s _ 1 = ’ 2 0 4 8 M ’
L O G O N l o g s a p t o o l s _ 1 = ’ 2 0 0 M ’ F O R L O A D
g o
S p e c i f i y t h e F O R L O A D o p t i o n , t h i s s p e e d s u p d a t a b a s e c r e a t i o n . T h e n l o a d t h e l a t e s t d u m p o f s a p t o o l s .
E x a m p l e :
l o a d d a t a b a s e s a p t o o l s f r o m c : \ s y b a s e \ T N T \ b a c k u p s \ s a p t o o l s 2 0 1 1 - 0 8 - 0 4 T 2 2 0 8 5 0 . d m p
g o
B r i n g d a t a b a s e s a p t o o l s o n l i n e w i t h t h e o n l i n e d a t a b a s e c o m m a n d . E x a m p l e :
o n l i n e d a t a b a s e s a p t o o l s
g o
L o a d t h e < D B S I D > d a t a b a s e .
F i r s t d r o p t h e n o n - e x i s t i n g < D B S I D > d a t a b a s e f r o m t h e c a t a l o g a n d r e c r e a t e i t w i t h t h e s a v e d D D L
s t a t e m e n t f o r t h e d a t a b a s e . T h e n l o a d t h e m o s t r e c e n t d u m p o f t h e d a t a b a s e , f o l l o w e d b y a l l d u m p s
o f t h e t r a n s a c t i o n l o g y o u t o o k i n t h e c o r r e c t o r d e r .
E x a m p l e :
d r o p d a t a b a s e T N T
g o
s p _ d r o p d e v i c e d a t a T N T _ 1
g o
s p _ d r o p d e v i c e l o g T N T _ 1
g o
d i s k i n i t n a m e = ’ d a t a T N T _ 1 ’ , p h y s n a m e = ’ D : \ s y b a s e \ T N T \ s a p d a t a _ 1 \ d a t a T N T _ 1 . d a t ’ ,
s i z e = ’ 1 2 8 0 0 0 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
d i s k i n i t n a m e = ’ l o g T N T _ 1 ’ , p h y s n a m e = ’ D : \ s y b a s e \ T N T \ s a p l o g _ 1 \ l o g T N T _ 1 . d a t ’ ,
1 2 / 1 8 / 2 0 1 2 P U B L I C 9 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 100/116
5 B a c k u p a n d R e c o v e r y
5 . 2 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( W i n d o w s )
s i z e = ’ 2 0 4 8 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
C R E A T E D A T A B A S E T N T O N d a t a T N T _ 1 = ’ 1 2 8 0 0 0 M ’
L O G O N l o g T N T _ 1 = ’ 2 0 4 8 M ’ f o r L O A D
g o
S p e c i f y t h e l o a d o p t i o n ; t h i s s p e e d s u p t h e c r e a t i o n o f t h e d a t a b a s e s i g n i f i c a n t l y . N o w l o a d t h e
m o s t r e c e n t d u m p o f t h e < D B S I D > d a t a b a s e .
E x a m p l e :
l o a d d a t a b a s e T N T f r o m ’ c : \ s y b a s e \ T N T \ b a c k u p s \ T N T 2 0 1 1 - 0 8 - 0 4 T 2 2 0 8 5 3 . d m p ’
g o
D o n o t b r i n g t h e d a t a b a s e o n l i n e n o w , f i r s t l o a d a l l t h e t r a n s a c t i o n l o g d u m p s .
Y o u n e e d t o l o a d a l l p r e v i o u s l y t a k e n t r a n s a c t i o n d u m p s t o t h e d a t a b a s e i n t h e c o r r e c t o r d e r . I f y o u
n e e d t o r e s t o r e t o a s p e c i f i c p o i n t i n t i m e , s p e c i f y t h e u n t i l _ t i m e p a r a m e t e r o f t h e l o a d t r a n s a c t i o n
c o m m a n d .
E x a m p l e :
l o a d t r a n s a c t i o n T N T f r o m
’ D : \ s y b a s e \ T N T \ l o g _ a r c h i v e s \ T N T _ t r a n s _ 2 0 1 1 - 0 8 - 0 4 T 2 2 1 0 1 9 . d m p ’
g o
R e p e a t t h i s s t e p f o r e a c h d u m p y o u t o o k .
B r i n g < D B S I D > d a t a b a s e o n l i n e
A S E d o e s n o t b r i n g a d a t a b a s e o n l i n e a u t o m a t i c a l l y a f t e r y o u l o a d e d a d u m p . I t i s p o s s i b l e t h a t f u r t h e r
d u m p s n e e d t o b e l o a d e d . B r i n g t h e d a t a b a s e o n l i n e w i t h t h e c o m m a n d o n l i n e d a t a b a s e a f t e r y o u l o a d e d a l l a v a i l a b l e t r a n s a c t i o n d u m p s f o r t h e d a t a b a s e .
o n l i n e d a t a b a s e T N T
g o
R e s e t d a t a b a s e o p t i o n s
I m p o r t a n t :
C h e c k a n d r e s e t a l l d a t a b a s e o p t i o n s a s r e q u i r e d b e f o r e y o u s t a r t S A P .
M a n d a t o r y D B o p t i o n s f o r S A P a r e d d l i n t r a n , a l l o w n u l l s b y d e f a u l t , a l l o w w i d e d o l
r o w s , p a g e c o m p r e s s i o n
T h e s e h a v e t o b e s e t i n a n y c a s e .
M a n d a t o r y f o r a p r o d u c t i o n s y s t e m e n f o r c e d u m p t r a n s e q u e n c e ( s e e S A P N o t e 1 5 8 5 9 8 1 ) f u l l
l o g g i n g f o r a l l .
L o g o n a s u s e r s a p s a w i t h i s q l , u s e t h e s t o r e d p r o c e d u r e s p _ d b o p t i o n t o s e t t h e n e c e s s a r y o p t i o n s .
E x a m p l e :
s p _ d b o p t i o n T N T , ’ a l l o w n u l l s b y d e f a u l t ’ , ’ t r u e ’
g o
s p _ d b o p t i o n T N T , ’ a l l o w w i d e d o l r o w s ’ , ’ t r u e ’
g o
s p _ d b o p t i o n T N T , ’ d d l i n t r a n ’ , ’ t r u e ’
1 0 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 101/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
g o
s p _ d b o p t i o n T N T , ’ e n f o r c e d u m p t r a n s e q u e n c e ’ , ’ t r u e ’
g o
s p _ d b o p t i o n T N T , ’ f u l l l o g g i n g f o r a l l ’ , ’ t r u e ’
g o
! A t t e n t i o n : S e t t h e d a t a b a s e o p t i o n s i m m e d i a t e l y a f t e r t h e d a t a b a s e h a s b e e n b r o u g h t o n l i n e a n d
b e f o r e a n y u s e r c o n n e c t s t o t h e d a t a b a s e . I f a n y c h a n g e s t o t h e d a t a b a s e c o n t e n t s a r e m a d e b e f o r e y o u
s e t e n f o r c e d u m p t r a n s e q u e n c e , y o u h a v e t o g e t a f u l l d a t a b a s e d u m p b e f o r e y o u c a n s e t t h e o p t i o n .
T h e A S E n o w h a s a d e f a u l t c o n f i g u r a t i o n f o r m a n y c o n f i g u r a t i o n p a r a m e t e r s . R e v i e w t h e s a v e d c o p y
o f y o u r c o n f i g u r a t i o n f i l e a n d a d a p t t h e A S E c o n f i g u r a t i o n a s n e e d e d . C o p y t h e s a v e d o r i g i n a l c o p y o f
t h e A S E c o n f i g u r a t i o n f i l e t o t h e l o c a t i o n o f t h e A S E c o n f i g u r a t i o n f i l e a n d r e b o o t A S E . T h e d e f a u l t
l o c a t i o n o f t h e A S E s e r v e r c o n f i g u r a t i o n f i l e i s % S Y B A S E % \ A S E - 1 5 _ 0 \ < S A P S I D > . c f g .
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
C a u t i o n
C h e c k S A P N o t e 1 6 1 8 8 1 7 f o r t h e l a t e s t u p d a t e s a n d n e w e s t i n f o r m a t i o n !
Y o u n e e d t o r e s t o r e a S y b a s e A S E d a t a b a s e i n s t a n c e o n U N I X / L i n u x .
Y o u a r e o p e r a t i n g S A P w i t h a S y b a s e A S E d a t a b a s e s e r v e r . T h e S y b a s e A S E s e r v e r r u n s o n a U N I X o r
L i n u x o p e r a t i n g s y s t e m . Y o u n e e d t o r e s t o r e t h e d a t a b a s e s e r v e r . T h e i n s t r u c t i o n s b e l o w p r o v i d e a n o u t l i n e o f w h a t n e e d s t o b e d o n e i n o r d e r t o r e s t o r e a S y b a s e
A S E s e r v e r .
A s s u m p t i o n s :
n T h e f i l e s y s t e m / s y b a s e / < S I D > i s a v a i l a b l e ; a l l t h e d a t a b a s e d e v i c e s a n d d a t a b a s e s a r e d a m a g e d
a n d n e e d t o b e r e c r e a t e d .
n A c u r r e n t d u m p o f t h e ’ m a s t e r ’ , ’ s y b m g m t d b ’ a n d ’ s a p t o o l s ’ d a t a b a s e s a r e a v a i l a b l e .
n A c u r r e n t d u m p o f < D B S I D > d a t a b a s e i s a v a i l a b l e a l o n g w i t h a l l t h e r e q u i r e d d u m p s f r o m t h e
t r a n s a c t i o n l o g .
n D e v i c e l a y o u t i s k n o w n ( y o u s a v e d a n u p - t o - d a t e c o p y o f t h e o u t p u t o f s p _ h e l p d e v i c e ) .
n D a t a b a s e l a y o u t i s k n o w n ( D D L c o m m a n d s f o r a l l d a t a b a s e s a r e a v a i l a b l e ) .
n C u r r e n t c o p y o f A S E s e r v e r c o n f i g u r a t i o n f i l e i s a v a i l a b l e .
I f t h e f i l e s y s t e m / s y b a s e / < S I D > i s n o t a v a i l a b l e , r e s t o r e i t f r o m a f i l e s y s t e m b a c k u p . I f y o u d o n ’ t h a v e
a f i l e s y s t e m b a c k u p , y o u n e e d t o r e i n s t a l l a n e m p t y S A P N e t w e a v e r s y s t e m u s i n g t h e S A P i n s t a l l e r
a n d t h e n l o a d y o u r d a t a b a s e s i n t o t h e n e w l y c r e a t e d A S E s e r v e r . I t i s n o t p o s s i b l e t o r e i n s t a l l t h e A S E
s e r v e r s t a n d a l o n e u s i n g t h e A S E i n s t a l l e r f r o m t h e R D B M S i n s t a l l a t i o n m e d i u m p r o v i d e d b y S A P ,
s i n c e t h e S A P O E M l i c e n s e i s i n s t a l l e d o n l y u s i n g S A P I N S T .
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 0 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 102/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
R e c r e a t e t h e f i l e s y s t e m s
R e c r e a t e t h e f i l e s y s t e m s a s r e q u i r e d f o r t h e f o l l o w i n g d i r e c t o r i e s :
/ s y b a s e / < S I D > / s a p d a t a _ [ 1 ‒ n ] / s y b a s e / < S I D > / s a p l o g _ [ 1 ‒ n ]
/ s y b a s e / < S I D > / s y b s y s t e m
/ s y b a s e / < S I D > / s a p d i a g
/ s y b a s e / < S I D / s y b t e m p
R e b u i l d t h e A S E s e r v e r
W e s u g g e s t t h a t y o u u s e a r e s p o n s e f i l e t o r e c r e a t e t h e A S E s e r v e r . I n t h e $ S Y B A S E d i r e c t o r y ( t h a t
i s , t h e d i r e c t o r y / s y b a s e / < D B S I D > ) t h e o r i g i n a l r e s p o n s e u s e d f o r s e r v e r c r e a t i o n s h o u l d s t i l l b e
a v a i l a b l e ; i t i s t h e f i l e $ S Y B A S E / A S E - 1 5 _ 0 / s q l s e r v . r e s .
R e v i e w t h e c o n t e n t s o f t h a t f i l e . E n s u r e t h a t i t m a t c h e s y o u r n e e d s . P a y p a r t i c u l a r a t t e n t i o n t o t h e
f o l l o w i n g p a r a m e t e r s :
s y b i n i t . r e l e a s e _ d i r e c t o r y : # s e t t o / s y b a s e / < D B S I D >
s y b i n i t . p r o d u c t : s q l s r v
s q l s r v . s e r v e r _ n a m e : # s e t i t t o < S A P S I D > , s a m e a s < D B S I D >
s q l s r v . n e t w o r k _ p o r t _ l i s t : # p o r t o f A S E , c o m p a r e t o i n t e r f a c e s f i l e
s q l s r v . s e r v e r _ p a g e _ s i z e : 1 6 k # 1 6 k i s m a n d a t o r y f o r S A P i n s t a l l a t i o n s
s q l s r v . m a s t e r _ d e v i c e _ p h y s i c a l _ n a m e : # m a s t e r d e v i c e
s q l s r v . m a s t e r _ d e v i c e _ s i z e : # m a s t e r d e v i c e s i z e
s q l s r v . m a s t e r _ d a t a b a s e _ s i z e : # m a s t e r d a t a s b a s e s i z e s q l s r v . s y b s y s t e m p r o c s _ d e v i c e _ p h y s i c a l _ n a m e : #
s q l s r v . s y b s y s t e m p r o c s _ d e v i c e _ s i z e : #
s q l s r v . s y b s y s t e m p r o c s _ d a t a b a s e _ s i z e : #
s q l s r v . s y b s y s t e m d b _ d e v i c e _ p h y s i c a l _ n a m e : #
s q l s r v . s y b s y s t e m d b _ d e v i c e _ s i z e : #
s q l s r v . s y b s y s t e m d b _ d a t a b a s e _ s i z e : #
s q l s r v . t e m p d b _ d e v i c e _ p h y s i c a l _ n a m e : #
s q l s r v . t e m p d b _ d e v i c e _ s i z e : #
s q l s r v . t e m p d b _ d a t a b a s e _ s i z e : #
s q l s r v . d e f a u l t _ b a c k u p _ s e r v e r : # E n s u r e t h a t t h e m a s t e r d e v i c e a n d m a s t e r d a t a b a s e s i z e s a r e l a r g e e n o u g h t o i n c o r p o r a t e t h e m o s t
r e c e n t d u m p o f t h e m a s t e r d a t a b a s e y o u c r e a t e d b e f o r e t h e s y s t e m c r a s h . T h e n u s e t h e c o m m a n d
s r v b u i l d r e s t o r e c r e a t e t h e s e r v e r . L o g i n a s t h e A S E s o f t w a r e o w n e r s y b < s i d > a n d c a l l t h e c o m m a n d .
E x a m p l e :
s r v b u i l d r e s - r A S E - 1 5 _ 0 / s q l s r v . r e s
N o t e t h a t s i n c e y o u a r e r e b u i l d i n g t h e m a s t e r d a t a b a s e f r o m s c r a t c h , t h e d e f a u l t a d m i n i s t r a t i v e
l o g i n s a w i t h a n e m p t y p a s s w o r d i s a c t i v e a t t h i s t i m e . T h e S A P a d m i n i s t r a t i v e l o g i n s a p s a d o e s
n o t y e t e x i s t o n t h e s e r v e r .
1 0 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 103/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
C o n f i g u r e u t f 8 a n d b i n a r y s o r t o r d e r
A f t e r t h e A S E h a s b e e n r e i n i t i a l i z e d , i t i s i m p o r t a n t t o l o a d t h e u t f - 8 c h a r a c t e r s e t a n d c o n f i g u r e b i n a r y
s o r t o r d e r i n a s e c o n d s t e p . R e s t a r t A S E i n s i n g l e - u s e r m o d e . I t i s r e c o m m e n d e d t h a t y o u c r e a t e a n a d a p t e d R U N _ < S E R V E R > f i l e t o s t a r t t h e A S E i n s i n g l e - u s e r m o d e . C o p y t h e o r i g i n a l R U N _ < S E R V E R > f i l e
t o a f i l e R U N _ < S E R V E R > _ S I N G L E U S E R a n d a d d a s t a r t u p p a r a m e t e r - m .
E x a m p l e
# ! / b i n / s h
# N a m e : R U N _ L E O _ S I N G L E U S E R
# S t a r t s A S E s e r v e r L E O i n s i n g l e u s e r m o d e
# M a s t e r d e v i c e p a t h : / s y b a s e / L E O / s y b s y s t e m / m a s t e r . d a t
# E r r o r l o g p a t h : / s y b a s e / L E O / A S E - 1 5 _ 0 / i n s t a l l / L E O . l o g # C o n f i g u r a t i o n f i l e p a t h : / s y b a s e / L E O / A S E - 1 5 _ 0 / L E O . c f g
# D i r e c t o r y f o r s h a r e d m e m o r y f i l e s : / s y b a s e / L E O / A S E - 1 5 _ 0
# A d a p t i v e S e r v e r n a m e : L E O
# / s y b a s e / L E O / A S E - 1 5 _ 0 / b i n / d a t a s e r v e r \
- d / s y b a s e / L E O / s y b s y s t e m / m a s t e r . d a t \
- e / s y b a s e / L E O / A S E - 1 5 _ 0 / i n s t a l l / L E O . l o g \
- c / s y b a s e / L E O / A S E - 1 5 _ 0 / L E O . c f g \
- M / s y b a s e / L E O / A S E - 1 5 _ 0 \
- s L E O \
- m \
S t a r t t h e A S E s e r v e r w i t h t h e c o m m a n d s t a r t s e r v e r , p a s s i n g t h e n e w l y c r e a t e d
R U N _ < S E R V E R > _ S I N G E L U S E R f i l e a s p a r a m e t e r .
E x a m p l e
s t a r t s e r v e r - f . / A S E - 1 5 _ 0 / i n s t a l l / R U N _ L E O _ S I N G E L U S E R
T o l o a d u t f - 8 a n d c o n f i g u r e b i n a r y s o r t o r d e r , r e v i e w t h e c o n t e n t s o f t h e f i l e
$ S Y B A S E / A S E - 1 5 _ 0 / s q l s r v _ l a n g . r e s ’ , w h i c h w a s c r e a t e d d u r i n g i n s t a l l a t i o n o f t h e A S E s e r v e r . I t s
c o n t e n t s m a y l o o k l i k e t h i s : #
# - - - T h i s f i l e w a s g e n e r a t e d b y S y b a s e I n s t a l l e r - - -
# s y b i n i t . r e l e a s e _ d i r e c t o r y : / s y b a s e / L E O
s q l s r v . s e r v e r _ n a m e : L E O
s q l s r v . s a _ l o g i n : s a
s q l s r v . s a _ p a s s w o r d :
s q l s r v . d e f a u l t _ l a n g u a g e : u s _ e n g l i s h
s q l s r v . l a n g u a g e _ i n s t a l l _ l i s t : u s _ e n g l i s h
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 0 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 104/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
s q l s r v . l a n g u a g e _ r e m o v e _ l i s t :
s q l s r v . d e f a u l t _ c h a r a c t e r s e t : u t f 8
s q l s r v . c h a r a c t e r s e t _ i n s t a l l _ l i s t : u t f 8 s q l s r v . c h a r a c t e r s e t _ r e m o v e _ l i s t :
s q l s r v . s o r t _ o r d e r : b i n a r y
V e r i f y t h a t t h e A S E s e r v e r h a s s t a r t e d s u c c e s s f u l l y i n s i n g l e - u s e r m o d e . T h e n c a l l t h e c o m m a n d
s q l l o c r e s t o s e t t h e u t f 8 a n d b i n a r y s o r t o r d e r u s i n g t h e f i l e s q l s r v _ l a n g . r e s .
E x a m p l e
s q l l o c r e s - S L E O - U s a - P - r A S E - 1 5 _ 0 / s q l s r v _ l a n g . r e s
V e r i f y t h a t u t f - 8 h a s b e e n i n s t a l l e d a s t h e d e f a u l t c h a r a c t e r s e t a n d t h e b i n a r y s o r t o r d e r i s s e t . T h e
A S E e r r o r l o g f i l e s h o u l d c o n t a i n a n e n t r y i n d i c a t i n g t h a t A S E ’ s d e f a u l t s o r t o r d e r i s n o w b i n a r y ( I D =
2 5 ) o n t o p o f d e f a u l t c h a r a c t e r s e t ’ u t f 8 ’ ( I D = 1 9 0 ) .
C r e a t e a n d s t a r t t h e b a c k u p s e r v e r
R e v i e w t h e c o n t e n t s o f t h e f i l e $ S Y B A S E / A S E - 1 5 _ 0 / b s r v . r e s . C r e a t e t h e b a c k u p s e r v e r b y c a l l i n g t h e
f i l e w i t h ’ s r v b u i l d r e s ’ .
E x a m p l e
s r v b u i l d r e s - r $ S Y B A S E / A S E - 1 5 _ 0 / b s r v . r e s
S t a r t t h e b a c k u p s e r v e r ; c a l l t h e R U N _ < S E R V E R > _ B S f i l e w i t h t h e s t a r t s e r v e r c o m m a n d .
L o a d t h e m a s t e r d a t a b a s e
N o w t h e o r i g i n a l ’ m a s t e r ’ d a t a b a s e h a s t o b e l o a d e d u s i n g t h e l o a d d a t a b a s e ’ c o m m a n d . T h e A S E h a s
t o b e s t a r t e d i n s i n g l e u s e r m o d e i n o r d e r t o l o a d a d u m p o f t h e m a s t e r d a t a b a s e . T h e b a c k u p s e r v e r
h a s t o b e s t a r t e d , t o o . L o g o n t o t h e A S E s e r v e r , u s i n g i s q l a s u s e r s a ( p a s s w o r d i s e m p t y ) .
E x a m p l e
l o a d d a t a b a s e m a s t e r f r o m ’ / s y b a s e / L E O / b a c k u p s / m a s t e r _ 2 0 1 1 - 0 5 - 1 3 . d m p ’
g o
A S E s h u t s d o w n a u t o m a t i c a l l y a f t e r w a r d s .
R e c r e a t e t e m p o r a r y d a t a b a s e s
B e f o r e y o u r e s t a r t A S E , r e c r e a t e t h e d e v i c e s f o r t h e t e m p o r a r y d a t a b a s e ( s ) . I t i s s u f f i c i e n t t o c r e a t e
t h e d e v i c e ( s ) a s a n e m p t y f i l e i n t h e c o r r e c t l o c a t i o n w i t h c o r r e c t p e r m i s s i o n s ( s y b s y b < s i d > : s a p s y s
6 6 0 ) i n t h e f i l e s y s t e m .
1 0 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 105/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
E x a m p l e
t o u c h / s y b a s e / L E O / s y b t e m p / t e m p d b d e v . d a t
c h m o d 6 6 0 / s y b a s e / L E O / s y b t e m p / t e m p d b d e v . d a t
N o w r e s t a r t A S E , i n m u l t i u s e r m o d e u s i n g t h e s t a n d a r d R N U _ < S E R V E R > f i l e .
E x a m p l e
s t a r t s e r v e r - f . / A S E - 1 5 _ 0 / i n s t a l l / R U N _ L E O
R e c r e a t e a n d l o a d t h e j o b s c h e d u l e r d a t a b a s e s y b m g m t d b
T h e r e l o a d e d m a s t e r d a t a b a s e h a s r e f e r e n c e s t o a l l t h e o t h e r s y s t e m a n d u s e r d a t a b a s e s t h a t e x i s t e d
p r i o r t o t h e r e s t o r e . Y o u n e e d t o r e m o v e a n d r e c r e a t e t h e s e .
E x a m p l e
d r o p d a t a b a s e s y b m g m t d b
g o
T h e n d r o p t h e d e v i c e .
s p _ d r o p d e v i c e s y b m g m t d e v
g o
R e c r e a t e t h e d e v i c e f o r s y b m g m t d b
d i s k i n i t n a m e = ’ s y b m g m t d e v ’ , p h y s n a m e = ’ / s y b a s e / L E O / s y b s y s t e m / s y b m g m t d b . d a t ’ ,
s i z e = ’ 7 5 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
c r e a t e d a t a b a s e s y b m g m t d b o n s y b m g m t d e v = ’ 7 2 M ’
g o
L o a d t h e d u m p o f s y b m g m t d b w i t h t h e l o a d d a t a b a s e c o m m a n d a n d b r i n g i t o n l i n e w i t h t h e o n l i n e
d a t a b a s e c o m m a n d a f t e r w a r d s .
I f y o u d i d n o t p e r f o r m a d u m p o f s y b m g m t d b , y o u c a n r e c r e a t e t h e c o n t e n t s o f s y b m g m t d b w i t h t h e
s c r i p t i n s t a l l j s d b a n d e n a b l e j o b s c h e d u l i n g a g a i n .
E x a m p l e
i s q l - S L E O - U s a p s a - P p a s s w o r d - i A S E - 1 5 _ 0 / s c r i p t s / i n s t a l l j s d b
Y o u h a v e t o e n a b l e j o b s c h e d u l e r b y s e t t i n g t h e c o n f i g u r a t i o n p a r a m e t e r e n a b l e j o b s c h e d u l e r t o 1
a n d s t a r t i n g t h e j o b s c h e d u l e r t a s k s .
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 0 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 106/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
E x a m p l e
s p _ c o n f i g u r e ’ e n a b l e j o b s c h e d u l e r ’ , 1
g o
e x e c s y b m g m t d b . . s p _ s j o b c o n t r o l @ n a m e = N U L L , @ o p t i o n = " s t a r t _ j s "
g o
Y o u w i l l h a v e t o r e c r e a t e a l l y o u r p r e v i o u s l y d e f i n e d j o b s i f y o u u s e d t h e i n s t a l l j s d b s c r i p t t o
r e c r e a t e s y b m g m t d b .
R e c r e a t e s a p t o o l s d a t a b a s e
D r o p t h e n o n - e x i s t i n g s a p t o o l s d a t a b a s e f r o m t h e c a t a l o g a n d i t s d e v i c e s . R e c r e a t e t h e d e v i c e s a n d
t h e d a t a b a s e . T h e n l o a d t h e d a t a b a s e .
E x a m p l e
d r o p d a t a b a s e s a p t o o l s
g o
s p _ d r o p d e v i c e d a t a s a p t o o l s _ 1
g o
s p _ d r o p d e v i c e l o g s a p t o o l s _ 1
g o
d i s k i n i t n a m e = ’ d a t a s a p t o o l s _ 1 ’ , p h y s n a m e = ’ / s y b a s e / L E O / s y b d i a g / d a t a s a p t o o l s _ 1 . d a t ’ ,
s i z e = ’ 2 0 4 8 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
d i s k i n i t n a m e = ’ l o g s a p t o o l s _ 1 ’ , p h y s n a m e = ’ / s y b a s e / L E O / s y b d i a g / l o g s a p t o o l s _ 1 . d a t ’ ,
s i z e = ’ 2 0 0 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
c r e a t e d a t a b a s e s a p t o o l s
o n d a t a s a p t o o l s _ 1 = ’ 2 0 4 8 M ’ - - 1 3 1 0 7 2 p a g e s
l o g o n l o g s a p t o o l s _ 1 = ’ 2 0 0 M ’ - - 1 2 8 0 0 p a g e s
g o
A f t e r t h e d u m p h a s b e e n l o a d e d , y o u n e e d t o b r i n g t h e s a p t o o l s
d a t a b a s e o n l i n e u s i n g t h e c o m m a n d o n l i n e d a t a b a s e .
E x a m p l e
o n l i n e d a t a b a s e s a p t o o l s
g o
L o a d t h e < D B S I D > d a t a b a s e
F i r s t d r o p t h e n o n - e x i s t i n g d a t a b a s e f r o m t h e c a t a l o g . T h e n l o a d t h e m o s t r e c e n t d u m p o f t h e
d a t a b a s e , f o l l o w e d b y a l l d u m p s o f t h e t r a n s a c t i o n l o g y o u e x e c u t e d .
1 0 6 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 107/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
E x a m p l e
d r o p d a t a b a s e L E O 1
g o
s p _ d r o p d e v i c e l o g L E O _ 1
g o
d i s k i n i t n a m e = ’ d a t a L E O _ 1 ’ , p h y s n a m e = ’ / s y b a s e / L E O / s a p d a t a _ 1 / d a t a L E O _ 1 . d a t ’ ,
s i z e = ’ 1 2 8 0 0 0 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
d i s k i n i t n a m e = ’ l o g L E O _ 1 ’ , p h y s n a m e = ’ / s y b a s e / L E O / s a p l o g _ 1 / l o g L E O _ 1 . d a t ’ ,
s i z e = ’ 2 0 4 8 . 0 0 M ’ , d i r e c t i o = ’ t r u e ’
g o
c r e a t e d a t a b a s e L E O O N d a t a L E O _ 1 = ’ 1 2 8 0 0 0 M ’ L O G O N l o g L E O _ 1 = ’ 2 0 4 8 M ’ F O R L O A D g o
I t i s r e c o m m e n d e d t h a t y o u u s e t h e f o r l o a d ’ o p t i o n w h e n r e c r e a t i n g a l a r g e d a t a b a s e , s i n c e i t s p e e d s
u p t h e r e c r e a t i o n o f t h e d a t a b a s e . T h e n l o a d t h e l a t e s t d u m p a v a i l a b l e f o r t h e d a t a b a s e .
E x a m p l e
l o a d d a t a b a s e L E O f r o m ’ / s y b a s e / L E O / b a c k u p s / L E O _ 2 0 1 1 - 0 5 - 1 3 . d m p ’
g o
I f y o u w a n t t o l o a d t r a n s a c t i o n s ( t h a t i s , p e r f o r m a r o l l f o r w a r d o f t r a n s a c t i o n s t h a t t o o k p l a c e a f t e r t h e m o s t r e c e n t d u m p o f t h e d a t a b a s e , d o n ’ t b r i n g t h e d a t a b a s e o n l i n e n o w . L o a d t h e t r a n s a c t i o n d u m p s .
L o a d t r a n s a c t i o n s f o r t h e < D B S I D > d a t a b a s e
A f t e r t h e d u m p h a s b e e n l o a d e d , t h e < D B S I D > d a t a b a s e i s r e a d y t o l o a d t h e d u m p s o f t h e t r a n s a c t i o n
l o g . Y o u h a v e t o l o a d a l l d u m p s i n t h e c o r r e c t s e q u e n c e i n o r d e r t o g e t t h e < D B S I D > d a t a b a s e b a c k
t o t h e p o i n t i n t i m e b e f o r e t h e c r a s h .
E x a m p l e
l o a d t r a n s a c t i o n L E O f r o m
’ / s y b a s e / L E O / l o g _ a r c h i v e s / L E O _ t r a n s _ 2 0 1 1 - 0 5 - 1 4 T 0 0 : 0 0 : 0 3 . d m p ’
g o
R e p e a t t h i s s t e p f o r e a c h d u m p y o u e x e c u t e d . S p e c i f y t h e u n t i l _ t i m e o p t i o n i f y o u d o n ’ t w a n t t o
r o l l f o r w a r d t o a s p e c i f i c p o i n t i n t i m e . A f t e r y o u h a v e f i n i s h e d l o a d i n g t h e t r a n s a c t i o n d u m p s , b r i n g
t h e d a t a b a s e o n l i n e .
E x a m p l e
o n l i n e d a t a b a s e L E O
g o
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 0 7 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 108/116
5 B a c k u p a n d R e c o v e r y
5 . 3 H o w t o R e s t o r e a S y b a s e A S E D a t a b a s e S e r v e r ( U N I X )
R e c o n f i g u r e t h e A S E s e r v e r
T h e A S E c o n f i g u r a t i o n m a y n o t m a t c h y o u r n e e d s n o w . R e v i e w t h e c o n f i g u r a t i o n w i t h r e s p e c t
t o t h e s a v e d c o p y o f y o u r c o n f i g u r a t i o n f i l e . C o p y t h e s a v e d c o n f i g u r a t i o n f i l e t o t h e A S E c o n f i g f i l e a n d r e s t a r t A S E t o m a k e i t a c t i v e . T h e d e f a u l t l o c a t i o n o f A S E ’ s c o n f i g u r a t i o n f i l e i s
$ S Y B A S E / A S E - 1 5 _ 0 / < S A P S I D > . c f g .
1 0 8 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 109/116
A R e f e r e n c e
A R e f e r e n c e
A . 1 T h e M a i n S A P D o c u m e n t a t i o n T y p e s
T h e f o l l o w i n g i s a n o v e r v i e w o f t h e m o s t i m p o r t a n t d o c u m e n t a t i o n t y p e s t h a t y o u n e e d i n t h e
v a r i o u s p h a s e s i n t h e l i f e c y c l e o f S A P s o f t w a r e .
C r o s s - P h a s e D o c u m e n t a t i o n
S A P t e r m i s S A P ’ s t e r m i n o l o g y d a t a b a s e . I t c o n t a i n s S A P - s p e c i f i c v o c a b u l a r y i n o v e r 3 0 l a n g u a g e s , a s w e l l a s m a n y g l o s s a r y e n t r i e s i n E n g l i s h a n d G e r m a n .
n T a r g e t g r o u p :
l R e l e v a n t f o r a l l t a r g e t g r o u p s
n C u r r e n t v e r s i o n :
l O n S A P H e l p P o r t a l a t h t t p : / / h e l p . s a p . c o m G l o s s a r y
l I n t h e S A P s y s t e m i n t r a n s a c t i o n S T E R M
S A P L i b r a r y i s a c o l l e c t i o n o f d o c u m e n t a t i o n f o r S A P s o f t w a r e c o v e r i n g f u n c t i o n s a n d p r o c e s s e s .
n T a r g e t g r o u p :
l C o n s u l t a n t s
l S y s t e m a d m i n i s t r a t o r s
l P r o j e c t t e a m s f o r i m p l e m e n t a t i o n s o r u p g r a d e s
n C u r r e n t v e r s i o n :
l O n S A P H e l p P o r t a l a t h t t p : / / h e l p . s a p . c o m ( a l s o a v a i l a b l e a s d o c u m e n t a t i o n D V D )
T h e s e c u r i t y g u i d e d e s c r i b e s t h e s e t t i n g s f o r a m e d i u m s e c u r i t y l e v e l a n d o f f e r s s u g g e s t i o n s f o r
r a i s i n g s e c u r i t y l e v e l s . A c o l l e c t i v e s e c u r i t y g u i d e i s a v a i l a b l e f o r S A P N e t W e a v e r . T h i s d o c u m e n t
c o n t a i n s g e n e r a l g u i d e l i n e s a n d s u g g e s t i o n s . S A P a p p l i c a t i o n s h a v e a s e c u r i t y g u i d e o f t h e i r o w n .
n T a r g e t g r o u p :
l S y s t e m a d m i n i s t r a t o r s l T e c h n o l o g y c o n s u l t a n t s
l S o l u t i o n c o n s u l t a n t s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / s e c u r i t y g u i d e
I m p l e m e n t a t i o n
T h e m a s t e r g u i d e i s t h e s t a r t i n g p o i n t f o r i m p l e m e n t i n g a n S A P s o l u t i o n . I t l i s t s t h e r e q u i r e d
i n s t a l l a b l e u n i t s f o r e a c h b u s i n e s s o r I T s c e n a r i o . I t p r o v i d e s s c e n a r i o - s p e c i f i c d e s c r i p t i o n s o f
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 0 9 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 110/116
A R e f e r e n c e
A . 1 T h e M a i n S A P D o c u m e n t a t i o n T y p e s
p r e p a r a t i o n , e x e c u t i o n , a n d f o l l o w - u p o f a n i m p l e m e n t a t i o n . I t a l s o p r o v i d e s r e f e r e n c e s t o o t h e r
d o c u m e n t s , s u c h a s i n s t a l l a t i o n g u i d e s , t h e t e c h n i c a l i n f r a s t r u c t u r e g u i d e a n d S A P N o t e s .
n T a r g e t g r o u p :
l T e c h n o l o g y c o n s u l t a n t s
l P r o j e c t t e a m s f o r i m p l e m e n t a t i o n s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
T h e i n s t a l l a t i o n g u i d e d e s c r i b e s t h e t e c h n i c a l i m p l e m e n t a t i o n o f a n i n s t a l l a b l e u n i t , t a k i n g
i n t o a c c o u n t t h e c o m b i n a t i o n s o f o p e r a t i n g s y s t e m s a n d d a t a b a s e s . I t d o e s n o t d e s c r i b e a n y
b u s i n e s s - r e l a t e d c o n f i g u r a t i o n .
n T a r g e t g r o u p :
l T e c h n o l o g y c o n s u l t a n t s
l P r o j e c t t e a m s f o r i m p l e m e n t a t i o n s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
C o n f i g u r a t i o n D o c u m e n t a t i o n i n S A P S o l u t i o n M a n a g e r ‒ S A P S o l u t i o n M a n a g e r i s a l i f e - c y c l e
p l a t f o r m . O n e o f i t s m a i n f u n c t i o n s i s t h e c o n f i g u r a t i o n o f b u s i n e s s s c e n a r i o s , b u s i n e s s p r o c e s s e s ,
a n d i m p l e m e n t a b l e s t e p s . I t c o n t a i n s C u s t o m i z i n g a c t i v i t i e s , t r a n s a c t i o n s , a n d s o o n , a s w e l l a s
d o c u m e n t a t i o n .
n T a r g e t g r o u p :
l T e c h n o l o g y c o n s u l t a n t s
l S o l u t i o n c o n s u l t a n t s
l P r o j e c t t e a m s f o r i m p l e m e n t a t i o n s
n C u r r e n t v e r s i o n :
l I n S A P S o l u t i o n M a n a g e r
T h e I m p l e m e n t a t i o n G u i d e ( I M G ) i s a t o o l f o r c o n f i g u r i n g ( C u s t o m i z i n g ) a s i n g l e S A P s y s t e m .
T h e C u s t o m i z i n g a c t i v i t i e s a n d t h e i r d o c u m e n t a t i o n a r e s t r u c t u r e d f r o m a f u n c t i o n a l p e r s p e c t i v e .
( I n o r d e r t o c o n f i g u r e a w h o l e s y s t e m l a n d s c a p e f r o m a p r o c e s s - o r i e n t e d p e r s p e c t i v e , S A P S o l u t i o n
M a n a g e r , w h i c h r e f e r s t o t h e r e l e v a n t C u s t o m i z i n g a c t i v i t i e s i n t h e i n d i v i d u a l S A P s y s t e m s , i s u s e d . )
n T a r g e t g r o u p :
l S o l u t i o n c o n s u l t a n t s
l P r o j e c t t e a m s f o r i m p l e m e n t a t i o n s o r u p g r a d e s
n C u r r e n t v e r s i o n :
l I n t h e S A P m e n u o f t h e S A P s y s t e m u n d e r T o o l s C u s t o m i z i n g I M G
P r o d u c t i o n O p e r a t i o n
T h e t e c h n i c a l o p e r a t i o n s m a n u a l i s t h e s t a r t i n g p o i n t f o r o p e r a t i n g a s y s t e m t h a t r u n s o n S A P
N e t W e a v e r , a n d p r e c e d e s t h e a p p l i c a t i o n o p e r a t i o n s g u i d e s o f S A P B u s i n e s s S u i t e . T h e m a n u a l r e f e r s
1 1 0 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 111/116
A R e f e r e n c e
A . 1 T h e M a i n S A P D o c u m e n t a t i o n T y p e s
u s e r s t o t h e t o o l s a n d d o c u m e n t a t i o n t h a t a r e n e e d e d t o c a r r y o u t v a r i o u s t a s k s , s u c h a s m o n i t o r i n g ,
b a c k u p / r e s t o r e , m a s t e r d a t a m a i n t e n a n c e , t r a n s p o r t s , a n d t e s t s .
n T a r g e t g r o u p :
l S y s t e m a d m i n i s t r a t o r s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
T h e a p p l i c a t i o n o p e r a t i o n s g u i d e i s u s e d f o r o p e r a t i n g a n S A P a p p l i c a t i o n o n c e a l l t a s k s i n t h e
t e c h n i c a l o p e r a t i o n s m a n u a l h a v e b e e n c o m p l e t e d . I t r e f e r s u s e r s t o t h e t o o l s a n d d o c u m e n t a t i o n
t h a t a r e n e e d e d t o c a r r y o u t t h e v a r i o u s o p e r a t i o n s - r e l a t e d t a s k s .
n T a r g e t g r o u p :
l S y s t e m a d m i n i s t r a t o r s
l T e c h n o l o g y c o n s u l t a n t s
l S o l u t i o n c o n s u l t a n t s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
U p g r a d e
T h e u p g r a d e m a s t e r g u i d e i s t h e s t a r t i n g p o i n t f o r u p g r a d i n g t h e b u s i n e s s s c e n a r i o s a n d p r o c e s s e s o f
a n S A P s o l u t i o n . I t p r o v i d e s s c e n a r i o - s p e c i f i c d e s c r i p t i o n s o f p r e p a r a t i o n , e x e c u t i o n , a n d f o l l o w - u p o f
a n u p g r a d e . I t a l s o r e f e r s t o o t h e r d o c u m e n t s , s u c h a s u p g r a d e g u i d e s a n d S A P N o t e s .
n T a r g e t g r o u p :
l T e c h n o l o g y c o n s u l t a n t s
l P r o j e c t t e a m s f o r u p g r a d e s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
T h e u p g r a d e g u i d e d e s c r i b e s t h e t e c h n i c a l u p g r a d e o f a n i n s t a l l a b l e u n i t , t a k i n g i n t o a c c o u n t
t h e c o m b i n a t i o n s o f o p e r a t i n g s y s t e m s a n d d a t a b a s e s . I t d o e s n o t d e s c r i b e a n y b u s i n e s s - r e l a t e d
c o n f i g u r a t i o n .
n T a r g e t g r o u p :
l T e c h n o l o g y c o n s u l t a n t s
l P r o j e c t t e a m s f o r u p g r a d e s
n C u r r e n t v e r s i o n :
l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
R e l e a s e n o t e s a r e d o c u m e n t s t h a t c o n t a i n s h o r t d e s c r i p t i o n s o f n e w f e a t u r e s i n a p a r t i c u l a r r e l e a s e
o r c h a n g e s t o e x i s t i n g f e a t u r e s s i n c e t h e p r e v i o u s r e l e a s e . R e l e a s e n o t e s a b o u t A B A P d e v e l o p m e n t s
a r e t h e t e c h n i c a l p r e r e q u i s i t e f o r g e n e r a t i n g d e l t a a n d u p g r a d e C u s t o m i z i n g i n t h e I m p l e m e n t a t i o n
G u i d e ( I M G ) .
n T a r g e t g r o u p :
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 1 1 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 112/116
A R e f e r e n c e
A . 1 T h e M a i n S A P D o c u m e n t a t i o n T y p e s
l C o n s u l t a n t s
l P r o j e c t t e a m s f o r u p g r a d e s
n C u r r e n t v e r s i o n : l O n S A P S e r v i c e M a r k e t p l a c e a t h t t p : / / s e r v i c e . s a p . c o m / r e l e a s e n o t e s
l I n t h e S A P m e n u o f t h e S A P s y s t e m u n d e r H e l p R e l e a s e N o t e s ( o n l y A B A P d e v e l o p m e n t s )
1 1 2 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 113/116
T y p o g r a p h i c C o n v e n t i o n s
E x a m p l e D e s c r i p t i o n
< E x a m p l e > A n g l e b r a c k e t s i n d i c a t e t h a t y o u r e p l a c e t h e s e w o r d s o r c h a r a c t e r s w i t h a p p r o p r i a t e e n t r i e s t o m a k e e n t r i e s i n t h e s y s t e m , f o r e x a m p l e , “ E n t e r y o u r < U s e r N a m e > ” .
E x a m p l e E x a m p l e
A r r o w s s e p a r a t i n g t h e p a r t s o f a n a v i g a t i o n p a t h , f o r e x a m p l e , m e n u o p t i o n s
E x a m p l e E m p h a s i z e d w o r d s o r e x p r e s s i o n s
E x a m p l e W o r d s o r c h a r a c t e r s t h a t y o u e n t e r i n t h e s y s t e m e x a c t l y a s t h e y a p p e a r i n t h e d o c u m e n t a t i o n
h t t p : / / w w w . s a p . c o m T e x t u a l c r o s s - r e f e r e n c e s t o a n i n t e r n e t a d d r e s s
/ e x a m p l e Q u i c k l i n k s a d d e d t o t h e i n t e r n e t a d d r e s s o f a h o m e p a g e t o e n a b l e q u i c k a c c e s s t o s p e c i f i c c o n t e n t o n t h e W e b
1 2 3 4 5 6 H y p e r l i n k t o a n S A P N o t e , f o r e x a m p l e , S A P N o t e 1 2 3 4 5 6
E x a m p l e n W o r d s o r c h a r a c t e r s q u o t e d f r o m t h e s c r e e n . T h e s e i n c l u d e f i e l d l a b e l s , s c r e e n t i t l e s , p u s h b u t t o n l a b e l s , m e n u n a m e s , a n d m e n u o p t i o n s .
n C r o s s - r e f e r e n c e s t o o t h e r d o c u m e n t a t i o n o r p u b l i s h e d w o r k s
E x a m p l e n O u t p u t o n t h e s c r e e n f o l l o w i n g a u s e r a c t i o n , f o r e x a m p l e , m e s s a g e s
n S o u r c e c o d e o r s y n t a x q u o t e d d i r e c t l y f r o m a p r o g r a m
n F i l e a n d d i r e c t o r y n a m e s a n d t h e i r p a t h s , n a m e s o f v a r i a b l e s a n d p a r a m e t e r s , a n d n a m e s o f i n s t a l l a t i o n , u p g r a d e , a n d d a t a b a s e t o o l s
E X A M P L E T e c h n i c a l n a m e s o f s y s t e m o b j e c t s . T h e s e i n c l u d e r e p o r t n a m e s , p r o g r a m n a m e s , t r a n s a c t i o n c o d e s , d a t a b a s e t a b l e n a m e s , a n d k e y c o n c e p t s o f a p r o g r a m m i n g l a n g u a g e w h e n t h e y a r e s u r r o u n d e d b y b o d y t e x t , f o r e x a m p l e , S E L E C T a n d I N C L U D E
E X A M P L E K e y s o n t h e k e y b o a r d
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 1 3 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 114/116
S A P A G D i e t m a r - H o p p - A l l e e 1 6
6 9 1 9 0 W a l l d o r f
G e r m a n y T + 4 9 / 1 8 0 5 / 3 4 3 4 3 4 F + 4 9 / 1 8 0 5 / 3 4 3 4 2 0
w w w . s a p . c o m
© C o p y r i g h t 2 0 1 2 S A P A G . A l l r i g h t s r e s e r v e d .
N o p a r t o f t h i s p u b l i c a t i o n m a y b e r e p r o d u c e d o r t r a n s m i t t e d i n a n y f o r m o r f o r a n y p u r p o s e w i t h o u t t h e e x p r e s s p e r m i s s i o n
o f S A P A G . T h e i n f o r m a t i o n c o n t a i n e d h e r e i n m a y b e c h a n g e d w i t h o u t p r i o r n o t i c e .
S o m e s o f t w a r e p r o d u c t s m a r k e t e d b y S A P A G a n d i t s d i s t r i b u t o r s c o n t a i n p r o p r i e t a r y s o f t w a r e c o m p o n e n t s o f o t h e r s o f t w a r e v e n d o r s .
M i c r o s o f t , W i n d o w s , E x c e l , O u t l o o k , P o w e r P o i n t , S i l v e r l i g h t , a n d V i s u a l S t u d i o a r e r e g i s t e r e d t r a d e m a r k s o f M i c r o s o f t
C o r p o r a t i o n .
I B M , D B 2 , D B 2 U n i v e r s a l D a t a b a s e , S y s t e m i , S y s t e m i 5 , S y s t e m p , S y s t e m p 5 , S y s t e m x , S y s t e m z , S y s t e m z 1 0 , z 1 0 , z / V M ,
z / O S , O S / 3 9 0 , z E n t e r p r i s e , P o w e r V M , P o w e r A r c h i t e c t u r e , P o w e r S y s t e m s , P O W E R 7 , P O W E R 6 + , P O W E R 6 , P O W E R , P o w e r H A ,
p u r e S c a l e , P o w e r P C , B l a d e C e n t e r , S y s t e m S t o r a g e , S t o r w i z e , X I V , G P F S , H A C M P , R E T A I N , D B 2 C o n n e c t , R A C F , R e d b o o k s ,
O S / 2 , A I X , I n t e l l i g e n t M i n e r , W e b S p h e r e , T i v o l i , I n f o r m i x , a n d S m a r t e r P l a n e t a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f
I B M C o r p o r a t i o n .
L i n u x i s t h e r e g i s t e r e d t r a d e m a r k o f L i n u s T o r v a l d s i n t h e U n i t e d S t a t e s a n d o t h e r c o u n t r i e s .
A d o b e , t h e A d o b e l o g o , A c r o b a t , P o s t S c r i p t , a n d R e a d e r a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f A d o b e S y s t e m s
I n c o r p o r a t e d i n t h e U n i t e d S t a t e s a n d o t h e r c o u n t r i e s .
O r a c l e a n d J a v a a r e r e g i s t e r e d t r a d e m a r k s o f O r a c l e a n d i t s a f f i l i a t e s . U N I X , X / O p e n , O S F / 1 , a n d M o t i f a r e r e g i s t e r e d t r a d e m a r k s o f t h e O p e n G r o u p .
C i t r i x , I C A , P r o g r a m N e i g h b o r h o o d , M e t a F r a m e , W i n F r a m e , V i d e o F r a m e , a n d M u l t i W i n a r e t r a d e m a r k s o r r e g i s t e r e d
t r a d e m a r k s o f C i t r i x S y s t e m s I n c .
H T M L , X M L , X H T M L , a n d W 3 C a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f W 3 C ® , W o r l d W i d e W e b C o n s o r t i u m ,
M a s s a c h u s e t t s I n s t i t u t e o f T e c h n o l o g y .
A p p l e , A p p S t o r e , i B o o k s , i P a d , i P h o n e , i P h o t o , i P o d , i T u n e s , M u l t i - T o u c h , O b j e c t i v e - C , R e t i n a , S a f a r i , S i r i , a n d X c o d e a r e
t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f A p p l e I n c .
I O S i s a r e g i s t e r e d t r a d e m a r k o f C i s c o S y s t e m s I n c .
R I M , B l a c k B e r r y , B B M , B l a c k B e r r y C u r v e , B l a c k B e r r y B o l d , B l a c k B e r r y P e a r l , B l a c k B e r r y T o r c h , B l a c k B e r r y S t o r m ,
B l a c k B e r r y S t o r m 2 , B l a c k B e r r y P l a y B o o k , a n d B l a c k B e r r y A p p W o r l d a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f R e s e a r c h
i n M o t i o n L i m i t e d .
G o o g l e A p p E n g i n e , G o o g l e A p p s , G o o g l e C h e c k o u t , G o o g l e D a t a A P I , G o o g l e M a p s , G o o g l e M o b i l e A d s , G o o g l e M o b i l e
U p d a t e r , G o o g l e M o b i l e , G o o g l e S t o r e , G o o g l e S y n c , G o o g l e U p d a t e r , G o o g l e V o i c e , G o o g l e M a i l , G m a i l , Y o u T u b e , D a l v i k
a n d A n d r o i d a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f G o o g l e I n c .
I N T E R M E C i s a r e g i s t e r e d t r a d e m a r k o f I n t e r m e c T e c h n o l o g i e s C o r p o r a t i o n .
W i - F i i s a r e g i s t e r e d t r a d e m a r k o f W i - F i A l l i a n c e .
B l u e t o o t h i s a r e g i s t e r e d t r a d e m a r k o f B l u e t o o t h S I G I n c .
M o t o r o l a i s a r e g i s t e r e d t r a d e m a r k o f M o t o r o l a T r a d e m a r k H o l d i n g s L L C .
C o m p u t o p i s a r e g i s t e r e d t r a d e m a r k o f C o m p u t o p W i r t s c h a f t s i n f o r m a t i k G m b H .
S A P , R / 3 , S A P N e t W e a v e r , D u e t , P a r t n e r E d g e , B y D e s i g n , S A P B u s i n e s s O b j e c t s E x p l o r e r , S t r e a m W o r k , S A P H A N A , a n d o t h e r
S A P p r o d u c t s a n d s e r v i c e s m e n t i o n e d h e r e i n a s w e l l a s t h e i r r e s p e c t i v e l o g o s a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s
o f S A P A G i n G e r m a n y a n d o t h e r c o u n t r i e s .
1 1 4 / 1 1 6 P U B L I C 1 2 / 1 8 / 2 0 1 2
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 115/116
B u s i n e s s O b j e c t s a n d t h e B u s i n e s s O b j e c t s l o g o , B u s i n e s s O b j e c t s , C r y s t a l R e p o r t s , C r y s t a l D e c i s i o n s , W e b I n t e l l i g e n c e ,
X c e l s i u s , a n d o t h e r B u s i n e s s O b j e c t s p r o d u c t s a n d s e r v i c e s m e n t i o n e d h e r e i n a s w e l l a s t h e i r r e s p e c t i v e l o g o s a r e t r a d e m a r k s
o r r e g i s t e r e d t r a d e m a r k s o f B u s i n e s s O b j e c t s S o f t w a r e L t d . B u s i n e s s O b j e c t s i s a n S A P c o m p a n y . S y b a s e a n d A d a p t i v e S e r v e r , i A n y w h e r e , S y b a s e 3 6 5 , S Q L A n y w h e r e , a n d o t h e r S y b a s e p r o d u c t s a n d s e r v i c e s m e n t i o n e d
h e r e i n a s w e l l a s t h e i r r e s p e c t i v e l o g o s a r e t r a d e m a r k s o r r e g i s t e r e d t r a d e m a r k s o f S y b a s e I n c . S y b a s e i s a n S A P c o m p a n y .
C r o s s g a t e , m @ g i c E D D Y , B 2 B 3 6 0 ° , a n d B 2 B 3 6 0 ° S e r v i c e s a r e r e g i s t e r e d t r a d e m a r k s o f C r o s s g a t e A G i n G e r m a n y a n d
o t h e r c o u n t r i e s . C r o s s g a t e i s a n S A P c o m p a n y .
A l l o t h e r p r o d u c t a n d s e r v i c e n a m e s m e n t i o n e d a r e t h e t r a d e m a r k s o f t h e i r r e s p e c t i v e c o m p a n i e s . D a t a c o n t a i n e d i n t h i s
d o c u m e n t s e r v e s i n f o r m a t i o n a l p u r p o s e s o n l y . N a t i o n a l p r o d u c t s p e c i f i c a t i o n s m a y v a r y .
T h e s e m a t e r i a l s a r e s u b j e c t t o c h a n g e w i t h o u t n o t i c e . T h e s e m a t e r i a l s a r e p r o v i d e d b y S A P A G a n d i t s a f f i l i a t e d c o m p a n i e s
( “ S A P G r o u p ” ) f o r i n f o r m a t i o n a l p u r p o s e s o n l y , w i t h o u t r e p r e s e n t a t i o n o r w a r r a n t y o f a n y k i n d , a n d S A P G r o u p s h a l l n o t
b e l i a b l e f o r e r r o r s o r o m i s s i o n s w i t h r e s p e c t t o t h e m a t e r i a l s . T h e o n l y w a r r a n t i e s f o r S A P G r o u p p r o d u c t s a n d s e r v i c e s a r e
t h o s e t h a t a r e s e t f o r t h i n t h e e x p r e s s w a r r a n t y s t a t e m e n t s a c c o m p a n y i n g s u c h p r o d u c t s a n d s e r v i c e s , i f a n y . N o t h i n g h e r e i n
s h o u l d b e c o n s t r u e d a s c o n s t i t u t i n g a n a d d i t i o n a l w a r r a n t y .
T h i s d o c u m e n t w a s c r e a t e d u s i n g s t y l e s h e e t 2 0 0 7 - 1 2 - 1 0 ( V 7 . 2 ) / X S L - F O : V 5 . 1 G a m m a a n d X S L T p r o c e s s o r S A X O N 6 . 5 . 2 f r o m M i c h a e l K a y ( h t t p : / / s a x o n . s f . n e t / ) , X S L T v e r s i o n 1 .
D i s c l a i m e r
S o m e c o m p o n e n t s o f t h i s p r o d u c t a r e b a s e d o n J a v a ™ . A n y c o d e c h a n g e i n t h e s e c o m p o n e n t s m a y c a u s e u n p r e d i c t a b l e a n d
s e v e r e m a l f u n c t i o n s a n d i s t h e r e f o r e e x p r e s s l y p r o h i b i t e d , a s i s a n y d e c o m p i l a t i o n o f t h e s e c o m p o n e n t s .
A n y J a v a ™ S o u r c e C o d e d e l i v e r e d w i t h t h i s p r o d u c t i s o n l y t o b e u s e d b y S A P ’ s S u p p o r t S e r v i c e s a n d m a y n o t b e m o d i f i e d o r
a l t e r e d i n a n y w a y .
D o c u m e n t a t i o n i n t h e S A P S e r v i c e M a r k e t p l a c e
Y o u c a n f i n d t h i s d o c u m e n t a t t h e f o l l o w i n g a d d r e s s : h t t p : / / s e r v i c e . s a p . c o m / i n s t g u i d e s
1 2 / 1 8 / 2 0 1 2 P U B L I C 1 1 5 / 1 1 6
7/21/2019 Guide DBA Sybase
http://slidepdf.com/reader/full/guide-dba-sybase 116/116
S A P A G D i e t m a r - H o p p - A l l e e 1 6 6 9 1 9 0 W a l l d o r f G e r m a n y T + 4 9 / 1 8 0 5 / 3 4 3 4 3 4 F + 4 9 / 1 8 0 5 / 3 4 3 4 2 0 w w w . s a p . c o m