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.