cancel
Showing results for 
Search instead for 
Did you mean: 

Heads up: dbsrv11 -sb 0 prevents ATTACH TRACING, even LOCAL

Breck_Carter
Participant
2,216

SQL Anywhere 11.0.1.2276

[rant]

All I wanna do is "Log Expensive Queries" in Version 11... why does it have to be so hard?

[/rant]

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-im...) 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... 🙂

[rant]

Gosh, I love 9.0.2!

[/rant]

Accepted Solutions (0)

Answers (0)