@@ -69,18 +69,13 @@ SET statement_timeout = 100; -- [0.1s]
69
69
SET aqo.statement_timeout = 150;
70
70
SELECT count(a.x1),count(B.y1) FROM A a LEFT JOIN B ON a.x1 = B.y1 LEFT JOIN A a1 ON a1.x1 = B.y1;
71
71
NOTICE: [AQO] Time limit for execution of the statement was expired. AQO tried to learn on partial data. Timeout is 63
72
- NOTICE: [AQO] Time limit for execution of the statement was increased. Current timeout is 1728
73
- count | count
74
- --------+--------
75
- 563300 | 562500
76
- (1 row)
77
-
72
+ ERROR: canceling statement due to statement timeout
78
73
select smart_timeout, count_increase_timeout from aqo_queries, aqo_query_texts
79
74
where query_text = 'SELECT count(a.x1),count(B.y1) FROM A a LEFT JOIN B ON a.x1 = B.y1 LEFT JOIN A a1 ON a1.x1 = B.y1;'
80
75
and aqo_query_texts.queryid = aqo_queries.queryid limit 1;
81
76
smart_timeout | count_increase_timeout
82
77
---------------+------------------------
83
- 1728 |4
78
+ 63 |3
84
79
(1 row)
85
80
86
81
SELECT 1 FROM aqo_reset();