5

Can we create materialized views with partitions in PostgreSQL (version 10.7) ?

Thanks

1 Answer 1

3

No, you cannot, and it is not easy to think of a use case for that.

True, some carefully designed queries can be faster on a partitioned table, but most queries become slower.

You can work around the “deficiency” by creating a table and filling it with INSERT INTO ... SELECT ....

Sign up to request clarification or add additional context in comments.

1 Comment

> a use case for that. Aggregations / reporting e.g. postgresql.org/message-id/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.