Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2179 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 25
1651
2
ม.ค. 25
8326
3
ก.พ. 24
5554
Odoo backend to Google Data Studio แก้ไขแล้ว
2
ม.ค. 24
10138
7
ม.ค. 24
49141