Viewing 15 posts - 1,441 through 1,455 (of 5,841 total)
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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....
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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)...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2015 at 7:09 am
ricardo_chicas (8/4/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 4, 2015 at 8:43 pm
1) Why is the log getting filled up? Is it because one or more of your secondaries isn't keeping up with log receive/replay? If so, take those secondaries offline and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 4, 2015 at 6:22 pm
Viewing 15 posts - 1,441 through 1,455 (of 5,841 total)