L
L
Lavrov952017-09-22 02:07:56
MySQL
Lavrov95, 2017-09-22 02:07:56

What type should be used to upload 30 mb pdf to mysql?

What type should be used to upload 30 mb pdf to mysql?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vyacheslav Uspensky, 2017-09-22
@Kwisatz

no. File storage is the task of the file system, you do not need to load the DBMS with this

X
xmoonlight, 2017-09-22
@xmoonlight

longblob

TINYBLOB, BLOB, MEDIUMBLOB and LONGBLOB
A binary large object that can hold a variable amount of binary data. The sorting and comparison of the values ​​for these objects is performed in a case-sensitive manner.
TINYBLOB
A binary large object column with a maximum length of 255 (2^8 - 1) characters.
BLOB
A binary large object column with a maximum length of 65535 (2^16 - 1) characters.
MEDIUMBLOB
A binary large object column with a maximum length of 16777215 (2^24 - 1) characters.
LONGBLOB
A binary large object column with a maximum length of 4294967295 (2^32 - 1) characters.

0
0xD34F, 2017-09-22
@0xD34F

longblob
say , up to 4 GB can be thrust

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question