dbTalk Databases Forums  

Sybase dba daily

comp.databases.sybase comp.databases.sybase


Discuss Sybase dba daily in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank
 
Posts: n/a

Default Sybase dba daily - 04-23-2004 , 04:47 AM






Coming from Oracle background:

How do you carry thiese admin tasks in Sybase Environment :

Check instance availability
Check listener availability
Check alert log files for error messages
Clean up old log files before log destination gets filled
Analyze tables and indexes for better performance
Check tablespace usage
Find out invalid objects
Monitor users and transactions


Thanks for help.

Reply With Quote
  #2  
Old   
Bruno
 
Posts: n/a

Default Re: Sybase dba daily - 05-05-2004 , 04:20 AM






soal6570 (AT) yahoo (DOT) com (Frank) wrote in message news:<42601b2.0404230147.2a014f5f (AT) posting (DOT) google.com>...
Quote:
Coming from Oracle background:

How do you carry thiese admin tasks in Sybase Environment :

Check instance availability
Check listener availability
Check alert log files for error messages
Clean up old log files before log destination gets filled
Analyze tables and indexes for better performance
Check tablespace usage
Find out invalid objects
Monitor users and transactions


Thanks for help.
Hi, it's a long time ago I used Oracle, but I remember some of the
differences.

Quote:
Check instance availability
Check listener availability
If I remember, instances and listerner are separate processes in
Oracle, Sybase includes all of them in a single multithread process,
so the kernel and network listeners are included in the single Sybase
service.

Quote:
Check alert log files for error messages
The errorlog of Sybase is usualy located under
$SYBASE\ASE-12_5\install\errorlog and it's a ascii file that can be
scanned for errors or warnings

Quote:
Analyze tables and indexes for better performance
Many commands and stored procedures exist to improve performance
1. ALL page, Data page, Row locking (at create or alter table)
2. Update statistics , sp_modifystats, optdiag (to help query
optimizer)
3. sp_object_stats (contention, deadlock .. stats on objects)
4. sp_showplan (to understand the usage of the indexes)
this is not an exhaustive list

Quote:
Check tablespace usage
This concept doesn't exist in Sybase, the max size of an object is the
database it self, the extends are automatic, you don't have to handle
them
sp_spaceused gives you an idea of the size of a table (and his
indexes)

Quote:
Monitor users and transactions
use sp_who, sp_lock, sp_familylock and kill to monitor them

Hope this small resume helps,

sorry for
Quote:
Find out invalid objects
Clean up old log files before log destination gets filled
I don't know what you mean about that.

Cheers, from belgium


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.