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

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

问题描述

我在一个普通的TXT文件保存10.000 API调用的答案。还有的大部分事情都数百设置最..

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?

-sample数据: http://pastebin.com/C5yjSjCf

-sample data: http://pastebin.com/C5yjSjCf

-scheme: http://awis.amazonaws.com/AWSAlexa/AWSAlexa.xsd

感谢

推荐答案

我能想到的两个解决方案,

I can think of two solutions,


  1. 使用许多的NoSQL数据库之一,检查<一href=\"http://stackoverflow.com/questions/5520620/quick-reference-guide-to-various-nosql-databases\">this出,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天全站免登陆