Unix Technical Forum

odd performance

This is a discussion on odd performance within the Sybase forums, part of the Database Server Software category; --> <<x-no-archive: yes>> I have an application that talks to Sybase via garden variety SQL. The database is medium to ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:40 PM
Frank D. Greco
 
Posts: n/a
Default odd performance

<<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
+=========================================+
| Crossroads Technologies Inc. |
| Enterprise Java Engineering |
| Web: www.CrossroadsTech dot com |
| Email: fgreco @ crossroadstech dot com |
+=========================================+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:40 PM
Anthony Mandic
 
Posts: n/a
Default Re: odd performance

"Frank D. Greco" wrote:
>
> <<x-no-archive: yes>>


Sorry, but that's not going to work.

> 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com