Not in all countries. Germany used to have explicit laws against combining state and federal record bases, they were only recently eroded to "fight terrorism".