LoginSignup
10
6

More than 5 years have passed since last update.

redisの型別 Max size

Last updated at Posted at 2014-11-19

アプリケーションの設計する上で必要になったので、redisに収容可能なサイズを調べました。

とりあえず膨大なデータを蓄積しないのであれば限界を考えなくても良さそう。

ソース http://redis.io/topics/data-types

Strings

Stringsの最大容量は512MB

A String value can be at max 512 Megabytes in length.

Lists

一つのリストの要素数は最大約40億個

The max length of a list is 2^32 - 1 elements (4294967295, more than 4 billion of elements per list).

Sets

Setsの最大メンバー数は約40億個

The max number of members in a set is 2^32 - 1 (4294967295, more than 4 billion of members per set).

Hashes

Hashesはkey-valueのペアが最大約40億個

Every hash can store up to (2^32) - 1 field-value pairs (more than 4 billion).

Sorted sets

Sorted setsの最大メンバー数は約40億個

Maximum length of a list is 2^32 - 1 elements (4294967295, more than 4 billion of elements per set).

10
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
6