Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 HTTP /1.1 Server Too Busy error
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 January 2001 :  08:04:32  Show Profile  Visit HuwR's Homepage
Ok, go through your queries and make a list of which fields are referenced in the where clauses.

You can then create indexes on these fields by doing

CREATE [CLUSTERED | NONCLUSTERED] INDEX index_name ON table (column [,...n])


'Resistance is futile'
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 24 January 2001 :  08:06:07  Show Profile  Visit Kat's Homepage
could take a while.. is that for every page?

KatsKorner
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 January 2001 :  08:15:59  Show Profile  Visit HuwR's Homepage
It is worth checking them all.

If you look in inc_create_forum_SQL.asp, you will see a large section containing the create statements for the existing indexes, so obviously you do not need to index these fields. (they are mainly the ID fields), but anything else you use in a where clause in query that is executed many times will benefit from an index. As long as you don't end up indexing all the fields.

'Resistance is futile'
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 January 2001 :  08:18:07  Show Profile  Visit HuwR's Homepage
On a side note, a good way of checking is to paste your wuery into query analyzer, it will tell you the number os steps it performed to get the result set, large numbers of steps geberaly indicates you need an index.

'Resistance is futile'
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 24 January 2001 :  08:27:20  Show Profile  Visit Kat's Homepage
ok i shall play more.. thanks..

KatsKorner
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 22 March 2001 :  05:45:40  Show Profile  Visit Kat's Homepage
Still having this problem:

started a new thread here: http://forum.snitz.com/forum/link.asp?TOPIC_ID=6819

KatsKorner
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07