Conduent Interview Question

What is referential integrity and how to make query run faster.