Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1854 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

Thank you.

Nejlepší odpověď

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!

Avatar
Zrušit
Autor

Thank you for your help.

Related Posts Odpovědi Zobrazení Aktivita
0
úno 25
1093
2
led 25
7372
3
úno 24
5246
2
led 24
10137
7
led 24
48290