Skip to Content.
Sympa Menu

overpass - Re: [overpass] large size of area_blocks.bin

Subject: Overpass API developpement

List archive

Re: [overpass] large size of area_blocks.bin


Chronological Thread 
  • From: Donal Diamond <>
  • To:
  • Subject: Re: [overpass] large size of area_blocks.bin
  • Date: Mon, 5 Sep 2016 10:21:07 +0100

Here's 'ls' rather than 'du' output:

overpass/db$ ls -al area*
-rw-rw-r-- 1 overpass overpass 17975148544 Sep  5 10:16 area_blocks.bin
-rw-rw-r-- 1 overpass overpass        3720 Sep  5 10:12 area_blocks.bin.idx
-rw-rw-r-- 1 overpass overpass        3720 Sep  5 10:12 area_blocks.bin.idx.shadow
-rw-rw-r-- 1 overpass overpass           8 Sep  5 10:12 area_blocks.bin.shadow
-rw-rw-r-- 1 overpass overpass   294125568 Sep  5 10:16 areas.bin
-rw-rw-r-- 1 overpass overpass          24 Sep  5 10:12 areas.bin.idx
-rw-rw-r-- 1 overpass overpass          24 Sep  5 10:12 areas.bin.idx.shadow
-rw-rw-r-- 1 overpass overpass           8 Sep  5 10:12 areas.bin.shadow
-rw-rw-r-- 1 overpass overpass           5 Sep  5 10:12 areas_shadow.lock
-rw-rw-r-- 1 overpass overpass  2105344000 Sep  5 10:16 area_tags_global.bin
-rw-rw-r-- 1 overpass overpass         922 Sep  5 10:12 area_tags_global.bin.idx
-rw-rw-r-- 1 overpass overpass         922 Sep  5 10:12 area_tags_global.bin.idx.shadow
-rw-rw-r-- 1 overpass overpass           8 Sep  5 10:12 area_tags_global.bin.shadow
-rw-rw-r-- 1 overpass overpass  2352840704 Sep  5 10:16 area_tags_local.bin
-rw-rw-r-- 1 overpass overpass        2892 Sep  5 10:12 area_tags_local.bin.idx
-rw-rw-r-- 1 overpass overpass        2892 Sep  5 10:12 area_tags_local.bin.idx.shadow
-rw-rw-r-- 1 overpass overpass           8 Sep  5 10:12 area_tags_local.bin.shadow
-rw-rw-r-- 1 overpass overpass          21 Sep  5 10:05 area_version
-rw-rw-r-- 1 overpass overpass          21 Sep  5 10:12 area_version.shadow


On 5 September 2016 at 10:06, Donal Diamond <> wrote:


On 5 September 2016 at 09:15, Roland Olbricht <> wrote:

could you please post the file sizes of all the area files, i.e.
do a "ls -l" in the db directory and post the result?

Everything else, e.g. the /api/ping call (delivers fresh Irish data), looks fine from outside. In particular, the area process should reuse old data blocks on every cycle, and the best hypothesis I have so far is that it doesn't for an unknown reason. The file sizes of the ".idx.shadow", ".idx" and ".shadow" files should shed some light on that.

Here you go:

/overpass/db$ du -sh area*
17G     area_blocks.bin
4.0K    area_blocks.bin.idx
4.0K    area_blocks.bin.idx.shadow
4.0K    area_blocks.bin.shadow
280M    areas.bin
4.0K    areas.bin.idx
4.0K    areas.bin.idx.shadow
4.0K    areas.bin.shadow
4.0K    areas_shadow.lock
2.0G    area_tags_global.bin
4.0K    area_tags_global.bin.idx
4.0K    area_tags_global.bin.idx.shadow
4.0K    area_tags_global.bin.shadow
2.2G    area_tags_local.bin
4.0K    area_tags_local.bin.idx
4.0K    area_tags_local.bin.idx.shadow
4.0K    area_tags_local.bin.shadow
4.0K    area_version
4.0K    area_version.shadow

D






Archive powered by MHonArc 2.6.18.

Top of Page