Ask Your Question

What's the max size of custom metadata ?

asked 2019-01-31 07:40:44 -0500

I found some information about metadata, they’re stored in Extended Attributes ( ( so the limit of the metadata an object can store is defined by the File System we used (XFS, BTRFS, ext3).

For example XFS has a limit of 4 Ko for keys+values.

What’s the size of the metadata used by Swift for each object (object’s size, path, etc) ? This will allow me to know the real size of personal metadata I could use.

Thanks in advance !

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-04-10 10:12:11 -0500

The file /etc/swift/swift.conf contains a section [swift-constraints] with the values :

  • max_header_size = 8192
  • max_meta_count = 90
  • max_meta_name_length = 128
  • max_meta_overall_size = 4096
  • max_meta_value_length = 256 These values can be modified.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-01-31 07:40:44 -0500

Seen: 32 times

Last updated: Jan 31