Solved

How do I get traces on firebird remotely

Posted on 2010-08-27
8
668 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
 
LVL 2

Expert Comment

by:markusventer
ID: 33546663
FB 2.5 is a step in the right direction to solve this requirement.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now