PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Rick Nicoletti <rickn at mpi dot com>
Subject: dbsetopt in DBD::Sybase
Date: Jun 21 1999 3:33PM

Hi all, I was wondering if anyone knew how to turn on statistics
io in DBD::Sybase.

For instance, using Sybase::DBlib I can turn on statistics io by:
    $dbh->dbsetopt(&DBSTAT, "IO");
and then capture the text in the message handler.

I'd like to turn on statistics io using DBI/DBD::Sybase (and capture
the statistics text separately from normal row data), but I can't 
figure out how.  I tried:
    $dbi_handle->do("set statistics io on");
but that seemed to confuse later fetches.

Anyone have any ideas?

-Rick Nicoletti