Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Perf: Request Good Book

Status
Not open for further replies.

Onyxpurr

Programmer
Feb 24, 2003
476
US
I am not entirely new to SQL, however in my new position I access as/400 tables through SQL query analyzer. Sometimes, I query directly through the as/400, but there a few issues such as limits on what I can do with the data and it dropping signs from my currency fields. (If my query has anything to do with currency, I have to use SQL)

When I first started my position, the queries did not seem long to take running. However, now it's like pulling teeth sometimes.

As far as I know, there are no indexes on any of the columns, and there is not likely to be anytime too soon (3rd party software). I have tables ranging from 70,000 to 3 million records. And sometimes I have to join on fields that are packed (which seems to slow down to the point of dripping molasses.)

Anyway, I have picked up a few hints (limit columns and rows queried, etc...)

So anyway, bottom line...does anyone have any books they can suggest that are really good at tweaking query/stored proc. performance? Or if not, have any suggestions??

It would be gladly appreciated!!
 
Take a look at these FAQs.

SQL Server 2000 Operations Guide FAQ183-1062

SQL Websites FAQ183-513

What are SQL Books Online & Where Can I Find Them? FAQ183-689

What Help is Available on the Microsoft Technet Website? FAQ183-718

Where can I find training/tutorials for SQL and T-SQL? FAQ183-694

-Karl

[red] Cursors, triggers, user-defined functions and dynamic SQL are an axis of evil![/red]
[green]Life's uncertain...eat dessert first...www.deerfieldbakery.com[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top