Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server Automated Deployment - Development to Prod Expand / Collapse
Author
Message
Posted Friday, June 21, 2013 2:23 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 3:36 AM
Points: 13, Visits: 152
Hi Folks

I work for a up and coming Dotcom. We are looking at automated deployment of T-SQL from Dev then Route To Live then Pre-Prod and then Production.

There is testing at each stage - technical and business. Our aim is to provide continuous delivery mechanism to our web application (500Gb of Prod Data , partitioned tables , decent physical boxes)

Some of our dev's have proposed Entity Framework Migrations Libraries within .Net.

I like their idea's in principle but being a DBA of some years I'm wondering what numerous pitfalls await.

Does anyone have experience of a solid continuous delivery mechanism for SQL Server 2008 and beyond for deploying across environments. We have agreed downtime so the concurrency aspect is not a concern. My concern would be roll back and forth of database versions based on an external software i.e .net framework. I guess if you understood the dependencies between objects and data this would be ok but I'm unsure. I'm unsure if the framework would be able to handle anything beyond very basic DML.... (what about SQL Agent jobs ? etc )

My personal thoughts are ok for most aspects that have no direct underlying data i.e rebuilt ok for stored procs without dropping plans and rebuild of views. These account for 70% of changes anyway. Also deployment of any new table objects + indexes would be ok.

My gut feeling is, that automating within .net schema changes for tables with 200,000,000 plus rows (across partitions) is not wise. Then again if testing is adequate and backups\backouts in place then why not?

Any feedback most welcome

Thanks

Alan



Post #1466390
Posted Monday, June 24, 2013 4:15 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 3:36 AM
Points: 13, Visits: 152
This looks promising

http://www.red-gate.com/products/sql-development/sql-automation-pack/





Post #1466657
Posted Monday, June 24, 2013 4:27 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 3:36 AM
Points: 13, Visits: 152
Could be pricey...


Post #1466663
Posted Monday, June 24, 2013 4:48 AM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Yesterday @ 3:38 AM
Points: 642, Visits: 519
amcalpine (6/24/2013)
This looks promising

http://www.red-gate.com/products/sql-development/sql-automation-pack/




+1 for this solution which got demo'd at SQL in the City last week. Your best bet would be to speak to the guys and girls at Redgate (they're fantastic and very helpful), they'll be able to guide you through recommendations regarding your needs and what the solution(s) can do for you. I've been very impressed with their products to date so recommend them 100%.

Give them a call and have a chat.



MCITP
MCTS - E-Business Card
Twitter: WWDMark

Try not! Do or do not, there is no try

email: info@weekendwebdesign.co.uk
Personal Website: www.markallen-online.co.uk
Business Website: www.weekendwebdesign.co.uk
Post #1466674
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse