• 请不要在回答技术问题时复制粘贴 AI 生成的内容
still97
V2EX  ›  程序员

Mysql-json 字段的内存占用问题

  •  
  •   still97 · Aug 8, 2022 · 1994 views
    This topic created in 1571 days ago, the information mentioned may be changed or developed.

    mysql 的 json 字段与 text 、mtext 、ltext 相比的话,哪个内存占用更大呢?如果业务场景没有字段 key 查询或者修改替换的操作,那么推荐哪个字段合适?

    ylls
    ylls
    Aug 8, 2022
    1
    内存占用不应该是看你存储的内容大小嘛。 没有查询就存 text 呗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:34 · PVG 06:34 · LAX 14:34 · JFK 17:34
    ♥ Do have faith in what you're doing.