Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase RDS storage space of mariadb us-west #654

Closed
glogiotatidis opened this issue Nov 24, 2017 · 4 comments
Closed

Increase RDS storage space of mariadb us-west #654

glogiotatidis opened this issue Nov 24, 2017 · 4 comments

Comments

@glogiotatidis
Copy link
Contributor

The SUMO database currently weights 93Gb. So we need at least 200Gb of free space in our MariaDB rds instances and replicants to be able to have two copies of it.

Command used to calculate size:

SELECT table_schema "Data Base Name",
    sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB",
    sum( data_free )/ 1024 / 1024 "Free Space in MB"
FROM information_schema.TABLES
GROUP BY table_schema ; 
+---------------------+----------------------+------------------+
| Data Base Name      | Data Base Size in MB | Free Space in MB |
+---------------------+----------------------+------------------+
| information_schema  |           0.00976563 |       0.00000000 |
| support_mozilla_com |       93205.15625000 |    1751.00000000 |
+---------------------+----------------------+------------------+
@bookshelfdave
Copy link
Contributor

According to the "Settings for MariaDB DB Instances" section of this document, changing the allocated storage space won't cause any downtime, but "Performance may be degraded during the change. "

@bookshelfdave
Copy link
Contributor

@jgmize any ideas on how to proceed?

@jgmize
Copy link
Contributor

jgmize commented Nov 27, 2017

@metadave and I just discussed our options, summarizing here:

Because of global replication, we can't just increase the size in us-west: we'd need to increase the storage in all the regions. There would also be a performance degradation for all the sites that use mariaDB (snippets, basket, & careers) for an unknown time frame. The quickest, safest, and most cost effective option for this quarter is to spin up a new t2.small RDS instance appropriately sized for sumo dev, and then we can plan on resizing as necessary as we may need to increase to a t2.medium or larger for dev. For prod we would plan on using a larger instance.

@bensternthal the monthly cost on a t2.small RDS instance is ~$49/mo, and if we need a t2.medium it'll be ~$98/mo.

@jgmize
Copy link
Contributor

jgmize commented May 22, 2018

closing old issue; we ended up giving SUMO dedicated RDS instances.

@jgmize jgmize closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants