Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1797 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you.

Câu trả lời hay nhất

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!

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for your help.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 25
979
2
thg 1 25
7220
3
thg 2 24
5169
2
thg 1 24
10137
7
thg 1 24
48111