Byte Vs BLOB
Posted in 2006
Topics: Data Types & Schema Design
Hi, 1) Can someone please tell me the differences between Byte and BLOB data type in Informix. (Reading through the manual, both sound similar to me) 2) If I need to store an image, we can use both Byte and BLOB. So, which to choose? Please advice. Thanks in advance.
ehchn1@hotmail.com wrote: > Hi, > > 1) Can someone please tell me the differences between Byte and BLOB > data type in > Informix. (Reading through the manual, both sound similar to me) The API is a bit different. Here are some of the biggest differences... Bytes can be referenced by only one row. Blobs can be referenced by multiple rows. Bytes stored in blob space blobs are not logged. Blobs can be logged. Blobs can be replicated via HDR, Bytes can not. > > 2) If I need to store an image, we can use both Byte and BLOB. > So, which to choose? If you think that you will ever need HDR, then consider BLOBs. > > > Please advice. > > Thanks in advance. >