postgresql partitioning for sparse columns like user id

join shbcf.ru