Merging a Theatre Manager database within an existing Theatre Manager database retaining separate Outlets:
- It is OK to be logged into the outlet that you are updating - when your running this routine, as it will force you back to the login window when the process has been completed.
- Have all users and web services 100% logged out of the outlet you are updating.
- This process will disable triggers one table at a time, as the table is update.
- If your running this in a live environment where other outlets still may be using the database, perform this function when there is no access to the database from users, or web sales (i.e. after midnight). Due to the fact that triggers are being disabled on a table while the table is being updated.
- This routine is fairly fast but does depend on the hardware it's being run on. Running this process on a fully loaded server, a normal database may take anywhere from 5 to 10+ minutes to complete. On a large database (4 GB compressed backup), it may take anywhere from 15 to 30+ minutes to complete.
Timeline of Action Events
- Secondary Database Location
- Update your website to let people know web sales is offline for system upgrades.
- Web Sales come off line, all workstations quit using Theatre Manager & log off all Terminal Services sessions
- Box offices complete their EOD processing, run reports, etc.
- Box Office workstations quit Theatre Manager, and log off all Terminal Services sessions
- Backup Secondary Database
- Transfer Secondary Database to Primary Database Location
- Primary Database Location
- Restore Secondary Database
- Backup Primary Database
- Set Secondary Database's Outlet Number
- Update Secondary's Database Sequence Numbers
- Export Secondary Database
- Import Secondary Database
After Merge has completed
- Access to Theatre Manager’s merged database for key people to review data
- Once review is completed by key people
- allow box office to use the database
- bring web sales online (via Theatre Manager >> Company Preferences >> Web Options)
- review web sales online appearance
- make adjustments to Theatre Manager’s code table values as required
- once given the go ahead for web sales
- update your website to let people back having access to the ‘buy tickets’ buttons.
Reset the "Secondary-Client" Outlet Number
- Set the Outlet number to be what you would like the Outlet number to be in the final merged database
- Download the most recent "Secondary-Client" database
- Restore the downloaded "Secondary-Client" database
- Using the Developer Tool, Log into the "Secondary-Client" database as the Master User
- Reset Department Number (File >> Import/Export >> Outlet Settings >> Outlet Preferences)
- Enter in the FROM Outlet Number
- Enter in the TO Outlet Number
- Click "Reset Dept"
- Make a backup of the "Secondary-Client" database
- Download the most recent "Primary-Client" database
- Restore the downloaded "Primary-Client" database
Reset the "Secondary-Client" Sequence Numbers
- Sets the Sequence numbers for every table and connecting child records to be different then what is in the "Primary-Client" database
- Using the Developer Tool, Log into the "Secondary-Client" database as the Master User
- Reset Database xxx_SEQ Values (File >> Import/Export >> Outlet Settings >> Outlet Preferences)
- Click "Merge DB"