SET vacuum_cost_delay = 0;
\timing false
DROP TABLE ta;

CREATE TABLE ta (ca int, cb int, cc int);
INSERT INTO ta VALUES (generate_series(1, 5), generate_series(1, 10000000), generate_series(1, 10000000));
ANALYZE ta;
CREATE INDEX i ON ta (ca, cb, cc);

EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

VACUUM ta;
EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

VACUUM ANALYZE ta;
EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

VACUUM FULL ta;
EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

VACUUM FULL ANALYZE ta;
EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

VACUUM ta;
EXPLAIN ANALYZE SELECT cb FROM ta WHERE ca = 1 ORDER BY cb;

DROP TABLE ta;