SQL Server 2016 DBA Training
Hi people,I've been working as a SQL developer for a number of years, with an increasing amount of DBA work alongside the day job. As an accidental DBA I'd like to formalise my skills by doing some...
View ArticlePlease explain difference between these terms
Server authentication” vs “Windows authenticationServer Roles vs Database RolesLogins vs Users
View ArticleShrink log file
We have too many VLFs on the log file which is configured in log shipping in primary server. For this we need to shrink the log file to reduce the VLF's , can any one suggest the approach not...
View ArticleSSMS Slow to Response
Just upgraded our disks to 2400 IOPS during the weekend, with logs on one drive and data another. But server is slow again somehow - mostly the ssms takes forever to collapse on object explorer. The...
View ArticleDrop Database bug?
Has anyone seen this? Is it a know bug or intended behavior?In a 2016 Developer edition build 13.0.4001. There is an existing database. Running the following sql:use master;drop database mydat
View ArticleAlternate to DBCC SHOW_STATISTICS Histogram
Hi,Do we have alternate to DBCC SHOW_STATISTICS in sql server 2016 to get the histogram of particular Statistics?Our application do not allow us to execute statement , we can just use select...
View ArticleMixed page allocation in SQL Server 2016
Hello guys,I made some tests by enabling it, monitored the Access Methods performance counters and didn't notice any significant improvements. Enabling mixed page allocation increased the Table Lock...
View Articlemoving several large databases from old hardware Live to new hardware
Hi,My primary server has about 40 400 GB ( Windows Server 2003 with SQL Server 2008 ) databases each which need to be moved to the destination: new 64 bit server (SQL Server 2014 with Windows...
View ArticleUpgrading to SQL 2016 - Failures in SSRS
Good day,We've upgraded our SQL 2014 instance to a SQL 2016 enterprise edition (SP1,Cu1).All of our reports still work, but now some of our applications doesn't want to display our reports anymore....
View Article1 windows failover cluster and 4 Availability groups, is it possible?
Hello,I am trying to verify if possible to have 1 fail over cluster, but 4 availability groups, is it possible? what i am trying to accomplish is this:Database servers will be 1 instance per server,...
View ArticleDownload a SSRS report from web portal
I tried to download a report from the new web portal of SSRS 2016, I go to the report, and click manage, and then there is a download, but when I click it, it pop up a save file named $value, what is...
View ArticleWhere is the information stored regarding the last full backup?
Hi all,For a test I created a database, made a full backup, which after a while was followed by a differential backup.Next I deleted the backup file and removed the backup information in the MSDB using
View ArticleSQL Server Restarted Automatically
Hi All,In our production server, suddenly the server got restarted .What will be the reason..Is there any other way to check it.Error: sql server is not ready to accept new client connections.Thanks in...
View ArticleCan I just attach to a database?
My work PC had a very small primary drive. My boss was able to get larger drives. This morning my PC's primary drive was replaced and now I'm installing SQL Server 2016 Developer Edition SP1.However, I...
View ArticleUpgrade Sql 2012 Reporting Server DBs to Sql 2016
What are the steps to upgrade the Sql 2012 Reporting Server DBs to Sql 2016 versions?TIA,BD
View ArticleSQL Server encryption question
HelloI have a requirement from a client that requires all SQL connections be encrypted. We cannot afford Enterprise Edition to make use of TDE. With Standard Edition, my options are limited to SSL...
View ArticleIndexes getting fragmented Fast
Hi,I noticed that for some critical production databases sized around 600 GB or so, Indexes get fragmented often. Do fragmented indexes cause deadlocks? As we are seeing deadlock erros in the App log...
View ArticleIn-Memory tables and garbage collection of checkpoint files
We're just now setting up some in-memory tables to handle session state since our normal disk-based AspState database is encountering lots of blocking. Testing has gone well but I noticed more disk...
View Articlereplication
I have transactional replication configured on my environment . update , insert and delete are doing in publisher . I need to replicate only the update and inserts to the subscriber . How can we do ?
View ArticleSQL Plan Guides
Hi Everybody,I have one SQL Server 2016 instance that every night BizTalk inserts messages into the database. BizTalk is managed by a third party company, and the way they are inserting the messages is...
View Article