Changes between Version 7 and Version 8 of DataStorageEN
- Timestamp:
- Jan 5, 2011, 2:14:04 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DataStorageEN
v7 v8 16 16 ''available since '''V0.16-1''''' 17 17 18 '''What is this good for ?''' 18 '''What is this good for ?'''[[br]] 19 19 As mentioned earlier in this thread and also in a related Mappero thread, tile take up more space than expected because each tile, even if only 500B in size, takes a whole 64kB cluster. 20 20 When using sqlite for tile storage, there are basically just 2 files per layer, not the usual tens of thousands of files and folders. 21 21 22 '''How to enable sqlite tile storage ?''' 22 '''How to enable sqlite tile storage ?'''[[br]] 23 23 Go to '''options'''->'''map''' and switch '''tile storage''' from '''files''' to '''sqlite'''. 24 24 25 '''Is it stable ?''' 25 '''Is it stable ?'''[[br]] 26 26 It seems to work OK for both normal automatic tile download (including overlay) and batch download. But some errors can still can show up, so please report any unusual behavior when using this ! :) 27 27 28 '''What about the 4GB maximum file size limit on FAT32 ?''' 28 '''What about the 4GB maximum file size limit on FAT32 ?'''[[br]] 29 29 When a size of the storage database reaches 3.7 GB, a new one is added. The is no limit on the number of storage databases. 30 30 31 '''How does it work ?''' 31 '''How does it work ?'''[[br]] 32 32 The tiles are stored in a sqlite database as blobs. There are two types of database files, [I]lookup.sqlite[/I] and [I]store.sqlite[/I]. The lookup file stores an database that indicates in which store the requested tile is. The store file has the actual data. Multiple stores should be numbered in ascending order, starting from 0: 33 33 {{{