Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[database]which database should we use, sqlite, pgsql or mongodb? #5

Open
habout632 opened this issue Nov 14, 2017 · 5 comments
Open

Comments

@habout632
Copy link
Collaborator

No description provided.

@crownpku
Copy link
Member

crownpku commented Nov 14, 2017

我建议现在先是用sqlite吧,比较简单,大家觉得呢?
长远我是希望用户可以自己选择接入不同的后台,暴露给用户的文本读写的API都是一样的。

iepy用的是sqlite,我之前试用过。请参考:
https://github.com/machinalis/iepy/blob/develop/iepy/data/db.py

@crownpku crownpku changed the title which database should we use, sqlite, pgsql or mongodb? [database]which database should we use, sqlite, pgsql or mongodb? Nov 14, 2017
@JiaLei123
Copy link
Collaborator

如果是使用关系数据库的话,sqlite或者是mysql都没有什么关系,我之前用的是mysql,比sqlite好一点的是可以全程部署,是web项目和数据的部署分开。

@xxg1413
Copy link
Contributor

xxg1413 commented Nov 17, 2017

如果考虑对接计算平台,数据库的选型也很重要

@hailiang-wang
Copy link

mongodb+1

@hailiang-wang
Copy link

For mongodb, the reason is as below:

  1. Store as document, easy for review and convert.

  2. Support store big files as attachments.

  3. NoSQL based is very important. neo4j, elasticsearch are all NoSQL oriented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants