shlomikalfa Posted January 18, 2009 Share Posted January 18, 2009 Any way to get these larger than 100MB or any workaround for that matter ?!? Christ... 100MB is too small for a "DB" they should have called it - Note-Book or something like that... Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/ Share on other sites More sharing options...
trq Posted January 18, 2009 Share Posted January 18, 2009 If that is the limit they have provided, no there isn't any work around. Niether does this have anything at all to do with php help. I suggest if 100mg isn't enough for you, upgrade hosting plans. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739596 Share on other sites More sharing options...
Lamez Posted January 18, 2009 Share Posted January 18, 2009 take a look at servage, they have good hosting, there is a link in my sig. I get tons of space for DB's. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739615 Share on other sites More sharing options...
PFMaBiSmAd Posted January 18, 2009 Share Posted January 18, 2009 What exactly are you storing in the database? If it is images or files, you should store them as files in a folder. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739621 Share on other sites More sharing options...
nrg_alpha Posted January 18, 2009 Share Posted January 18, 2009 What exactly are you storing in the database? If it is images or files, you should store them as files in a folder. I'm not knowledgable in databases to be honest (one of the next things on my self-educating list). In the risk of sounding foolish, wouldn't storing them in folders be a given? Or is there an actaul way to store the actual image itself within a database? Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739702 Share on other sites More sharing options...
trq Posted January 18, 2009 Share Posted January 18, 2009 is there an actaul way to store the actual image itself within a database? Yes. You can store binary data within a BLOB field type. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739705 Share on other sites More sharing options...
nrg_alpha Posted January 18, 2009 Share Posted January 18, 2009 is there an actaul way to store the actual image itself within a database? Yes. You can store binary data within a BLOB field type. Ah, ok..just checking. And as such, I suppose if the image size and / or count is large, it becomes unpractical to store it directly... Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739708 Share on other sites More sharing options...
chronister Posted January 18, 2009 Share Posted January 18, 2009 I use 1&1 too, and there is no way to increase the size of the DB without moving to a VPS, or Dedicated server. The shared packages are capped at 100MB. But you probably have like 100 of em. Really when you think about it, since your storing just text strings and such, a 100MB database is pretty decent size. I don't think I have ever hit that size, not on the 1&1 db's, my personal testing server ( which runs a site for my wife that contains, address book, recipes, blog and a few other things). Nate Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739792 Share on other sites More sharing options...
PFMaBiSmAd Posted January 18, 2009 Share Posted January 18, 2009 And as such, I suppose if the image size and / or count is large, it becomes unpractical to store it directly... It's the other way around. File systems are designed to store and retreive large quantities and sizes of files. Databases are designed to store data that you want to manipulate. You cannot manipulate the binary data in files stored in a database in a meaningful way. That combined with the additional overhead of serving files out of a database, limitations, such as the maximum packet size you can transfer in a single query that limits the size of a file that can be stored or retrieved, or that dumping binary blob data is done in hex giving data that is double the size of the actual stored binary file all make using a database as a file storage engine an exercise in inefficiency and wasted processing time. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739823 Share on other sites More sharing options...
nrg_alpha Posted January 18, 2009 Share Posted January 18, 2009 And as such, I suppose if the image size and / or count is large, it becomes unpractical to store it directly... It's the other way around. File systems are designed to store and retreive large quantities and sizes of files. Databases are designed to store data that you want to manipulate. You cannot manipulate the binary data in files stored in a database in a meaningful way. That combined with the additional overhead of serving files out of a database, limitations, such as the maximum packet size you can transfer in a single query that limits the size of a file that can be stored or retrieved, or that dumping binary blob data is done in hex giving data that is double the size of the actual stored binary file all make using a database as a file storage engine an exercise in inefficiency and wasted processing time. Duly noted. Thanks for the correction... Something tells me my MySQL journey is going to be an interesting one to say the least. Quote Link to comment https://forums.phpfreaks.com/topic/141303-11-host-and-mysql-dbs/#findComment-739843 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.