SQL Anywhere 22.214.171.1246
All I wanna do is "Log Expensive Queries" in Version 11... why does it have to be so hard?
After almost a day of trying (not just because of http://sqlanywhere-forum.sap.com/questions/1238/dbunload-sql-error-feature-alter-remote-table-not-implemented) I gave up trying to do Application Profiling using a separate profiling database and checked "Save tracing in this database" (emphasis mine).
But even that fails...
An error has occurred - tracing was not attached to the database. ATTACH TRACING could not connect to the tracing database [Sybase][ODBC Driver][SQL Anywhere]ATTACH TRACING could not connect to the tracing database SQLCODE: -1097 SQLSTATE: HY000 SQL Statement: ATTACH TRACING TO LOCAL DATABASE
Yes, the connection string is perfect... after all, Sybase Central is already connected to "this database".
How is that even possible? ...for ATTACH TRACING to not connect to a LOCAL database Sybase Central is already connected to?
Yes, there is a lot of funky stuff in "this database"... and one of the funky things is that it's started with the dbsrv11 -sb 0 option.
For a good reason, normally.
Remove that, and Application Profiling can proceed... I hope... :)
Gosh, I love 9.0.2!