Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Applying DDL changes without human control

$
0
0

Hello, all

We have around 1000 installations of our PMS system in various properties around the world and we need to figure out how to update the DB schema without having to manually connect and run SQLs.

 

Presuming that the required sql scripts are already available for execution in every client property, we need to solve the following issues.

 

1. Issue a DB command, which will prevent DB users to make connections.

2. Disconnect any users, which are currently connected to DB (without disconnecting the current connection, of course).

3. Run the scripts

4. Allow the DB to accept new connections.

 

In the past we ran into issues with the second step - connections would not get disconnected. Also, what would be best ans safest way to disallow new DB connections and then allowing them again? If during step 3 the connection will get accidentally dropped, how will anyone be able to reconnect?

 

Thank you

Arcady


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>