Re: blob data types

2014-05-26 Thread Johan De Meersman
- Original Message - > From: "Reindl Harald" > To: mysql@lists.mysql.com > Sent: Monday, 26 May, 2014 11:56:26 AM > Subject: Re: blob data types > > > Am 26.05.2014 11:40, schrieb geetanjali mehra: > > I want to know where does MyISAM and innodb

Re: blob data types

2014-05-26 Thread Reindl Harald
just don't store large binary data in tables save the files somewhere in the application and keep only references to the files in the database Am 26.05.2014 12:11, schrieb geetanjali mehra: > Is it possible to move blob data type values out of table and keep it in > separate page, keeping BLOB t

Re: blob data types

2014-05-26 Thread yoku ts.
Hello, I can see MyISAM stores BLOB column as same space as other data type column, but InnoDB doesn't. (If you mean "same .ibd file" it's true) http://dev.mysql.com/doc/refman/5.6/en/innodb-row-format-overview.html ROW_FORMAT= Compact holds first 768 bytes of BLOB column, ROW_FORMAT= Dynamic or

Re: blob data types

2014-05-26 Thread geetanjali mehra
Is it possible to move blob data type values out of table and keep it in separate page, keeping BLOB the part of the table. Geetanjali Mehra Oracle and MySQL DBA Corporate Trainer On Mon, May 26, 2014 at 3:26 PM, Reindl Harald wrote: > > Am 26.05.2014 11:40, schrieb geetanjali mehra: > > I w

Re: blob data types

2014-05-26 Thread Reindl Harald
Am 26.05.2014 11:40, schrieb geetanjali mehra: > I want to know where does MyISAM and innodb stores its BLOB data ; inside > the table or outside the table. I tried to understand BLOB using MySQL > online docs but failed. inside the table, it's just a field type signature.asc Description: Ope

Re: BLOB data gets encoded as utf8!

2011-02-09 Thread Johan De Meersman
I can't help but wonder, if you send a string, does that mean you're putting text in a blob ? Blobs are binary, and thus don't get encoded in the sense of UTF8 vs Unicode. For a string, you may want a TEXT type column. On the other hand, if you're indeed trying to insert binary data, it is not the

RE: BLOB data gets encoded as utf8!

2011-02-09 Thread Andreas Iwanowski
Thank you for your reply, Janusz. I appreciate your help. I have tried making that call before the INSERT statement, but to no avail. The table collation is set to "utf8 - default collation", and all columns are set to "Table default". I am thinking that this problem might be due to me sending t

Re: BLOB data gets encoded as utf8! (Anyone?)

2010-08-30 Thread Carlos Proal
I think that "probably" the mistake is in the way you are inserting the blob. If i understand right, you are inserting the blob with a traditional insert statement ??, in my experience i always use prepared statements to insert blobs, in that way the text goes exactly as the source without an

Re: BLOB data gets encoded as utf8! (Anyone?)

2010-08-29 Thread Johan De Meersman
Is the code you use to get the data out in the same charset as the code you use to put the data in ? Both should ideally also match your database setting. Have you tried explicitly setting the connection to UTF8 ? Just swinging in the dark, here, really. On Sat, Aug 28, 2010 at 8:04 AM, Andreas

RE: Blob data

2007-07-03 Thread colbey
-Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 03, 2007 2:08 PM > > To: Rick James > > Cc: 'Paul McCullagh'; 'Ann W. Harrison'; 'MySQL List' > > Subject: RE: Blob data > > > > &g

RE: Blob data

2007-07-03 Thread Rick James
2:08 PM > To: Rick James > Cc: 'Paul McCullagh'; 'Ann W. Harrison'; 'MySQL List' > Subject: RE: Blob data > > > Rick is dead on correct, I call I chunking blob data.. There is an > article here on a simple implementation: > > http://www.dr

RE: Blob data

2007-07-03 Thread colbey
> > -Original Message- > > From: Paul McCullagh [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 27, 2007 2:57 AM > > To: Ann W. Harrison > > Cc: MySQL List; MySQL Internal > > Subject: Re: Blob data > > > > Hi Ann, > > > > Currently

Re: Blob data

2007-07-03 Thread Ann W. Harrison
Rick James wrote: Instead I broke blobs into pieces, inserting them with a sequence number. Understanding the underlying problem, that still seems like an unnatural way to store pictures and documents. Added benefit: Does not clog up replication while huge single-insert is being copied over

RE: Blob data

2007-07-03 Thread Rick James
nal Message- > From: Paul McCullagh [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 27, 2007 2:57 AM > To: Ann W. Harrison > Cc: MySQL List; MySQL Internal > Subject: Re: Blob data > > Hi Ann, > > Currently, the thoughts on how to make the BLOB references secure g

Re: Blob data

2007-06-27 Thread Paul McCullagh
Hi Ann, Currently, the thoughts on how to make the BLOB references secure go like this: The BLOB reference consists of 2 components: The first component is basically an index used to find the BLOB on the server. The second component is a random number generated when the BLOB is created.

Re: Blob data

2007-06-26 Thread Warren Young
Kevin Waterson wrote: This one time, at band camp, Warren Young <[EMAIL PROTECTED]> wrote: Storing arbitrary data in a BLOB column is tantamount to trying to turn the database into a file system. If you want a file system, use a file system. What is a file system, if not a database? That

Re: Blob data

2007-06-26 Thread Paul McCullagh
Hi Konstantin, On Jun 26, 2007, at 1:37 PM, Konstantin Osipov wrote: * Paul McCullagh <[EMAIL PROTECTED]> [07/06/26 15:35]: I am about to release the first version of the BLOB Streaming engine. We are not that far yet (obviously), but our aim is to create an open platform which will be extenda

Re: Blob data

2007-06-26 Thread Paul McCullagh
Hi Steve, Some very good points. We are working on a solution for BLOBs in the a MySQL database at www.blobstreaming.org. Any good solution will have to take your comments into account... On Jun 22, 2007, at 9:24 AM, Steve Edberg wrote: At 12:11 PM +0530 6/22/07, Ratheesh K J wrote: Hell

Re: Blob data

2007-06-25 Thread Kevin Waterson
This one time, at band camp, Warren Young <[EMAIL PROTECTED]> wrote: Storing arbitrary data in a BLOB column is > tantamount to trying to turn the database into a file system. If you > want a file system, use a file system. What is a file system, if not a database? Kevin -- MySQL General M

Re: Blob data

2007-06-25 Thread Warren Young
Ratheesh K J wrote: I want to know whether this is the right approach. Or should we actually store the attachments in directories and just stiore the attachment path in the database. Databases are designed to handle arbitrarily large numbers of rows of structured data, where each datum is sma

Re: Blob data

2007-06-25 Thread Alex Arul Lurthu
Ratheesh, If you still want to place you blob data in the database, seperate out the blob storage to a seperate table. This will help you alleviate few of your performance and maintenance problems. ~Alex On 6/22/07, Steve Edberg <[EMAIL PROTECTED]> wrote: At 12:11 PM +0530 6/22/07, Ratheesh

Re: Blob data

2007-06-22 Thread Steve Edberg
At 12:11 PM +0530 6/22/07, Ratheesh K J wrote: Hello All, I want a clarification. Whe run a forum wherein people send messages with/without attachments. Attachments may contain images, documents etc.. We are actually storing the attachment in a blob column. Sometimes the attachments are big.