Viewing 15 posts - 571 through 585 (of 22,189 total)
First up, the only sure way to 100% validate a backup is good is to run a restore. The saying goes "You're only as good as your last restore." So,...
February 7, 2023 at 12:19 pm
No, an INSERT statement does not block SELECT statements. SELECT statements can run simultaneously with INSERT statements in most databases.
Apologies for being blunt, but that is simply not true.
Can...
February 7, 2023 at 11:34 am
Thanks everyone for the explanation.But one thing bothering me,
Considering the below example, I am in read committed isolation level and assuming that my table has 100 rows inside it.
now,...
February 7, 2023 at 11:30 am
I had close to twenty years experience when I started working with Azure back in 2008/2009. My organization wasn't using it. I just started learning it on my own. When...
February 6, 2023 at 2:20 pm
There really isn't a direct mechanism from extended events to capture tempdb use by a given query, procedure or function.
While you could do what you've already done through the DMVs,...
February 6, 2023 at 2:08 pm
When an INSERT occurs, a lot of locks are taken out. It's not just a question of adding a row at the end of the last page (assuming a clustered...
February 6, 2023 at 1:34 pm
So that requires that you have distinct logins, OR, that everyone logs in and uses the application value on the connection string. Then, you can filter based on the login,...
February 3, 2023 at 2:42 pm
There it is.
Every non-clustered index includes the key for the clustered index (or, an ID for a heap) so that from the non-clustered index, you can get to the appropriate...
February 2, 2023 at 4:16 pm
[RSSQLDB].[dbo].[RSINVOICE].[DraftNum]=[@DraftNum]
DraftNum is in that index somewhere. It's a key, an include column, or as Frederico says, part of the clustered index key. Above is from the predicate of the index...
February 2, 2023 at 3:39 pm
I like the idea of splitting the identity keys, artificial keys, from the natural keys. I also like the idea of hiding the artificial keys from the end users. I'm...
February 2, 2023 at 12:47 pm
Absolutely ROWLOCK is going to cause blocking. In fact, using the ROWLOCK hint may even cause more blocking. Hints are not hints. Hints are commandments that the optimizer and query...
February 2, 2023 at 12:40 pm
Thanks for posting that you found the answer. That'll prove helpful for the person who searches for the same issue and finds your original post.
February 2, 2023 at 12:29 pm
I'm sorry, but you're going to have to supply a bit more detail. That screen shot shows nothing at all. What is it you're trying to do. What specific errors...
February 2, 2023 at 12:28 pm
A Constant Scan is basically adding a column to the data being passed around. Look at the properties and it will define what it is adding. It may be something...
February 2, 2023 at 12:23 pm
Or, don't rebuild the indexes at all. Find a good fill factor, set that, and leave them alone. Just maintain statistics.
Different rules for columnstore indexes though.
February 1, 2023 at 1:50 pm
Viewing 15 posts - 571 through 585 (of 22,189 total)