Topic on Talk:Notifications

Jump to navigation Jump to search

More than 2,000 Notifications, will start to be removed

7
Quiddity (WMF) (talkcontribs)

https://gerrit.wikimedia.org/r/#/c/159413/ - This update adds a script to delete any Notifications that are older than the most recent 2,000.

Up until now, they were stored indefinitely, meaning that some users have many thousands of read Notifications adding up in the database. 2,000 was chosen, because it is the number of Notifications that the "mark all as read" button effects.

Quiddity (WMF) (talkcontribs)
Ricordisamoa (talkcontribs)

What if I want to preserve important notifications and delete the newest instead?

Quiddity (WMF) (talkcontribs)

For indefinite preservation, I think the best option would probably be to enable the "email" preference for whichever notification types you want to keep records for.

Is there a particular type(s) of notifications that you're thinking of? Giving a few examples almost always helps. :)

Rich Farmbrough (talkcontribs)

I would have thought the number of users with > 2000 edits would be small. If you ware worried about database size, maybe deleted some of those millions of "users" who have never edited or been welcomed.

Quiddity (WMF) (talkcontribs)

This change was just regarding number of echo notifications, not edits.

Rich Farmbrough (talkcontribs)

I would have thought the number of users with > 2000 edits would be small. The number with > 2,000 echoes smaller still.

Rich Farmbrough 02:15, 7 May 2016 (UTC).

Reply to "More than 2,000 Notifications, will start to be removed"