Solved

How do I get traces on firebird remotely

Posted on 2010-08-27
8
707 Views
Last Modified: 2013-12-09
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
0
Comment
Question by:Thlware
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 33541306
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
 
LVL 2

Author Comment

by:Thlware
ID: 33541320
My own trigers wont get me full details like where connection comes from whats the query and its parameters
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 33541530
that's right, but they can record insert/update/delete activity including the username that did it, which can be useful
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 2

Expert Comment

by:markusventer
ID: 33546663
FB 2.5 is a step in the right direction to solve this requirement.
0
 
LVL 2

Author Comment

by:Thlware
ID: 33555949
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
 
LVL 2

Expert Comment

by:markusventer
ID: 33571170
I am not aware of any - if you find something, please share it with us.
0
 
LVL 2

Accepted Solution

by:
Thlware earned 0 total points
ID: 33571634
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
 
LVL 4

Expert Comment

by:complexymetron
ID: 33581945
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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question