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

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Search Function
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

sr_erick
Senior Member

USA
1318 Posts

Posted - 27 October 2003 :  18:04:35  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Just curious. Is there any way to limit it's cpu usage? This is on MSSQL 2000. Thanks.




Erick
Snowmobile Fanatics

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 October 2003 :  04:00:53  Show Profile  Visit HuwR's Homepage
No, but then it shouldn't really be using any more cpu than the rest of the forum.

are you referring to dllhosts cpu usage or the sql servers?
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 28 October 2003 :  08:44:09  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
SQL Server. Whenever someone does a search it maxes out the CPU on it for the length of the search.




Erick
Snowmobile Fanatics

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 October 2003 :  09:07:03  Show Profile  Visit HuwR's Homepage
what sort of spec ram/cpu is your sql server ? is it on the same machine as IIS, this is not normal behaviour, my sql server never gets maxed at 100% and it is running a lot of databases, many of them snitz forums.
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 28 October 2003 :  15:52:20  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
1.2 gHz Pentium III dedicated SQL server. 2 gb's of RAM. My database is about the only thing on it right now that uses it. IIS is on another machine.




Erick
Snowmobile Fanatics

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 October 2003 :  17:04:40  Show Profile  Visit HuwR's Homepage
not sure then, it certainly shouldn't use that kind of cpu useage, have you tried running the sql profiler to see if adding any indexes helps.
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 28 October 2003 :  17:29:37  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
No, you can do that from the Management Console? I will give it a try tonight.




Erick
Snowmobile Fanatics

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 October 2003 :  19:41:25  Show Profile  Visit HuwR's Homepage
yes, basically you need to leave a trace running for several hours and save it to a file, you can then load the file into the profiler and see what it says.
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 28 October 2003 :  20:36:30  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
What do I need to log for specifically? Just transactions?




Erick
Snowmobile Fanatics


Edited by - sr_erick on 28 October 2003 20:37:47
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 29 October 2003 :  02:22:22  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Well I ran it for about an hour and a half but the collection file filled up too quick. I am going to limit it to only the things I really need tommorow night and do it again. I did the profiler thing and selected which tables I wanted it to examine and it told me something about a 22% speed improvement form the information that was collected. I applied the new indexes. Is this something I should be running on like say a weekly basis? Either way, I will give it another whirl tommorow night for about a 6 hour period and see what happens.




Erick
Snowmobile Fanatics


Edited by - sr_erick on 29 October 2003 02:29:59
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 29 October 2003 :  03:32:09  Show Profile  Visit HuwR's Homepage
once it has been put through the profiler a few times, you shouldn't need to do it again, howvere, depending on the 'fill factor' used when creating the indexes, you should re-index your topic/reply tables every now and then.
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 29 October 2003 :  09:20:30  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
huw is this something that should be done on most forms of re-indexing the topic/reply?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 29 October 2003 :  11:52:00  Show Profile  Visit HuwR's Homepage
if your post count rises at a fairly high rate (not just one or two a day) then yes it is a good idea
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 29 October 2003 :  11:56:51  Show Profile
Someone (I think ruirib ?) did a search.asp page mod specifically for Sql Server that performs alot better, try a search

The UK MkIVs Forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 October 2003 :  11:59:13  Show Profile  Send ruirib a Yahoo! Message
Yep, I did. Here is the link: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=42411


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 29 October 2003 :  12:39:10  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Interesting...I thought I tried this one before but it didn't make any difference at all. Now when I test it, there was a big difference. From one search on the old it was 17.92 seconds with a much more broad results listing, two pages. With the new one and the exact same search terms it was 8.2 seconds with must more narrowed results, under one page. I think the re-indexing in combination with this new search helped. I am going to re-index a couple more times and call it good for now.




Erick
Snowmobile Fanatics


Edited by - sr_erick on 29 October 2003 12:44:14
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next 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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07