What is the best way to ETL data from one Postgres cluster to another (by ETL I mean things like data sanitization and denormalization)? a) I think most people end up doing some kind of batch synchronization, but I'm interested in streaming solutions. b) A lot of folks use trigger based replication, but triggers have to be on the primary/master node, and not just on the replicas. c) Another common solution is to forc…
A list of PostgreSQL libraries, tools and resources
11–20 of 30 posts
Re: A list of PostgreSQL libraries, tools and resources
#12Is there a PostgreSQL that anyone here can recommend?
Re: A list of PostgreSQL libraries, tools and resources
#13What is the best way to ETL data from one Postgres cluster to another (by ETL I mean things like data sanitization and denormalization)? a) I think most people end up doing some kind of batch synchronization, but I'm interested in streaming solutions. b) A lot of folks use trigger based replication, but triggers have to be on the primary/master node, and not just on the replicas. c) Another common solution is to forc…
Google "Postgres BDR". It is new, but it allows you to replicate changes on master to another master. With some configuration it can even change replicated data.
One thing I'd like to see is the ability to sanitize/munge data from the source cluster before it is sent to the destination cluster, for masking sensitive data in the source cluster (PCI, HIPAA, etc).
Re: A list of PostgreSQL libraries, tools and resources
#14Re: A list of PostgreSQL libraries, tools and resources
#15Does anyone know of sample PostgreSQL databases? Something akin to Northwind ( https://northwinddatabase.codeplex.com/ )?
I'm not sure how good they are though.
Re: A list of PostgreSQL libraries, tools and resources
#16Re: A list of PostgreSQL libraries, tools and resources
#17Does anyone know of sample PostgreSQL databases? Something akin to Northwind ( https://northwinddatabase.codeplex.com/ )?
Re: A list of PostgreSQL libraries, tools and resources
#18Does anyone know of sample PostgreSQL databases? Something akin to Northwind ( https://northwinddatabase.codeplex.com/ )?
Not sure if this is what you mean but PostgreSQL 9.5 introduced TABLESAMPLE. https://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9....
Re: A list of PostgreSQL libraries, tools and resources
#19With regards to psql2csv: The default psql can already do this very nicely. Just use \copy. \copy (select whatever from whatever) to 'yourlocalfile.csv' with (format 'csv') and if you want column headers, add a "header true" inside of the with clause. Generally, \copy works just like COPY[1] but it does so from the remote server to the local machine, whereas file names given to COPY are relative to the server. Yes. A…
Re: A list of PostgreSQL libraries, tools and resources
#20What is the best way to ETL data from one Postgres cluster to another (by ETL I mean things like data sanitization and denormalization)? a) I think most people end up doing some kind of batch synchronization, but I'm interested in streaming solutions. b) A lot of folks use trigger based replication, but triggers have to be on the primary/master node, and not just on the replicas. c) Another common solution is to forc…
EDIT: doesn't really address your point b) however.