on 2016 Jun 03 9:33 AM
Hi,
Our customer has a strange problem with a very tiny table (it has only 100-200 rows):
CREATE TABLE test ( id BIGINT PRIMARY KEY DEFAULT AUTOINCREMENT, uid BIGINT NULL )
These statements do work immediately:
SELECT count() from test; SELECT min(id) from test; SELECT FIRST id FROM test ORDER BY id DESC;
This statement doesn't, i. e. runs "forever":
SELECT max(id) from test;
Execution plan for this statement:
( Plan [B] ( SingleRowGroupBy ( RowLimit ( IndexOnlyScan test test**(R) ) ) ) )
This happens only in one DB instance, other instances work as expected.
The table and its primary key were validated without errors.
Isolation_level is always 0, so locking problems should not be the reason.
Any thoughts, what else should we check or do to make it work?
Version - SA11.
Thanks.
Request clarification before answering.
User | Count |
---|---|
64 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.