Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1985 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thank you.

Najlepsza odpowiedź

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!

Awatar
Odrzuć
Autor

Thank you for your help.

Powiązane posty Odpowiedzi Widoki Czynność
0
lut 25
1304
2
sty 25
7716
3
lut 24
5349
2
sty 24
10137
7
sty 24
48647