SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Turbo Performance


SQL Turbo Performance

Author
Message
Chris Nicholas
Chris Nicholas
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 1

Has anyone had issues with the SQL Turbo built in stored procedures having slow performance?

We are trying to page the top 2000 results. Here is the general query I am passing into the server:

declare @sql varchar(5000)

select @sql = '
SELECT top 2000 pl.id
FROM dbo.business (nolock)
JOIN dbo.listings l (nolock) on l.businessid = business.businessid
JOIN dbo.nearby n WITH (Nolock) on l.ZIPID = n.NearbyZIPID
WHERE {business_idx=$''STERILIZES''}
AND (n.zipid = 16814) '

exec tdbExecuteReturnPageL @sql, 3, 20
GO

The tables are business, listing (locations of a a business), and nearby (a list of local zipcodes). We have horrible response times when the number of users increases. Also, the results per page vary - sometimes we get all 20 for the page, other times, only 5 records are returned!

Is there any issue with the statement or how we are going about this?

Thanks,
Nick


Jo Pattyn
Jo Pattyn
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6763 Visits: 10009

I'm not sure what {business_idx=$''STERILIZES''} does.

The query looks fine if there are indexes on businessid, ZIPID.

What does exec tdbExecuteReturnPageL @sql, 3, 20 ?


Chris Nicholas
Chris Nicholas
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 Visits: 1

Yes, there are indexes on both.

The strange text is SQL Turbo related code - what they say to use - to find anything in the index that is like "sterilizes". I could have anything in the search word - right now I've hardcoded it.

tdbExecuteReturnPageL is the SQL Turbo provided stored procedure for returning paged results.


Mark Holmes
Mark Holmes
SSC Rookie
SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)

Group: General Forum Members
Points: 26 Visits: 3

Quest Software SQL Turbo is for full text searches. From Quest's website "SQL Turbo is a revolutionary new software tool which dramatically increases the speed of SQL Server's free text retrieval."

I would be nearly impossible for us to determine what is going on inside their stored procedures. You should contact the vendor for help.


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search