开发者

Log database queries

开发者 https://www.devze.com 2023-02-22 12:04 出处:网络
I have a fairly complicated groovy script which performs some operations on an Oracle db. Is there a way to log all the queries being performed on the database during a run? I do not have DBA access t

I have a fairly complicated groovy script which performs some operations on an Oracle db. Is there a way to log all the queries being performed on the database during a run? I do not have DBA access to the db. It is tedious to trace through the code and figure all the queries being 开发者_运维技巧fired. Just was wondering if there was a way to log the actual queries instead.

Thanks.


Eventually used this log4jdbc

0

精彩评论

暂无评论...
验证码 换一张
取 消