简体   繁体   中英

Which Database System to use RDBMS or NoSQL - Storing Branch Data

In my current system , I store Branch information in a RDBMS Database. Each Branch will have the following attributes :

  1. Latitude and Longitude
  2. Branch ID
  3. Open Hours
  4. Physical Address
  5. and other properties such as whether it has ATM etc .

The current system is stored in RDBMS database. Users input a ZIPCODE and based on this information ( Derive Lat and Long ) I pull up all branches within 15 mile radius.

I also want the capability of Filtering through Attributes like whether the Branch has an ATM or The Branch is in a SuperMarket.

Right now I do this through SQL queries.

Is the RDBMS the correct DB to store such information ? Should i consider NoSQL Database and of which type.

I don't have enough Idea about No SQL database and how my data can be visualized in any other data structure format

My Branches are limited to only one State.

Interestingly , how does Google Deal with this ?

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 )

Your data sets seem to be strongly correlated, with different relations between each rows. It seems the ideal context for a RDBMS (R=relational).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM