Data integrity is made up of rules for data retention, specifying or guaranteeing the amount of time data is usually retained in a selected database (commonly a relational database). To attain data integrity, these policies are persistently and routinely placed on all data coming into the procedure, and any rest of enforcement could cause glitches