Why is -ha & -ga options and how to turn them off (SQL Anywhere 184.108.40.20678)?
asked 22 Jul '15, 06:17
The -ha switch is an internal switch used when autostarting the server - it tells the server that even though no databases were specified on the command line a database is about to be auto-started. This switch is always added by the client library when a server is being autostarted. There is no need to "disable" it. I.e. without the switch you will not be able to autostart the server/database!
The -ga switch turns on autostop - i.e. when the last database stops then the server automatically stops. This is the default behaviour when a server is autostarted. To "disable" this switch you can specify AUTOSTOP=NO in your connection string.
answered 22 Jul '15, 08:29