From e8765cfb7a90954d40a0ab53aac1f0acb3596719 Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Tue, 16 Apr 2024 11:45:11 +0300 Subject: [PATCH] Update docs --- doc/README.trace_services | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/README.trace_services b/doc/README.trace_services index a398cc7059..86155a4124 100644 --- a/doc/README.trace_services +++ b/doc/README.trace_services @@ -98,7 +98,8 @@ I. Sample configuration files for user trace sessions: a) Trace prepare, free and execution of all statements within connection 12345 - +database +{ enabled true connection_id 12345 log_statement_prepare true @@ -106,13 +107,14 @@ a) Trace prepare, free and execution of all statements within connection 12345 log_statement_start true log_statement_finish true time_threshold 0 - +} b) Trace all connections of given user to database mydatabase.fdb Log executed INSERT, UPDATE and DELETE statements, nested calls to procedures and triggers and show corresponding PLAN's and performance statistics. - +database = %[\\/]mydatabase.fdb +{ enabled true include_filter (%)(INSERT|UPDATE|DELETE)(%) log_statement_finish true @@ -121,19 +123,21 @@ b) Trace all connections of given user to database mydatabase.fdb print_plan true print_perf true time_threshold 0 - +} c) Trace connections and transactions in all databases except of security database - +database +{ enabled true log_connections true log_transactions true - +} - +database = security.db +{ enabled false - +}