Most active commenters
  • daamien(4)
  • hylaride(3)

←back to thread

PostgreSQL Anonymizer

(postgresql-anonymizer.readthedocs.io)
243 points chynkm | 15 comments | | HN request time: 0.208s | source | bottom
1. dandiep ◴[] No.42735562[source]
This is a fantastic idea. Now how to get it on RDS…
replies(5): >>42735841 #>>42735970 #>>42737722 #>>42738098 #>>42738223 #
2. zdc1 ◴[] No.42735841[source]
Assuming if it's for a support team or internal users with a lower SLA, I wonder if it's possible to have a small self-hosted PostgreSQL server that basically acts as a shim by holding a foreign-data wrapper connection to the actual RDS instance
replies(2): >>42735969 #>>42744669 #
3. ◴[] No.42735969[source]
4. willgdjones ◴[] No.42735970[source]
+1 for RDS support. I have wanted to use this for a while in our production systems. reply
replies(1): >>42738107 #
5. symfoniq ◴[] No.42737722[source]
Same. Lack of RDS support is the only reason we aren’t using this.
replies(2): >>42738105 #>>42740715 #
6. hylaride ◴[] No.42738098[source]
It can be done manually:

https://dba.stackexchange.com/questions/306661/how-to-instal...

replies(1): >>42744657 #
7. hylaride ◴[] No.42738105[source]
It can be done manually:

https://dba.stackexchange.com/questions/306661/how-to-instal...

reply

replies(1): >>42744745 #
8. hylaride ◴[] No.42738107[source]
It can be done manually:

https://dba.stackexchange.com/questions/306661/how-to-instal...

reply

9. debarshri ◴[] No.42738223[source]
In RDS, if you cannot use this, you can create masked view and use query rewrite to make it work.

In my experience PG anonymizer has performance issues when it comes to large queries.

replies(1): >>42744675 #
10. edrenova ◴[] No.42740715[source]
Just to jump in here -> We support RDS + more and you can self-host, Neosync.

https://github.com/nucleuscloud/neosync

(I'm one of the co-founders)

replies(1): >>42741339 #
11. BoorishBears ◴[] No.42741339{3}[source]
I tried to figure out how/if this does what I need and your README had no examples. I clicked a couple of level deep, found no obvious demonstrations and left.

I checked the homepage but I do not watch Loom-style demos personally, definitely not 5 minute ones, and so I left.

-

When I click on OP's link, or just search for it on Google, it takes less than a full page for the extension to show me an extremely straightforward demonstration of its value. You should have something like that.

A simple example of what queries will look like, what setup will look like, all concisely communicated, no 5 minute lectures involved.

12. daamien ◴[] No.42744657[source]
PostgreSQL Anonymizer developer here : this was possible with version 0.8 which is now completely unmaintained.

This extension is currently not available on RDS but it is available on many others DBaaS providers : Azure SQL, Google Cloud SQL, Crunchy Bridge, ....

13. daamien ◴[] No.42744669[source]
This called "Masking Data Wrappers"

https://postgresql-anonymizer.readthedocs.io/en/stable/maski...

14. daamien ◴[] No.42744675[source]
Version 2.0 was released a few days ago. It's a complete rewrite in Rust.

Performance should be better than with v1.x

15. daamien ◴[] No.42744745{3}[source]
PostgreSQL Anonymizer developer here : this was possible with version 0.8 which is now completely unmaintained. This extension is currently not available on RDS but it is available on many others DBaaS providers : Azure SQL, Google Cloud SQL, Crunchy Bridge, ....