Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Sybase Views & Performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-03, 10:38
nwoolley nwoolley is offline
Registered User
 
Join Date: Feb 2003
Location: London
Posts: 3
Sybase Views & Performance

I need a question answering about views in Sybase. I have to increase performance on a view that currently pulls data from one main table with joins to other satelite tables. It only pulls 200K rows but even the select count (*) from view takes 12 seconds. I am the only user at the moment as I am doing the development in the dev environment so I need to tune the view's select statement. The view is to be used as a bunch of objects for a Business Objects Universe. Any tips on the tuning of views or selects in general would be most welcome.
Reply With Quote
  #2 (permalink)  
Old 02-22-03, 11:18
MattR MattR is offline
Registered User
 
Join Date: Mar 2001
Location: Lexington, KY
Posts: 606
What is the query plan for the queries you are running?

Views are nothing but SQL statements, so there is nothing to tune outside of the SQL.
__________________
Thanks,

Matt
Reply With Quote
  #3 (permalink)  
Old 02-22-03, 12:39
nwoolley nwoolley is offline
Registered User
 
Join Date: Feb 2003
Location: London
Posts: 3
Quote:
Originally posted by MattR
What is the query plan for the queries you are running?

I am not at work at the moment so I cannot tell you

Views are nothing but SQL statements, so there is nothing to tune outside of the SQL.


I know that they are just SQL statements, I was looking for more general tips on performance enhancement.
Reply With Quote
  #4 (permalink)  
Old 02-24-03, 09:31
nwoolley nwoolley is offline
Registered User
 
Join Date: Feb 2003
Location: London
Posts: 3
Cool

I have sorted it now I put a new part in the where clause that uses the key on the source table and all is well.......]
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On