Viewing 15 posts - 1,096 through 1,110 (of 49,552 total)
Yup, de-dupe the table.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 11:00 am
As-is, there's little to nothing you can do. The query has no where clause, so there's no indexes that will help. The distinct forces a sort (or hash table) and...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 10:22 am
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 10:16 am
Phil Parkin - Wednesday, July 19, 2017 8:49 AMIs this cheating?
EXEC sys.xp_cmdshell 'date /t';
EXEC sys.xp_cmdshell 'time /t';
Now I'm tempted to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 9:40 am
No user action is required. There's nothing you need to do there, nothing's broken, nothing needs fixing.
It's an informational message telling you that CheckDB ran and found no errors.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 9:33 am
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 7:18 am
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 6:57 am
Have you removed all the objects in that filegroup?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 3:24 am
Is it still unavailable?
If you query sys.database, what's the exact value for State_desc for that database?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 1:13 am
So in 4 days, the index has been modified a large number of times as data changed, but never read.
Does that sound efficient and useful?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 19, 2017 at 1:02 am
Good.
Now size the log file properly, set the recovery to full and take a full backup to start the log chain, then you should be back to normal.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2017 at 10:33 am
You might need more than 2. You need some form of shared storage and a domain controller.
There are definitely blog posts on setting up this kind of lab,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2017 at 8:44 am
Try with multiple VMs. I don't think you can cluster two instances on teh same machine, but you can cluster instances in two VMs
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2017 at 6:56 am
Or look in the Windows Event log for the Windows events around shutdown and restart.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2017 at 6:48 am
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
July 18, 2017 at 6:39 am
Viewing 15 posts - 1,096 through 1,110 (of 49,552 total)