NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I haves successfully built my tile server using the following link for UK. Now I need the my server to have the data of the entire planet. I was wondering how much memory would the database need?

Also, I saw that the .pfb file for the entire planet is around 50-60GB then why is the disk space required mentioned over 1TB in this answer ?

And how often is it advised to update the server from the OSM server? I see that there are daily, minutely and hourly difference updates. But if I update it once a week would it cost me more(in terms of time and disk space)

asked 17 Oct '18, 20:55

vishy91's gravatar image

accept rate: 0%

edited 17 Oct '18, 20:56

It depends on what kind of performance you expect. For worry-free operations I suggest 64 GB of RAM but you can make do with 48 or even 32 if you absolutely have to. As for the database usage, I suggest that you simply look at how big your database currently is, compare that to the size of the UK data file you have imported, and then extrapolate that to the size of the planet file. My guess is you'll end up at around 600 GB. Add 20% to that for index/table bloat and the necessary working space to rebuild indexes from time to time; and don't forget that OSM data also grows by about 10% per year.

Updating once a week would mean that the update takes a long time; perhaps up to one day. During this time your server will be slower than usual since it is very busy doing updates. If your server usage is such that you have low-use periods every day (e.g. during the night) then it could be a good idea to run daily updates because you could nicely fit them into the low-activity window.

permanent link

answered 17 Oct '18, 22:53

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Oct '18, 20:55

question was seen: 2,081 times

last updated: 17 Oct '18, 22:53

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum