在我当前的系统中,我将分支信息存储在RDBMS数据库中。每个分支将具有以下属性:
- 纬度和经度
- 分支ID
- 开放时间
- 物理地址
- 和其他属性,例如它是否具有ATM等。
当前系统存储在RDBMS数据库中。用户输入ZipCode并基于此信息(衍生和长(,我在半径15英里的半径内拉起所有分支。
我还希望能够通过属性进行过滤,例如分支有ATM还是分支在超市中。
现在,我通过SQL查询来做到这一点。
RDBMS是正确的DB来存储此类信息吗?我应该考虑NOSQL数据库和哪种类型。
我对没有SQL数据库以及如何以任何其他数据结构格式可视化我的数据没有足够的想法
我的分支仅限于一个状态。
有趣的是,Google如何处理?
After researching more on this topic I have found that MOngoDB
provides an excellent feature where in you can store the Location Details
in a GeoJSON format. Next this can queried using their Geospatial Query
operators. I found that after inserting around 130 objects each containing
location and an attribute , its able to fetch Nearby objects based on
co-ordinates provided in the query. The "With-in" miles can be dynamic. The
calclulation to fetch objhects neary to any location within X miles
is pretty fast ( very fast as compared to the Relational Records )
您的数据集似乎密切相关,每行之间的关系都不同。这似乎是RDBMS的理想背景(R =关系(。