That's not a problem caused by the existence of the database, but by the presence of people abusing it. Prosecute those people instead of throwing out a legitimately useful tool.
The 20th century has a bunch of examples of countries that were democracies, until they weren't. That's probably the main reason for which the EU is pro-privacy. Because Europe has seen what can happen when data falls into the wrong hands.