V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
snowsky
V2EX  ›  Python

几千万条记录,用NoSQL还是Mysql?

  •  
  •   snowsky · Aug 13, 2013 · 9260 views
    This topic created in 4653 days ago, the information mentioned may be changed or developed.
    13 replies    1970-01-01 08:00:00 +08:00
    wenbinwu
        1
    wenbinwu  
       Aug 13, 2013
    不能只看数据量吧
    terry
        2
    terry  
       Aug 13, 2013
    这个数据量不管是传统 RDBMS 包括 mysql postgresql 还是 NoSQL Cassandra mongodb 都没问题,关键是怎么用好 NoSQL 的问题。没有足够的技术积累还是别轻易用 NoSQL...
    xzl
        3
    xzl  
       Aug 13, 2013
    pg吧,主要是要看数据结构,如果比较统一,还是pg来得合适。
    Nourl
        4
    Nourl  
       Aug 13, 2013
    看需求. 不能只靠数据量大小决定什么.
    jjplay
        5
    jjplay  
       Aug 13, 2013
    都完全可以胜任,这样问 似乎还是没有能够明白两种类型数据库的区别
    Loveyuki
        6
    Loveyuki  
       Aug 13, 2013
    可以抽象为 Key-Value 简单结构的用 NoSQL。稍微复杂点就暂时不要用 NoSQL 了。
    sampeng
        7
    sampeng  
       Aug 13, 2013
    看业务
    snowsky
        8
    snowsky  
    OP
       Aug 14, 2013
    @xzl 基本都还是结构化的数据,pg现在有取代mysql的趋势吗?怕以后还得换过来。
    snowsky
        9
    snowsky  
    OP
       Aug 14, 2013
    @terry
    @jjplay
    @Loveyuki 能举个栗子么?对NoSQL不熟悉,查了一下,的确很高深。
    cai314494687
        10
    cai314494687  
       Aug 14, 2013
    用你最熟悉的
    windyboy
        11
    windyboy  
       Aug 14, 2013
    如果是业务型的需求,传统数据库占优
    如果分析类的需求nosql开销小
    pythoner
        12
    pythoner  
       Aug 14, 2013
    @cai314494687
    不能同意更多
    Ricepig
        13
    Ricepig  
       Aug 14, 2013   ❤️ 1
    可以考虑用Column based rdbms 啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1652 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 16:21 · PVG 00:21 · LAX 09:21 · JFK 12:21
    ♥ Do have faith in what you're doing.