Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free tool to watch database for changes?

I'm looking for a tool that can watch database(mysql and oracle) for changes.

When someone inserts or updates something in any(or chosen) table i want to get to know about it. It could be very useful for working with others people code that do some magic in database.

I know that it can be done using triggers (see this question), but I'm more interested in some tool that can do it, something free.

like image 597
IAdapter Avatar asked May 21 '10 08:05

IAdapter


People also ask

How can I monitor database activity?

Database activity monitoring is done by combining several techniques such as network sniffing, memory scraping and reading system tables and database audit logs. Regardless of the methods used, DAM tools enable data correlation so as to provide an accurate picture of all the activities in the database.

What is database monitoring tool?

What are database monitoring tools? Database monitoring tools are solutions designed to monitor your database management system. Database monitoring software uses a multi-pronged approach for performance optimization designed to help free time and resources for database admins.

What tool can be used to monitor SQL Server?

SolarWinds Database Performance Analyzer SolarWinds Database Performance Analyzer (DPA) is a comprehensive, cross-platform tool that can monitor not just Microsoft SQL Server but also Oracle, MySQL, MariaDB, Aurora, DB2 and SAP ASE.


2 Answers

For Oracle, you are looking for the AUDIT command. This one writes audit records to the SYS.AUD$ table, which you can monitor.

More information about the AUDIT statement: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_4007.htm#SQLRF01107

and about database auditing: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916

Regards, Rob.

like image 118
Rob van Wijk Avatar answered Oct 25 '22 03:10

Rob van Wijk


Not entirely sure if this is what you're after, but there's JetProfiler for MySQL, which'll let you inspect exactly what's happening on a database, query-wise. I'm quite sure there are equivalents for Oracle...

like image 30
David Hedlund Avatar answered Oct 25 '22 02:10

David Hedlund