postgis - Database that supports three-dimensional spatial indexing -


i have set of 10 million documents tagged geolocation , time, growing @ rate of 100,000 per day. need way query documents nearby given latitude/longitude, want take time account (more recent documents should more highly weighted).

my current solution takes 300 ms run query , struggling under increased load, trying figure out better way it. made prototype using 3-dimensional kd-tree (on latitude, longitude, , time), , insanely fast (<1 ms). however, not @ suitable production -- required loading whole thing in memory, , more importantly there doesn't seem way write to/delete kd-tree. i'm looking production-ready database offers approaching kind of speed, supports normal insert , update operations.

i looked postgis, says supports 2-4 dimensional spatial fields. however, couldn't find conclusive information on whether or not supports >2 dimensional spatial indices. know if support 3d index, , if seem relatively performant? if not, other options out there?

thanks in advance.

after bit of googling, found this page has useful information on n-d indexing in postgis. looks postgis way go problem; i'll try build prototype tomorrow.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -