تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1686 أدوات العرض

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
فبراير 25
763
2
يناير 25
6790
3
فبراير 24
5002
2
يناير 24
10137
7
يناير 24
47871