GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech SQL Database Question - BLOB (https://gfy.com/showthread.php?t=1350613)

Publisher Bucks 12-13-2021 01:09 PM

SQL Database Question - BLOB
 
Is there any reason that I shouldnt just set all fields in a table as 'BLOB' in terms of server usage, security, etc?

Colmike9 12-13-2021 01:21 PM

It could use up a lot of data and might mess up your backups depending on how you have them set up, tho.

Colmike9 12-13-2021 01:28 PM

Quote:

Originally Posted by Colmike9 (Post 22943555)
It could use up a lot of data and might mess up your backups depending on how you have them set up, tho.

...I might be thinking about people who have done this before, but were storing files in the DB when they shouldn't be in there lol.

Publisher Bucks 12-13-2021 02:17 PM

Quote:

Originally Posted by Colmike9 (Post 22943555)
It could use up a lot of data and might mess up your backups depending on how you have them set up, tho.

This is just for text based content, from what I've been reading, theres a camp that says it doesnt really matter, and another that says it may do what you said, but nobody has actually been able to provide evidence that it effects backups that have that train of thought, other than with images.

I'm just honestly annoyed that I keep having to change these settings anytime I throw a new table together and cant just copy and paste in the info to create them lol

Klen 12-13-2021 02:45 PM

Yes i think i read somewhere how it's bad to use it so i never used it so cant really tell . But i am used anyway to limitation of characters and type of input so no need for it anyway. That is handy to prevent "surprise" injections.

k0nr4d 12-14-2021 06:22 AM

It's useful if you want to store like any type of character set in a field, or if you want to store a file in the database. It's useful sometimes.

It does sometimes cause issues with backups/mysqldump etc, though


All times are GMT -7. The time now is 06:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123