on 2020 Oct 27 3:16 PM
After calling the sa_get_request_times procedure, the satmp_request_hostvar table has only the first hostvar of each statement.
Looking at the original request log file, all the host variables are there. It looks like sa_get_request_times is only considering the first one.
I reproduced this error in two different database versions: SA_1600_2127 and SA_1700_2053.
Am I doing something wrong or should I just open an incident for the SA_17 version?
Commands used to activate the request logging:
call sa_server_option( 'RequestLogging', 'SQL+hostvars'); call sa_server_option( 'RequestLogFile', '..\\\\requests.sql'); call sa_server_option( 'RequestLogMaxSize', 50000000);
Command used to analyze the generated request log file:
call sa_get_request_times('..\\\\requests.sql.old');
Thanks in advance.
Sorry, I do not recall if I actually tried this at the time (likely because of not having a request log available with hostvars). I have confirmed your findings and have a fix in progress.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
11 | |
11 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.