跳至内容
菜单
此问题已终结
2 回复
1569 查看

I would like to know that calculation db growth cos want to plan for next 3 years

形象
丢弃
最佳答案

Hi,

you can execute the following query which will return the size of your db.

SELECT pg_size_pretty(pg_database_size(current_database()));


Thanks

形象
丢弃
编写者

Thank you.

最佳答案

This really depends on a lot of factors, e.g., company size, number of users, number of installed modules, number of transactions within each modules, etc. Also take into account company growth, which is dependent on many additional factors. Moreover, what happens after 3 years. If you are concerned that the growth might exceed the current configuration, you could opt for some orchestration/provisioning tools (e.g., Docker Swarm, K8s, Terraform), which allow you to implement e.g., auto-scaling, load balancing. That way your setup will always meet the demand. I hope this helps!

形象
丢弃
编写者

Thank you for your help.

相关帖文 回复 查看 活动
0
2月 25
594
2
1月 25
6434
3
2月 24
4905
2
1月 24
10137
7
1月 24
47476