This includes sessions that have issued a USE statement on the database. Performance Shrinking a database can take a large amount of time and system resources, depending on the size of the actual data within the database, and the amount of fragmentation on disk.