Hi,
I don't know much about your tables, but maybe (i.e. when they comply with the requirements) you could use table partitioning. Create a partitioned table and use "ALTER TABLE … ATTACH PARTITION …" to bring them all together.
See https://www.postgresql.org/docs/current/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE and the ALTER TABLE statement for details.
Cheers, Frank.
A series of table like tttt.table1, ttt.table2 has been generated in the schema ttt. How best to union all these tables into a whole one?They have the exact same columns.Regards,David
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных