Shrinking transaction logs
Hello All,We have a development environment using SQL 2008 R2. Our transaction logs are huge, and since this is a development environment we changed the recovery model from Full to Simple to all DBs....
View Articlequestions about Change Data Capture
Hi. We're going to take a quick look at this but wonder about the following before we do:1) will it work if recovery is simple on the db in question?2) will it work on 2008 std Non R2?3) can...
View Articlewhere is sql security stored?
Hi. We are contemplating using san (not sql) snapshots temporarily to deal with a very tight month end window in which we normally get one or two shots at extracting certain info from a voluminous...
View ArticleInstalling SQL Server 2012 on a Windows 8 OS
Trying to install SQL Server 2012 on a Windows 8 OS. Hardware: Intel i7 processor, 8 GB RAM, plenty of Hard Disk space. Here is the error I get: TITLE: SQL Server Setup failure....
View ArticleMoving a database created with LocalDB to a production server ?
I'm developing a web app in VS2012 using LocalDB to create/update the database. For what I understood so far, "...LocalDB is an execution mode of SQL Server Express targeted to program developers..."...
View ArticleMSDBdata.mdf file increased size 15 GB.in that sysdtslog90 table size is 14...
MSDBdata.mdf file increased size 15 GB.in that sysdtslog90 table size is 14 GB.how to reduce size of database.
View Articleminimum grants to execute SELECT @@SERVERNAME
Can anyone provide me the minimum grants(to a login for SQL Server 2000 and 2005 versions) to execute the following queries:1.SELECT @@SERVERNAME2.select @@ServiceName3.select @@VERSION4.SELECT...
View ArticleProblem with iFilter 9 with pdf documents and full text
I installed iFilter v9 on my 64 bit Windows 2008r2 machine with SQL Server 2008r2 and configured full-text indexing with a FileStream and loaded in a bunch of pdf documents.Half of the documents appear...
View ArticleUNC limitations in CREATE DATABASE are misdocumented ?
Hi,On MSDN is written in CREATE DATABASE : "SIZE cannot be specified when the os_file_name is specified as a UNC path". This isn't true on SQL Server 2012 and also on SQL Server 2008 R2. It works fine....
View ArticleTransaction recovery during a Crash.
Hi All,I am somewhat confused with the transaction recovery during a system crash. I read that a Redo operation will be performed during a crash recovery whenThe LSN of transaction log record is...
View ArticleExtended Event to alert log file size
I am trying to understand EX. There is a way to setup a EX to monitor log file growth, I was curious to know if we can tweak it to alert if the log file reaches a particular size, say 10GB, then...
View ArticleUsing job_id (in string format) to get job name
Sql Server Experts,I need some help on getting the job information from view sysjobs using job_idI get the job_id from the output of sp_who2 command by saving the result in a table.insert into #sp_who...
View Articlecapture SP_EXECUTESQL in SQL 2008 profiler?
How do you get sql profiler to capture the actual dynamic sql used in SP_EXECUTESQL? I am using the default profiler trace and it does not show up during my profiler session.
View ArticleSQL 2012 SP1
I was going to install CU4 but Microsoft just came out with SP1 for SQL 2012. Use to be that Service packs contained all CUs upto the SP release but going to the Microsoft download site it states that...
View ArticleWhat is the purpose of Transaction Log in Tempdb
Hi Experts,There are a lot of questions and blogs on truncating and reducing the transaction log of tempdb. But what I understand is that the purpose of transaction log is to recover database (on...
View ArticleResource Grovenor: Use of Workload Group?
The purpose of Resource Gorvenor is to limit the resources for requests. Here my question is about the design of it's functionality. In classifier function we specify a workload group to requests and...
View ArticleInconsist size of tempdb in Windows Explorer and SQL Server
Hi all,We are using SQL Server 2008 R2+SP1.The temdb(mdf) size in SSMS is 5MB but in Windows Explorer it's over 70GB.It does not shrink either.What's the reason and how can I shrink it?Many thanks in...
View ArticleBCP performance issue
All,I would like to clarify on couple of BCP issues that I'm facing1. BCP xxx queryout -S xxx -T -N -m 0 is executing very fast when I run using my ID in command prompt, but when I execute the same as...
View ArticleMissing Server Memory?
Ill keep this short and to the pointTarget Server Memory = 67108864Total Server Memory = 67108864so far so goodMaximum workspace memory = 50429880So where is the missing 67108864-50429880 = 16678984Kb...
View ArticleHow can you evenly distribute the load across 20 cores with SQL Server 2012...
After installing SQL Server Enterprise 2012 with the Server + Cal license model, on a computer with 2 processors each with 16 cores (and no hyperthreading involved) and putting the server under...
View Article