dbTalk Databases Forums  

odd performance

comp.databases.sybase comp.databases.sybase


Discuss odd performance in the comp.databases.sybase forum.



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

Default odd performance - 07-02-2003 , 11:15 PM






<<x-no-archive: yes>>

I have an application that talks to Sybase via garden variety SQL.
The database is medium to large sized.

When I run a particular query, it usually takes about 60 seconds
to retrieve about 5000 rows. For the most part, its consistently
around 60 seconds. However, the *same* query occasionally can take
up to 20 min during various parts of the day. When I run sp_who,
I only see about 100 users connected but with only 4 or 5 users
doing selects or inserts.

Anyone have any ideas what's going on? Its weird.

Frank
+=========================================+
Quote:
Crossroads Technologies Inc. |
Enterprise Java Engineering |
Web: www.CrossroadsTech dot com |
Email: fgreco @ crossroadstech dot com |
+=========================================+


Reply With Quote
  #2  
Old   
Anthony Mandic
 
Posts: n/a

Default Re: odd performance - 07-03-2003 , 12:12 AM






"Frank D. Greco" wrote:
Quote:
x-no-archive: yes
Sorry, but that's not going to work.

Quote:
I have an application that talks to Sybase via garden variety SQL.
The database is medium to large sized.

When I run a particular query, it usually takes about 60 seconds
to retrieve about 5000 rows. For the most part, its consistently
around 60 seconds. However, the *same* query occasionally can take
up to 20 min during various parts of the day. When I run sp_who,
I only see about 100 users connected but with only 4 or 5 users
doing selects or inserts.

Anyone have any ideas what's going on? Its weird.
Assuming that by "Sybase" you mean a version of ASE, you
could look at the query's showplan to see what's going on.
It looks like it might be table scanning or there's some
resource contention going on (does sp_who show it as being
blocked when its slow?).

-am © 2003


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.