콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2159 화면

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
2월 25
1633
2
1월 25
8279
3
2월 24
5531
2
1월 24
10138
7
1월 24
49090