SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Two Things I Would Change in SSISDB Setup


Two Things I Would Change in SSISDB Setup

Author
Message
mtassin
mtassin
SSC-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21381 Visits: 72549
Daario (3/29/2016)
This is another thing you may want to do upon setup:

ALTER DATABASE [SSISDB] SET RECOVERY SIMPLE;



The transaction log can get a bit unruly, and Point-in-time recovery has limited usefulness in this database.

--
Winter is coming


Good point



--Mark Tassin
MCITP - SQL Server DBA
Proud member of the Anti-RBAR alliance.
For help with Performance click this link
For tips on how to post your problems
dalejones
dalejones
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 165
We were experiencing this issue this past weekend. We have a large volume of SSIS jobs that run thoughout the day (24x7). During the nightly 1:00am run of [SSIS Server Maintenance Job], the transaction log was filling up our disk drive and impacting other more critical processes. The issue is the TRY/CATCH containing the delete loop. That's one huge transaction that was causing the problem. Our retention window is set to 1 day and we were still having issues.

I addressed this in a similar manner by making the following changes:
- Cloned [internal].[cleanup_server_retention_window] to my own version of the stored procedure.
- Added a variable for the max number of the rows to delete. I set this to 5000 so we delete 5000 rows and get out with reduced transaction log growth.
- Added a variable to accumulate the number of rows deleted during the loop iterations.
- When the max number of rows to delete is exceeded, I BREAK out of the WHILE loop. There are actually two WHILE loops in the IF-THEN-ELSE where I check if the max number of rows is exceeded.
- Lowered the @delete_batch_size to 100 from 1000 since we're dealing with cascading deletes.
- Added a PRINT statement at the end of the TRY/CATCH so it's present in the job history log.
- The job was originally running once a night at 1:00am. I changed the schedule to run every minute between 1:00am-2:00am. This results in the transaction log being hit in smaller chunks with breaks in between job runs.
- Increased the size of our disk drive from 50GB to 300GB for more breathing room.
- Set the size of the SSIS data and log files to 40GB each to help address any file growth delays that were occurring.
- The database is already in SIMPLE recovery mode, so no change needed there.

-Dale Jones
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)SSC Guru (241K reputation)

Group: General Forum Members
Points: 241791 Visits: 13382
I would also change the default logging level. Default logs too much information.
Luckily SQL 2016 has custom logging levels + the ability to set them as the default! :-D


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
BobMcC
BobMcC
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1885 Visits: 1004
Now that two years has passed and we now have SQl 2016 and beyond; have they improved the cascading delete problem?
bkubicek
bkubicek
SSCrazy Eights
SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)SSCrazy Eights (9.7K reputation)

Group: General Forum Members
Points: 9723 Visits: 1092
BobMcC - Tuesday, October 9, 2018 1:02 PM
Now that two years has passed and we now have SQl 2016 and beyond; have they improved the cascading delete problem?

That is a really good questions. I haven't had a chance to test it out. I sure hope so.

Ben

mtassin
mtassin
SSC-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21381 Visits: 72549
No they haven't... at least not as of SQL 2016



--Mark Tassin
MCITP - SQL Server DBA
Proud member of the Anti-RBAR alliance.
For help with Performance click this link
For tips on how to post your problems
gbritton1
gbritton1
SSCertifiable
SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)

Group: General Forum Members
Points: 6035 Visits: 1078
bkubicek - Monday, March 28, 2016 9:57 PM
Comments posted to this topic are about the item Two Things I Would Change in SSISDB Setup

At least with SQL Server 2016 you can now put SSISDB in an AG. SQL Server 2016 HA Series Part 2 – SSIS and Availability Groups. That's important for us since with 2012 we had to deploy changes individually to all replicas. OTOH if you do that, you have to leave RECOVERY = FULL.

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search