Skip to Content
Menu
This question has been flagged
2 Replies
1572 Views

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

Avatar
Discard
Best Answer

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
Discard
Author

Thank you.

Best Answer

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
Discard
Author

Thank you for your help.

Related Posts Replies Views Activity
0
Feb 25
598
2
Jan 25
6450
3
Feb 24
4909
2
Jan 24
10137
7
Jan 24
47484