The number of types a index can handle

index -> database
type -> table (HERE)
doc -> row

I want to know is there a limit on the number of types in a index and how
many is too many ?

--
不学习,不知道

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBXOLeC12wLVmmtBKVyijf6FpyWo%3D4RRetEwA%2B6ajkEdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

There is no limit in ES.

Each type uses a certain amount of heap for caching ids and the mapping.
You can create types / mappings until heap explodes. Each modification of a
mapping is propagated through the cluster, which is not a cheap operation.
You have to test by yourself if your design works.

Jörg

On Wed, Jul 30, 2014 at 7:18 AM, panfei cnweike@gmail.com wrote:

index -> database
type -> table (HERE)
doc -> row

I want to know is there a limit on the number of types in a index and how
many is too many ?

--
不学习,不知道

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBXOLeC12wLVmmtBKVyijf6FpyWo%3D4RRetEwA%2B6ajkEdg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBXOLeC12wLVmmtBKVyijf6FpyWo%3D4RRetEwA%2B6ajkEdg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFEvGxxyopggm4i9_9OgSJ80w6OyaLdMRYjLc6jQ4y9xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the information

2014-07-30 14:55 GMT+08:00 joergprante@gmail.com joergprante@gmail.com:

There is no limit in ES.

Each type uses a certain amount of heap for caching ids and the mapping.
You can create types / mappings until heap explodes. Each modification of a
mapping is propagated through the cluster, which is not a cheap operation.
You have to test by yourself if your design works.

Jörg

On Wed, Jul 30, 2014 at 7:18 AM, panfei cnweike@gmail.com wrote:

index -> database
type -> table (HERE)
doc -> row

I want to know is there a limit on the number of types in a index and how
many is too many ?

--
不学习,不知道

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBXOLeC12wLVmmtBKVyijf6FpyWo%3D4RRetEwA%2B6ajkEdg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBXOLeC12wLVmmtBKVyijf6FpyWo%3D4RRetEwA%2B6ajkEdg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFEvGxxyopggm4i9_9OgSJ80w6OyaLdMRYjLc6jQ4y9xw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFEvGxxyopggm4i9_9OgSJ80w6OyaLdMRYjLc6jQ4y9xw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
不学习,不知道

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLD9yQjVss%3D7itx%3DO09njTeb%2BmfcC1v7ymGPxJ-nxpaxEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.