How do I get traces on firebird remotely

Is there open source software I can use to log database activities on firebird 2.1 remotely. In the log I need to see who is connected what if the query. Capabilities to filter by query i.e delete,select or update would be nice
LVL 2
ThlwareAsked:
Who is Participating?
 
ThlwareConnect With a Mentor Author Commented:
will stumble through it and advise if I come across something will build my own tool if I have to or maybe just upgrade
0
 
Nick UpsonPrincipal Operations EngineerCommented:
no there is no such ability, there is the ability to monitor queries directly by looking at the MON$ tables.

It is possible, although a pain, to do it yourself by adding triggers to all tables which write into an external table but that won't record select activity
0
 
ThlwareAuthor Commented:
My own trigers wont get me full details like where connection comes from whats the query and its parameters
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Nick UpsonPrincipal Operations EngineerCommented:
that's right, but they can record insert/update/delete activity including the username that did it, which can be useful
0
 
markusventerCommented:
FB 2.5 is a step in the right direction to solve this requirement.
0
 
ThlwareAuthor Commented:
at markusventer thought the same but not in the process of upgrading soon, wanted something that would work for the version I have currently
0
 
markusventerCommented:
I am not aware of any - if you find something, please share it with us.
0
 
complexymetronCommented:
Just a hint I used: In absence of such a tool you describe, I built an SQL Monitor into one of my applications using IBExpress' TIBSQLMonitor, which is deliverd with Borland C++Builder 5 (way back, don't know if it's included in modern Delphi/BCB IDEs or if there's an alternative like IBOjects). It doesn't do the trick of monitoring everything what's happening on the server, but to be able to see what's going on over the database connection of the local app was a good start for my performance tuning.

TIBSQLMonitor is only working inside an application you built yourself, if you're trying to do it from the outside, you're out of luck with that approach.

Maybe you're more successful with a packet analyzer like Wireshark, to get the queries right off the wire.

As markuxventer stated, FB 2.5 might provide more possibilities for monitoring, but the release notes on that subject aren't to extensive: http://www.firebirdsql.org/rlsnotesh/rlsnotes25.html#rnfb25-mon
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.