Viewing 15 posts - 331 through 345 (of 49,552 total)
I'd start with the MS documentation, it's pretty good. They're usually called 'indexed views', so that search term should get you a lot of reading.
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
February 19, 2018 at 4:01 am
Top and Rowcount both work without sorts, however when you use them such, there's no guarantee as to which rows you get, and the rows you get can be different...
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
February 19, 2018 at 4:00 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
February 16, 2018 at 4:52 am
Just don't take any log backups. Those must only be done by the log shipping process. (you can and should copy those log backups elsewhere for safety, once they've been...
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
February 15, 2018 at 1:07 pm
Full backups will not affect log shipping (neither will differential backups) as they do not break or otherwise interfere with the log chain
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
February 15, 2018 at 12:26 pm
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
February 14, 2018 at 6:21 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
February 14, 2018 at 4:26 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
February 14, 2018 at 4:24 am
If you're using the procedure in an INSERT INTO ... EXEC... Then you need to be very careful. You can't add more resultsets to the procedure, as they're break the...
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
February 14, 2018 at 1:39 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
February 14, 2018 at 1:35 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
February 14, 2018 at 1:06 am
It loops over one table and inserts the values, one by one, into another table. That's not hard to replace with a single insert.
You get better at programming...
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
February 13, 2018 at 3:30 pm
You could start by getting rid of the unnecessary cursor.
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
February 13, 2018 at 2:25 pm
Can you post the queries that are slow, along with their actual execution plans? The ones against the full table that take ~5 min.
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
February 13, 2018 at 7:07 am
salamlemon - Tuesday, February 13, 2018 4:02 AMHow shrink file/database will affect this operation?
From the error message:
The concurrent operation could be...
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
February 13, 2018 at 5:06 am
Viewing 15 posts - 331 through 345 (of 49,552 total)