Use 'set showplan on' to capture the query plans, and 'set statistics io on' to determine the amount of I/O each statement takes. Another approach is to use the MDA tables to get similar information, for that, see
www.sypron.nl/mda.
HTH,
Rob V.
-----------------------------------------------------------------
Rob Verschoor
Certified Professional DBA for Sybase ASE, IQ, Replication Server
Author of Sybase books (order online at
www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase IQ Quick Reference Guide"
"The Complete Sybase ASE Quick Reference Guide"
"The Complete Sybase Replication Server Quick Reference Guide"
r...@sypron.nl |
www.sypron.nl | Twitter: @rob_verschoor
Sypron B.V., The Netherlands | Chamber of Commerce 27138666
-----------------------------------------------------------------