Account without long activity - delete or not delete?Asked bypeggy h
What do you think: if a person has registered on the resource, but does not visit him for a long time - is it necessary to keep his account?
After all, on some resources - they are deactivated. On others - the base continues to fill them.
Both the first and the second have both pluses and minuses. How to find a compromise?
Once a week we hear for sure from a “misguided” user - “Damn, I was in the army, I thought everything, and here is a surprise, the account still exists. Thank you! ”
Although now I am confused by the inscription "on the site for 1 year and 1 month", because I really start using the service only now.
Or you can store such users in a separate database, from which they can be returned later, when the user is moved to the inactive database, it is also worth notifying him.
Delete in any case is not worth it, anything happens with users, someone decided to live a year away from civilization, someone has huge projects at work and no time to visit a resource, thousands of options, and deletion will in any case decrease loyalty, bits vseravno , but not to people.
- Do not lose users
- unload the database
-Need a place for the second database, for the archive
If such questions arise because, with a large number of users, functions like get_user_name start to work slowly, then I would change the way information is stored about users. And people are happy and not slow. No cons.
If this affects the performance of the system in any way, send a mailing list that its data has been transferred to the “archive” and discard the link to the recovery.
When archiving, transfer user data to another server.
And do not forget to create a system for recovery!
To count the dead souls, you can tick the 'IsDead' next to each user after some long time.
But can anyone tell what is the point of deleting inactive accounts?
There is another question and task.
The sense in maintaining the relevance of the project data. - benjamin yeo
Also, when registering (well, for example, to receive hidden content (such as links) some information is indicated, such as age, mobile number, city of residence, etc., which in the event of “loss” of the database can cause you any harm - it is also advisable to delete such an account.
But remembering the cases of hijacking the same uin'ov, with the help of re-registration of remote / "deactivated" email ... Maybe they still need to keep active?
So it all depends on the purpose for which the account was registered.
Moreover, on many services I would very much like to see the “self-destruction” function. Sometimes it is necessary to delete an account on their own due to non-use, so that they don’t remind themselves about themselves any more and they don’t get any calluses.
why delete? it is a pity that)
above about isDead and fragmentation correctly written.