PostgreSQL anatomy extension

January 31, 2021 ยท View on GitHub

This is a prototype for a PostgreSQL extension that implements the Anatomy privacy algorithm along with other helpful functions like dataset analyser and data supresser.

It's not very efficient for big datasets as it's written with Pl/Python and most functions read the dataset to memory. To make it practical, it should be rewritten in Pl/pgSQL or C.

At the time being this extension is most useful for learning how Anatomy anonymization technique works by playing around with the dataset analyzer or debugging the algorithm step-by-step.

Setup and usage is described in readme.txt

Example: anatomy with 3 - diversity

Initial table

full

QI table

qi

SA table

sa