February 11, 2025 at 1:02 am
Accidental DBA here. After looking at all the work that needs to be done, I need additional help.
Right now I'm in the process of hiring a DBA contractor. What I'd like for this person to do, at least initially, is view maintenance plans, jobs, DMVs, etc., so they can perform their analysis without me having to grant them sysadmin.
I'm sure I'm not the first person looking to do this, but I didn't happen to find anything when searching the forums.
Would anyone be able to point to me to a resource if something like this already exists?
Thank you
February 11, 2025 at 7:49 am
Hi,
You may need to give following permissions
USE msdb;
CREATE USER [YourContractorUser] FOR LOGIN [YourContractorUser];
-- Add the user to the SQLAgentReaderRole
EXEC sp_addrolemember 'SQLAgentReaderRole', 'YourContractorUser';
Thanks,
Abhinav
February 11, 2025 at 7:50 am
Hi,
You may need to give following permissions
USE msdb;
CREATE USER [YourContractorUser] FOR LOGIN [YourContractorUser];
-- Add the user to the SQLAgentReaderRole
EXEC sp_addrolemember 'SQLAgentReaderRole', 'YourContractorUser';
Thanks,
Abhinav
February 12, 2025 at 4:38 pm
Thanks, Abhinav. I'll review and give that a shot.
February 15, 2025 at 4:42 pm
Sure, let me know if you need more detailed solution /or script. I can help. Thanks.
Thanks,
Abhinav
February 16, 2025 at 6:12 am
One of the first things you should do is to download Brent Ozar's first responder kit and run it.
Here's where you can get the kit...
https://www.brentozar.com/first-aid/
Here's where you can learn to use the kit most effectively... each "start" button has a 'tube for it and it's all free.
https://training.brentozar.com/p/how-i-use-the-first-responder-kit
--Jeff Moden
Change is inevitable... Change for the better is not.
February 19, 2025 at 12:21 am
Hi Jeff, good recommendation. That is actually one of the first things I did, and the results highlighted just how much work needs to be done. The blitz scripts are great.
Thanks!
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy