May 6, 2011 at 9:40 am
If you have Enterprise Edition, Resource Governor can do this.
May 6, 2011 at 9:45 am
Make a resource pool with the help of Resource Governor for the specific user and then login with it and then update the statistics
Regards,
Syed Jahanzaib Bin Hassan
BSCS | MCTS | MCITP | OCA | OCP | OCE | SCJP | IBMCDBA
My Blog
www.aureus-salah.com
May 7, 2011 at 3:56 am
For Resource Governor information
http://msdn.microsoft.com/en-us/library/bb933866.aspx
Example
CREATE FUNCTION My_Classifer_func()
RETURNS SYSNAME WITH SCHEMABINDING
BEGIN
--workload definition based on login names
DECLARE @WorkLoadName sysname
IF SUSER_SNAME()= 'admin'
BEGIN
SET @WorkLoadName='AdminUsers';
END
--workload definition based on application
IF APP_NAME() = 'My Application'
BEGIN
SET @WorkLoadName='MyApp';
END
RETURN @WorkLoadName;
END
A very good Article by Muhammad Shujaat
http://www.sqlservercentral.com/articles/Resource+Governor/64034/
Regards,
Syed Jahanzaib Bin Hassan
BSCS | MCTS | MCITP | OCA | OCP | OCE | SCJP | IBMCDBA
My Blog
www.aureus-salah.com
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply