Solved

the setting control of the tempDB data file and log file size

Posted on 2013-12-10
5
486 Views
Last Modified: 2013-12-15
Dear all,

as we have vendor to support our MS SQL 2008 R2 and sometime they do something funny that, for example, increase the initial size of hte tempdB log to 2/3 of the disk that holds the tempdb log.

But when the log growth, we can't shrink it to the level smaller than that size.

we will then recieve that the tempeDB log full message and the application stop to work too.

anyway to restrict thyis kind of person, who also has the dba related login to the MS SQL, to change the tempdb data file and log size?
0
Comment
Question by:marrowyung
  • 3
5 Comments
 
LVL 17

Accepted Solution

by:
Kent Dyer earned 250 total points
ID: 39710722
Be sure sysadmin and dbo are removed from the user's profile/groupsed that attach to the tempdb..
0
 
LVL 1

Author Comment

by:marrowyung
ID: 39713145
but it seems then they can't admin that and do anything troubleshooting from the MS SQL ?
0
 
LVL 1

Author Comment

by:marrowyung
ID: 39713150
they can't even run the:

dbcc opentran(tempdb)
go

Open in new window


and the kill <session id> command ?
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 250 total points
ID: 39718205
If they have to belong to the sysadmin role, then quite frankly you are out of luck.
0
 
LVL 1

Author Comment

by:marrowyung
ID: 39720819
aha. I double version one of account's access right, which connect from oralce gateway. only has the public role connect to any DB.

so this is not the one, the other one will have sa access as they are the vendor, or we have to support 24x7..
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now