Solved

How do I get traces on firebird remotely

Posted on 2010-08-27
8
695 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Slow SQL query 12 61
Powershell script 13 101
How to send multiple emails at the same time in PHP 12 59
T-SQL: New to using transactions 9 25
Creating and Managing Databases with phpMyAdmin in cPanel.
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
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…

773 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