How to reduce the size of an eHealth database