Groups | Blog | Home
all groups > sql server programming > november 2003 >

sql server programming : how i can run quiry in Low-priority on sql server 2000



Mtcc
11/22/2003 9:01:47 PM
what you suggest me for this situation:

I maintenance flat tables with sums fields etc. that improve performance for
some report.
I don't want to do that on trigger. instead i want to run another
thread with low priority to do it.


This process is update only the flat table. There for I don't think that
make lock.


I know that have a way to define job that start running when processor idle,
but I want to

Run it all on Low-Priority.


Have a way to run process on sql server 2000 (in any way) that run on Low
priority?

(I understand that if I send the request from low priority thread client
side is not help me)






Roji. P. Thomas
11/23/2003 12:53:29 PM
AS far as I know, you cant.

But then I know too little :)


--
Roji. P. Thomas
SQL Server Programmer ;)
________________________
[quoted text, click to view]

Louis Davidson
11/23/2003 10:50:55 PM
You couldn't last time you asked either :) There is no control on thread
priority in SQL Server.

--
----------------------------------------------------------------------------
-----------
Louis Davidson (drsql@hotmail.com)
Compass Technology Management

Pro SQL Server 2000 Database Design
http://www.apress.com/book/bookDisplay.html?bID=266

Note: Please reply to the newsgroups only unless you are
interested in consulting services. All other replies will be ignored :)

[quoted text, click to view]

Neil Pike
11/24/2003 9:51:18 AM
MTCC,

You'll have to write your own code to query for performance info and decide
when to kick queries off then - all threads within SQL Server run at the same
host priority.

[quoted text, click to view]


Neil Pike MVP/MCSE. Protech Computing Ltd
Reply here - no email
SQL FAQ (484 entries) see
http://forumsb.compuserve.com/gvforums/UK/default.asp?SRV=MSDevApps
(faqxxx.zip in lib 7)
or www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
or www.sqlserverfaq.com
or www.mssqlserver.com/faq
AddThis Social Bookmark Button