Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I get traces on firebird remotely

Posted on 2010-08-27
8
Medium Priority
?
738 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

604 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