像关系数据库一样查询 XML/JSON 集合? [英] query XML/JSON collection like a relational database?

查看:33
本文介绍了像关系数据库一样查询 XML/JSON 集合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个普通的 txt 文件中保存了 10.000 个 api 调用答案.大多数事情有 100 多套.

i saved 10.000 api call answers in a plain txt file. there are 100s of most things have most set..

如何简单的自动导入到数据库中,高效的进行各种查询?

how to simply automatically import it into a database and make various queries efficiently?

-样本数据:http://pastebin.com/C5yjSjCf

-方案:http://awis.amazonaws.com/AWSAlexa/AWSAlexa.xsd )

谢谢

推荐答案

我能想到两个解决方案,

I can think of two solutions,

  1. 使用众多 NoSQL DB 之一,检查这个, mongoDB 看起来是个不错的选择
  2. 使用unix命令查询文件
  1. Use one of the many NoSQL DB, check this out, mongoDB looks like a good choice
  2. Use unix commands to query the file

这篇关于像关系数据库一样查询 XML/JSON 集合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆