While opening the Programs and Features tool panel on my Windows 7 (64-bit), I found that my postgresql (8.4) install was taking 108 GB. I do not use postgresql myself, I just use a tool that need a postgresql db, and I am fairly confident in the fact that my postgresql databases are not that large.
When I go to the install folder of postgresql (C:\Program Files (x86)\PostgreSQL) and then clicks on properties, it displays a size of 1.45 GB. In c:\users\postgres I get 13.5 MB. I end up quite astonished by the windows diagnosis of 108 GB.
So here is the question :
How could I calculate the whole size on disk taken by postgresql (including everything : soft, logs, db, tools, etc...). Is everything located under the install folder and the postgres user folder?
I also would like to have your views on which is responsible of the mistake (if any) about the size calculation in the tool panel, postgresql or windows? How could windows end up showing that very large size information?
Thanks for your inputs!
Edit : I made several searches on the windows tool after having read the @a_horse_with_no_name comment's, and found some detailled information :
- http://social.technet.microsoft.com/Forums/zh/w7itprogeneral/thread/95af2aa5-507f-45ab-9bd1-4c4c7cde8145
- http://technet.microsoft.com/en-us/magazine/gg558108.aspx
- http://community.spiceworks.com/how_to/show/2238-how-add-remove-programs-works
So, only the my main question remains, how could I calculate the whole size taken by postgresql on my disk. Thanks.