Title: serialized data in longtext-fields
Last modified: August 30, 2016

---

# serialized data in longtext-fields

 *  [RudolfFiedler](https://wordpress.org/support/users/rudolffiedler/)
 * (@rudolffiedler)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/serialized-data-in-longtext-fields/)
 * the php-documtation says, that serialized data would better saved in blob-fields
   as in text-fields. ([http://php.net/manual/de/function.serialize.php](http://php.net/manual/de/function.serialize.php))
   
   The wp-tables wp-options, wp_postmeta und wp_usermeta uses mysql-field-type longtext.
   Wy not blob-fields? Thanks,
 * Rudi

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/serialized-data-in-longtext-fields/#post-6691218)
 * Just IMHO, nothing official. I think it is a legacy data arrangement from ages
   ago when WP was really just a blogging platform and not a CMS. I’m not sure serialized
   data was even used back then. The problem now is that updating the DB schema 
   would break many old legacy sites, so we are stuck today with a DB design that
   was valid decades ago.

Viewing 1 replies (of 1 total)

The topic ‘serialized data in longtext-fields’ is closed to new replies.

## Tags

 * [BLOB](https://wordpress.org/support/topic-tag/blob/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [serialize](https://wordpress.org/support/topic-tag/serialize/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/serialized-data-in-longtext-fields/#post-6691218)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
