Viewing 15 posts - 391 through 405 (of 2,658 total)
it can take days to shrink depending on how busy the db is.
and I would expand that command - prefer to be specific about which files get truncated and to...
October 17, 2023 at 3:22 pm
Also what is the "log_reuse_wait_desc" from sys.databases for the database in question?
I may be wrong but this would only prevent LOG file shrink - not data file (which I...
October 17, 2023 at 11:10 am
what exact command are you using for it?
October 17, 2023 at 8:14 am
Tom - that is the perfect example of WHY code reviews SHOULD be done - the reaction that individual had would also be a good pointer to go and review...
October 16, 2023 at 6:28 pm
did you implement the indexes I mentioned on https://www.sqlservercentral.com/forums/topic/query-filling-up-tempdb ?
some of them would help on this particular issue as well.
and while not necessarily the issue on this case replace that...
October 16, 2023 at 10:02 am
why do you say it does not work?
SMO, and that particular script (with a few changes required on the scriptingoptions block as it its missing significant items) is one of...
October 15, 2023 at 12:59 pm
this may not be the correct way but check https://www.mssqltips.com/sqlservertip/5437/adding-a-database-to-an-existing-sql-server-always-on-configuration/
October 13, 2023 at 12:53 pm
Dear Experts,
... so when there is high count after the scheduled report it is difficult to find if there are high vlf
...
MJ
why is it difficult? you just need to...
October 13, 2023 at 10:33 am
if you have them on sql_modules you will also have them as SP's - so a normal "drop procedure xxxx" on master will delete(drop) them.
(to be safe generate their definition...
October 12, 2023 at 4:36 pm
this is the type of sql you should confirm yourself in a dev box - if it is wrong you will see the errors.
as for executing it blindly as you...
October 12, 2023 at 1:45 pm
and how is sproc_ValidateUser getting executed?
and were are transactions being set on the full chain - starting with the top level code that executes sproc_ValidateUser.
a possible way of changing the...
October 12, 2023 at 1:36 pm
and on this case I would nearly bet that the 2 procs involved on the deadlock are called in a loop with an outside transaction
process 1
exec dbo.sproc_ValidateUser
...
October 12, 2023 at 12:36 pm
on my case the issues we had was not on the data retrieval but on rendering and processing - which is done after all data has been loaded.
the OP didn't...
October 12, 2023 at 12:01 pm
had lots of those as well - even after increasing the timeout significantly they were getting similar errors after 90 min - as we were only using SSRS to generate...
October 11, 2023 at 7:04 pm
have a look at this example - based on something I do for dynamic reports
drop table if exists #data
CREATE TABLE #data
( RecordID int identity(1, 1) --...
October 11, 2023 at 1:57 pm
Viewing 15 posts - 391 through 405 (of 2,658 total)