What is Statistic in Sql Server Part - 3
Yes ! Auto update stats causing Performance issues??
What is Statistic in Sql Server Part - 1
What is Statistic in Sql Server Part - 2
What is Statistic in Sql Server Part - 2
Interview Question : Does sp_updatestats update the statistics of a table if I just run it or does it use specific formula??
What is Statistic in Sql Server Part - 1
What is Statistic in Sql Server Part - 3
SQL Server Installation Add Features is not Showing All Instances
Today we get a request to install SQL server reporting services for 4 of 8 of the instances on a server.
As usual we pick our sql 2012 dump and start installing. When we reached to Add feature page of installation we were not able to see 4 of 8 instances in drop down as in screen shot
As usual we pick our sql 2012 dump and start installing. When we reached to Add feature page of installation we were not able to see 4 of 8 instances in drop down as in screen shot
Windows update can't check for updates because the service is not running
Patching does have its own issues, hard to predict
This time I was doing windows updates
Control panel --> System and security --> Windows update -->check for updates
This time I was doing windows updates
Control panel --> System and security --> Windows update -->check for updates
The image file is valid , but is for a machine type other than the current machine
While patching SQL server 2005 SP1 to SP2, we face below error
Error: The image file is valid , but is for a machine type other than the current machine
This error clearly states that patch file is good, the issue is with my machines
SQL Server System Databases
Many people does know about system databases but no one remembers detailed version and get confuse in tricky questions. So I have put this in points
Master Database :
Script to find sql server version on multiple instances using Power shell
Script to find sql server version on
multiple instances using Power shell
What is the difference between SQL Profiler vs Server side Trace
Server Side Trace vs Client Side Trace
Why SQL Server SPID is blocking itself
Hi All
Issue: SPID is blocking itself
Description: On one of our server SQL 2005 i have run one maintainence (update statistics)job in morning hours on a businessday and as it should not create any issues i was monitoring server health. After executing job i found spid 64(belongs to job) is blocking itself.and after some time it went off
How to restore system databases on lower build
knowledge sharing : Restoring System databases on different build
Issue :
Datafiles and log files are lost on Uat server due to OS issue
------> Sql server is down
------> All data and log files lost including system database
------> Only backups are available
Issue :
Datafiles and log files are lost on Uat server due to OS issue
------> Sql server is down
------> All data and log files lost including system database
------> Only backups are available
Affects of Snapshot Isolation Level and Tempdb datafile full
Affects of Snapshot Isolation Level on Tempdb
Last weekend we face an issue where we got alert due tempdb datafile is 95.05% full, which is as usual for weekend but there is one thing unusual we found that log file was only 4 % full.
We thought there could be 2 possible reasons.
1. Sorting.
2. Row versioning
Database cannot be shrunk as it is either being shrunk by another process or is empty.
Hi, Today we faced below error on one of the servers while shrinking data file on user request.
Error :
/*************************************************************************************************/
File ID 1 of database ID 6 cannot be shrunk as it is either being shrunk by another process or is empty.
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
/*************************************************************************************************/
Error :
/*************************************************************************************************/
File ID 1 of database ID 6 cannot be shrunk as it is either being shrunk by another process or is empty.
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
/*************************************************************************************************/
Suspect Pages in database
On Sunday evening we got an opportunity to run DBC checkdb on one of our suspected database (Of course UAT). And as usual we started checkdb from one of sessions on SQL box query analyzer. By the end of the day we realize it will take some more time to complete and we were expecting that by next day some one will kill our connection , while searching on internet we came to know about a table which gives us report of corruption “msdb..suspect_pages”
Subscribe to:
Posts (Atom)