Hello
I have two questions.
1, Is it possible to store cstore_date on specified location?
I tried following
SET default_tablespace = another_place;
CREATE FOREIGN TABLE ..
But cstore_fdw data still stored on $PG_DATA/cstore_fdw.
Current $PG_DATA area is too small so I would like to store another place.
2, How do I know file size specific cstore table ?
Can I create cstore size query like the following?
SELECT
objname,
to_char(pg_relation_size(objname::regclass), '999,999,999,999') as bytes
FROM (
SELECT
tablename as objname
FROM pg_tables
WHERE schemaname = 'public'
) as objects
ORDER BY bytes DESC
I can calculate table size with following command.
Any alternative idea?
ls -l $PG_DATA/cstore_fdw/*
Best regards.
--
Hiroyuki Sato.