简体   繁体   中英

Which Database to prefer for tree traversal?

I am trying to create a smart interface where when user enter a street name, they get suggestion for locality,city(all cities containing same street name), state, country etc.

Right now I am trying to make it work on MongoDB , but have doubt on its performance. I will appreciate any suggestion on, how to use MongoDB effectively or other databases better suitable for this purpose. i`m using Nosql as we need high efficiency.

Note. above example is hypothetical one, i need for multiple purpose, where connection can be complex.

有关系时,NoSQL数据库不是最有效的数据库,它们对于通过键和非规范化数据库进行检索最有用,如果您的数据模型中有关系,则最有效的是关系数据库(SQL)

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