dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Postgres schema support partition table feature #424

Open dhiaayachi opened 2 weeks ago

dhiaayachi commented 2 weeks ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like Most temporal sql query use shard_id as condition, for postgres database partition by hash is nice for large table. Maybe some table partition number could be number of shards.

Describe alternatives you've considered No.

Additional context https://www.postgresql.org/docs/current/ddl-partitioning.html

dhiaayachi commented 1 day ago

Thank you for your feature request! It's great to hear about your interest in using table partitioning with Temporal.

While Temporal doesn't currently directly support table partitioning, you can explore other ways to achieve similar performance benefits. Here are a few suggestions:

Please let us know if you have any further questions. We are always happy to help!

dhiaayachi commented 1 day ago

Thank you for the feature request!

While Temporal doesn't currently offer direct integration with PostgreSQL table partitioning, you can achieve similar results through:

We value your input and will consider your suggestion for future improvements.