Maintenance on Tuesday, September 12
Posted: Sat Sep 12, 2015 2:10 pm
One of our goals is to, every weekend, make one or two performance improvements. Even though the system is running great now, the goal is to always stay ahead of the possibility of an increasing number of customers causing a system crash at some indefinite point in the future.
One of the ways we have been improving performance is by changing the types of some columns into smaller datatypes. On Tuesday, we plan to continue this practice by changing coin_id from 8 bytes to 2 bytes in the shares tables. With these tables containing hundreds of millions of rows, a seemingly minor change like this can reduce the size of the database by 4GB and reduce the amount of data that needs to be written to the disks when shares are inserted.
To accomplish this change, we need to lock the table and rewrite it. The process will take about two hours and will occur sometime on Tuesday.
One of the ways we have been improving performance is by changing the types of some columns into smaller datatypes. On Tuesday, we plan to continue this practice by changing coin_id from 8 bytes to 2 bytes in the shares tables. With these tables containing hundreds of millions of rows, a seemingly minor change like this can reduce the size of the database by 4GB and reduce the amount of data that needs to be written to the disks when shares are inserted.
To accomplish this change, we need to lock the table and rewrite it. The process will take about two hours and will occur sometime on Tuesday.
- Mining will not be affected.
- Some charts on the website will fail to load during the maintenance period.
- Earnings will appear to fall behind during the maintenance period.
- When the maintenance period is over, any data that was delayed in being inserted into the database will be inserted over the course of 15 minutes.