Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Preserving Tablespace Information During Synchronization #2332

Open
seonghobae opened this issue Dec 7, 2024 · 1 comment
Open
Assignees

Comments

@seonghobae
Copy link

Hello,

First of all, thank you for developing PeerDB—it's a fantastic tool that's been incredibly helpful for our data synchronization needs.

I've noticed that when synchronizing data from a source PostgreSQL database, PeerDB does not consider the tablespace settings of the source tables. All tables and indexes in the destination database are created using the default tablespace settings, without preserving the tablespaces defined in the source.

Our use case relies on custom tablespaces for performance optimization and data organization across different storage systems. The absence of tablespace preservation means we need to manually adjust the tablespaces after synchronization, which is not ideal for automated workflows.

My questions are:

  • Is there currently a way to have PeerDB preserve or replicate the tablespace settings from the source database during synchronization?
  • If not, are there any plans to support tablespace consideration in future updates?
  • Do you have any recommended workarounds for this issue in the meantime?

Your guidance on this matter would be greatly appreciated. Supporting tablespaces would enhance PeerDB's utility for users who rely on this PostgreSQL feature.

Thank you for your time and for developing such a valuable tool!

Best regards,

Seongho Bae

@heavycrystal
Copy link
Contributor

Hi @seonghobae,
This is definitely an interesting (albeit niche) ask, and it should be possible. I'll update this issue as and when we decide to implement this, it should be in the medium term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants