]> jfr.im git - irc/freenode/web-7.0.git/blame - content/news/2012-04-06-database-prune.md
2021-06-05: update people
[irc/freenode/web-7.0.git] / content / news / 2012-04-06-database-prune.md
CommitLineData
c5293e15 1---
849bdd6f
SB
2author: Martinp23
3date: 2012-04-06 20:33:38+00:00
4slug: database-prune
5title: Database prune
c5191f36
EK
6category: community
7category: development
8category: freenode
9category: infrastructure
10category: technical
df8e5765 11imported: yes
3406dcfa 12robots: noindex
849bdd6f 13---
849bdd6f
SB
14Every couple of years, freenode likes to get out the shears and prune the services database. Recently we broke the 80,000 usercount barrier, but the services stats are way ahead:
15
797f79ff
EK
16> Sat 13:35:46 -OperServ(OperServ@services.)- Registered accounts: 446777<br>
17> Sat 13:35:46 -OperServ(OperServ@services.)- Registered nicknames: 557497<br>
18> Sat 13:35:47 -OperServ(OperServ@services.)- Registered channels: 141373<br>
951245ff
EK
19
20We've noticed that nearly half of the accounts shown there haven't been used in
21the past 6 months! More importantly, over the past few months many people have
22noticed significant waits when issuing certain services commands - and we'd
23like to fix that.
24
25Hopefully, the [services
26upgrade](http://blog.freenode.net/2012/04/help-us-test-our-services-upgrade/)
27should help with this, but we're going to coincide this with a database prune.
28
29As of the services upgrade date, any nicks unused for > 150 days are at risk of
30being dropped. This includes grouped nicks. The easy way to avoid this
31happening is to use each of your grouped nicks (while identified to the
32appropriate account) within the next few weeks - and to drop those that you
33don't need anymore!
34
35The testnet (testnet.freenode.net, port 9002. 9003 for SSL) is running a
36database snapshot from mid-March and will be periodically updated from the
37production network. This database instance is being regularly pruned - so check
38there to see how your account will be affected (use /msg nickserv info on both
39the production and test networks to see the differences).
40
41Remember that testnet isn't running a real-time duplicate of the production
42network, so when you use nicks which would be expired on the production
43network, they will still appear expired on testnet until the next database
44snapshot is migrated. Don't worry though - the actual pruning will only occur
45on the current database at the time of upgrade.
46
47On which note.. an upgrade date hasn't been formally fixed but we're aiming for
48mid-May.
49
50Thanks, and don't forget to [test the
51testnet](http://blog.freenode.net/2012/04/help-us-test-our-services-upgrade/)!