Viewing 15 posts - 1,441 through 1,455 (of 5,843 total)
1) We need create table script and sample data to help with a query.
2) Why use integers for what looks to be a Boolean (isDay)? VERY inefficient data type choice...
August 15, 2015 at 9:06 am
1) are you SURE it is in SIMPLE recovery mode?
2) I think it won't clear until reaches end of current VLF.
3)
SELECT log_reuse_wait_desc
FROM sys.databases
WHERE name = 'MyDB';
4) Long-running...
August 14, 2015 at 10:49 am
1) I bet some third party systems can do this.
2) It is VERY easy to roll you own historical trending by just putting your results into a permanent table. HIGHLY...
August 14, 2015 at 8:12 am
Eric M Russell (8/12/2015)
TheSQLGuru (8/9/2015)
...There are many other CRUD generators out there too, including free options. SSMS can do it even, albeit one at a time.
Where is this feature...
August 12, 2015 at 1:36 pm
atulyan.aries (8/10/2015)
I created this in standby/readonly.. but its changed to standby/ singleuser/ readonly..how to do i check who/how was this change done
I do not believe it is tracked, so there...
August 10, 2015 at 8:28 am
redmittens7 (8/10/2015)
Just curious, but what does "google-fu" mean in your response?
It means learn how to use online search tools such as Google, Bing, etc.
August 10, 2015 at 8:27 am
Standby mode in log shipping is a very nice feature that allows you to run read-only workloads from the log-shipped secondary. Someone set it manually or much more likely it...
August 10, 2015 at 6:26 am
Do NOT do what you want to do!! Here is a Guruism: slapping together code quickly is BAD, often for multiple reasons. Plus you will be creating a maintenance/troubleshooting nightmare....
August 9, 2015 at 8:48 pm
Data distribution, statistics staleness, bad cached plan, just plain a lot of data hit/returned, etc.
I would almost ALWAYS run such queries with OPTION (RECOMPILE) to ensure you get best possible...
August 7, 2015 at 10:42 am
ricardo_chicas (8/6/2015)
The latency between the primary and secondary replica (synchronous) is only 5ms
I am at a loss here, not sure what else...
August 6, 2015 at 3:06 pm
MANY things can cause those est/actual row count differences: table vars, UDFs, functions around columns in where, stuff inside views, mis-matched column data types in joins, mismatched datatypes in parameters...
August 6, 2015 at 8:38 am
1) I see vw..., indicating likely views. Lord only knows what those have in them
2) Table variables should be replaced with temp tables
3) Someone got rid of the silly cursor
4)...
August 6, 2015 at 4:43 am
I took a quick review of the sproc. I lost count of the things that are suboptimal in it, and that doesn't take into account anything about the data structures...
August 5, 2015 at 11:12 am
I pretty much always prefer the sort in tempdb option when tempdb will support the size and load of the operation.
You have done monitoring and proved that the tlog...
August 5, 2015 at 7:09 am
ricardo_chicas (8/4/2015)
August 4, 2015 at 8:43 pm
Viewing 15 posts - 1,441 through 1,455 (of 5,843 total)