If you are performing a backup that renames or deletes the transaction log, incomplete transactions are carried forward to the new transaction log.
You can use a system procedure to determine which user has outstanding transactions. If there are not too many connections, you can also use the SQL Anywhere Console utility to determine which connection has outstanding transactions. If necessary, you can disconnect the user with a DROP CONNECTION statement.
Connect to the database from Interactive SQL.
Execute the sa_conn_info system procedure:
Inspect the UncommitOps column to see which connection has uncommitted operations.
Connect to the database from the SQL Anywhere Console utility.
For example, the following command connects to the default database using the user ID DBA and password sql:
dbconsole -c "UID=DBA;PWD=sql"
Double-click each connection, and inspect the Uncommitted Ops entry to see which users have uncommitted operations.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|