How to capture Firebird SQL queries? -


is there way capture sql queries transmitted old application created in delphi/c++builder + firebird?

i don't have source code of client app or access (remote) database server.

firebird 2.5 added trace api can used track prepare , execution of statements , number of other things. tools included in firebird use of trace api rather basic, might sufficient needs. aware default trace api limits size of statements captured , logged, , might take time tweak trace configuration information need.

an example configuration is:

<database mydatabase.fdb>     enabled                true     log_statement_prepare  true     time_threshold         0     max_sql_length         65536 </database> 

this should capture statement prepares full sql query in database mydatabase.fdb.

see more information: audit , trace services in firebird 2.5.

there several vendors provide tools utilize trace api (for example fb tracemanager upscene productions), , mentioned in comments, there fbscanner ibsurgeon acts proxy between client , firebird server , allows record traffic (including statements).


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -