暂无图片
数据库中BOLB字段是如何存储的,存储格式是怎么样的?
我来答
分享
刘下来
2020-02-24
数据库中BOLB字段是如何存储的,存储格式是怎么样的?

数据库中BOLB字段是如何存储的,存储格式是怎么样的?

我来答
添加附件
收藏
分享
问题补充
5条回答
默认
最新
Cui Hulong

MySQL也有对应的的四种字段类型如下:
TinyBlob : 最大 255
Blob : 最大 65K
MediumBlob : 最大 16M
LongBlob : 最大 4G
但需要考虑一下,mysql数据库为轻量级,假如服务器64G的内存,能承载多个blob字段,底层的io交互,会对整体性能有很大的影响

暂无图片 评论
暂无图片 有用 0
打赏 0
刘下来
升级问题到: 一般问题
暂无图片 评论
暂无图片 有用 0
打赏 0
你好我是李白

希望以下官方文档对你有所帮助。
Oracle Database Performance Tuning Guide

BLOB Data Type
The BLOB data type stores unstructured binary large objects. BLOB objects can be thought of as bitstreams with no character set semantics. BLOB objects can store binary data up to (4 gigabytes -1) * (the value of the CHUNK parameter of LOB storage). If the tablespaces in your database are of standard block size, and if you have used the default value of the CHUNK parameter of LOB storage when creating a LOB column, then this is equivalent to (4 gigabytes - 1) * (database block size).

BLOB objects have full transactional support. Changes made through SQL, the DBMS_LOB package, or Oracle Call Interface (OCI) participate fully in the transaction. BLOB value manipulations can be committed and rolled back. However, you cannot save a BLOB locator in a PL/SQL or OCI variable in one transaction and then use it in another transaction or session.

暂无图片 评论
暂无图片 有用 0
打赏 0
猫瞳映月

BLOB (binary large object)----二进制大对象,是一个可以存储二进制文件的容器。
  在计算机中,BLOB常常是数据库中用来存储二进制文件的字段类型。
  BLOB是一个大文件,典型的BLOB是一张图片或一个声音文件,由于它们的尺寸,必须使用特殊的方式来处理(例如:上传、下载或者存放到一个数据库)。
  根据Eric Raymond的说法,处理BLOB的主要思想就是让文件处理器(如数据库管理器)不去理会文件是什么,而是关心如何去处理它。
  但也有专家强调,这种处理大数据对象的方法是把双刃剑,它有可能引发一些问题,如存储的二进制文件过大,会使数据库的性能下降。在数据库中存放体积较大的多媒体对象就是应用程序处理BLOB的典型例子。

暂无图片 评论
暂无图片 有用 3
打赏 0
外包DBA

https://mysqlserverteam.com/externally-stored-fields-in-innodb/
不知道上面这个链接是否有用
mysql中还是按page存储,inline不够就会用到externally

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交