mirror of https://github.com/citusdata/citus.git
20 lines
361 B
Plaintext
20 lines
361 B
Plaintext
--
|
|
-- Test the ANALYZE command for cstore_fdw tables.
|
|
--
|
|
-- ANALYZE uncompressed table
|
|
ANALYZE contestant;
|
|
SELECT count(*) FROM pg_stats WHERE tablename='contestant';
|
|
count
|
|
-------
|
|
6
|
|
(1 row)
|
|
|
|
-- ANALYZE compressed table
|
|
ANALYZE contestant_compressed;
|
|
SELECT count(*) FROM pg_stats WHERE tablename='contestant_compressed';
|
|
count
|
|
-------
|
|
6
|
|
(1 row)
|
|
|