Viewing 15 posts - 2,176 through 2,190 (of 22,202 total)
Honestly, testing and experience is going to be the answer. Does it sound like a reasonable approach to me? Yes.
January 7, 2020 at 1:50 pm
Did you also post this question on Quora? It sounds like one I answered over there. My answer here would be largely the same.
As to a way to dip your...
January 6, 2020 at 1:57 pm
Side note:
You know the missing index DMVs are just suggestions, right?
Further, there is no correlation between the missing index information and queries. Therefore, you can't know if the missing index...
January 6, 2020 at 1:53 pm
Yes. The exact same queries you use to look at missing indexes in the boxed SQL Server product. Under the covers, Azure SQL Database is just SQL Server. If ever...
January 6, 2020 at 1:49 pm
Yeah it's not the compression. That's fine. (although I know where you can get even better than native compression <cough> Redgate </cough>), it's the TDE with compression that can lead...
January 3, 2020 at 11:12 pm
Don't forget, even with a log file, if the backup process ignored SQL Server transactions, the attach could still fail.
January 3, 2020 at 2:10 pm
First, you can't do this on a server where the same database already exists. You must be doing this on a new, or different, instance of SQL Server.
January 3, 2020 at 10:34 am
While the results may be the same, putting the JOIN criteria and the filtering criteria into the WHERE clause is less clear. I'd always default to having the JOIN criteria...
January 2, 2020 at 1:17 pm
Check the execution plans, but I'll bet the second choice there performs better.
January 2, 2020 at 1:15 pm
Thanks for the link - one that I wasn't aware of and rather good for sure
Not a problem. Niko is the best. It's where I start when I have...
December 27, 2019 at 6:06 pm
Frederico, do you have any test case to support your speculations?
I (and I guess Jeff Moden too) would be particularly interested in a test script which demonstrates advantages of...
December 27, 2019 at 11:02 am
I would still consider them good for history/audit tables as these aren't queried often - saving on space is what would really be important here, not speed of processing...
December 25, 2019 at 12:40 pm
Columnstore index is a workaround for denormalised data storage.
follow basic data normalisation rules and there won’t be any place for columnstore indexes in your database.
not to mention - you’re...
December 25, 2019 at 12:39 pm
Second, aggregates. Analysis. These are where they shine. If you're not seeing GROUP BY in the queries, I wouldn't suggest using them.
So, not good for general history/audit tables...
December 25, 2019 at 12:37 pm
You could certainly query sys.dm_exec_query_stats. That's going to show the queries that are currently in the cache, recent activity. It includes a last execution time too, so you can get...
December 20, 2019 at 1:42 pm
Viewing 15 posts - 2,176 through 2,190 (of 22,202 total)