https://www.bqprime.com/law-and-policy/biz-sebi-digital-database?utm_source=telegram&utm_medium=referral&utm_campaign=socialshare
The database needs to be preserved for at least eight years after completion of the relevant transactions.