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
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

redbrad0
Advanced Member

USA
3725 Posts

Posted - 29 October 2003 :  12:40:42  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Wow big difference, but your results in half. I had to use the SQL Search page for someone because the page was timing out. The SQL Search page is great.

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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 October 2003 :  12:50:42  Show Profile  Send ruirib a Yahoo! Message
Glad you guys like it . It was fun seeing how much it improved the performance of the original file. Of course, it only works for SQL Server (though probably it could work for Access as well), but I had more liberty than the original developers, who have to make it work with MySQL as well (and I am MySQL free !).


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

Jeepaholic
Average Member

USA
697 Posts

Posted - 29 October 2003 :  21:15:43  Show Profile  Visit Jeepaholic's Homepage
Yup. I've been happy with it since he released it. My queries would burn into timeouts, now they don't time out and finish in half the time. Rui rules!

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 29 October 2003 :  22:51:25  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
It's not that the queries were timing out, it is that it sucks all the cpu. I still don't think the new one fixed it. I am going to have to find a way to limit cpu usage per process or something.




Erick
Snowmobile Fanatics

Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 06 November 2003 :  22:36:33  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Still goes to 100% on searches. Any way to limit this to say...only go to 50% or so for the search function? I do not know why it does it. You guys say it doesn't max out your SQL server on a search?




Erick
Snowmobile Fanatics

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 November 2003 :  04:40:43  Show Profile  Visit HuwR's Homepage
no it doesn't and as far as I know you can;t limit SQL procesor usage other than to tell it how many processors to use, have your tried profiling to see if you need any new indexes creating ?

My SQL server very rarely uses more tha 30-35%
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 07 November 2003 :  23:16:01  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Yes I have profiled twice now. I am thinking that it is something to do with the database because even on a different sql server it does the same thing. I thought I read somewhere that you could limit the amount of cpu that the highest process could use.




Erick
Snowmobile Fanatics

Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 16 November 2003 :  00:44:05  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Sorry to bring this back to the top again. ruirib, can you show me which query is doing the actual search on your search page? I wan't to run it in SQL query analizer to try figure out my problem. Need to see what is taking so much cpu time.




Erick
Snowmobile Fanatics

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 November 2003 :  04:51:13  Show Profile  Send ruirib a Yahoo! Message
If you look at my code, you will find at line# 446 the opening of the recordset with the variable strFinalSql, which contains the SQL for the search in the DB. Response.write it and use it.

The process of building the SQL is a bit complex and the contents can vary on many things. That's why I think this is the best strategy for your purposes.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07