on 2011 May 17 12:10 AM
SQL Anywhere 11.0.1 EBF 2527
We are running several databases within the one SQL Anywhere Server instance (running as a windows service).
Is there anyway we can remove one of the databases from the server instance without stopping the server instance?
Additionally, is there anyway we can add a database from the server instance without stopping the server instance?
Request clarification before answering.
see the STOP DATABASE statement and START DATABASE statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, I even wasn't aware that there's another SQL Anywhere online doc site besides the (more interactive) DocCommentXchange...
@Martin - Thanks for that. START, STOP - The only two words I didn't search for in the documentation... sigh\x10.
I usually use the link at the bottom of the local help files:
Additionally, (for completeness) you can automatically start a database on a running server as part of connecting by specifying ServerName and CommLinks as well as DatabaseFile (DBF - the path to the database filename), optionally DatabaseName (DBN), UID and PWD for the database being started. Once there are no connections to this database it will automatically stop unless you specify AutoStop=No on the connection that starts the database.
Note that this is only recommended for personal servers. For network servers you would need to use -gd all to automatically a start database, which is not recommended.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
15 | |
12 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.