From baa629c316840c26017dbd9114ef76e16e20df04 Mon Sep 17 00:00:00 2001 From: Michael Averbukh Date: Wed, 13 Jan 2021 13:10:39 +0300 Subject: [PATCH] Experimental code to understand total time and execution time in OmniSQL measurements --- ThriftHandler/DBHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ThriftHandler/DBHandler.cpp b/ThriftHandler/DBHandler.cpp index 2c1878a127..a185ac2b79 100644 --- a/ThriftHandler/DBHandler.cpp +++ b/ThriftHandler/DBHandler.cpp @@ -1024,6 +1024,8 @@ void DBHandler::sql_execute(TQueryResult& _return, at_most_n); }); } + LOG(INFO) << "[Averbukh] _return.total_time_ms = " << _return.total_time_ms; + LOG(INFO) << "[Averbukh] _return.execution_time_ms = " << _return.execution_time_ms; // if the SQL statement we just executed was a geo COPY FROM, the import // parameters were captured, and this flag set, so we do the actual import here