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
kunluanbudang
V2EX  ›  Python

Mysql 的 BINARY 数据类型, 适用于什么场合( 从经验上来说 ) ?

  •  
  •   kunluanbudang · May 12, 2018 · 4591 views
    This topic created in 2910 days ago, the information mentioned may be changed or developed.
    我从未使用过
    9 replies    2018-05-13 08:45:47 +08:00
    niubee1
        1
    niubee1  
       May 12, 2018
    存文件
    jerrry
        2
    jerrry  
       May 12, 2018 via Android
    从未用过+1
    laogui
        3
    laogui  
       May 12, 2018 via Android
    知名论坛系统 vbulletin 最开始就是用 MySQL 放论坛的附件的,十五年过去了,现在数据库还是可选的附件存储方式。
    opengps
        4
    opengps  
       May 12, 2018 via Android
    以前的网站里头像是这么存的,原因可能是以前空间贵,数据库太闲置了
    realpg
        5
    realpg  
    PRO
       May 12, 2018
    文件,二进制数据流。
    jimzhong
        6
    jimzhong  
       May 12, 2018
    用过 BINARY 存储用户头像。不过现在都流行用 S3 之类的云存储服务了。
    wombat
        7
    wombat  
       May 12, 2018   ❤️ 1
    前东家的在线阅读,每页书的内容用压缩二进制存。
    msg7086
        8
    msg7086  
       May 13, 2018
    存加密后的二进制数据,比如加密的密码。
    存小文件。( BLOB )
    mgcnrx11
        9
    mgcnrx11  
       May 13, 2018
    binary 存 uuid 的二进制形式
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2458 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 68ms · UTC 05:55 · PVG 13:55 · LAX 22:55 · JFK 01:55
    ♥ Do have faith in what you're doing.