|
|
-
A question of storage structure for memstore?
yonghu 2012-10-22, 11:25
Dear All,
In the description it mentions that a Store file (per column family) is composed of one memstore and a set of HFiles. Does it imply that for every column family there is a corresponding memstore? For example. if a table has 2 column families, there will be 2 memstores in memory?
regards!
Yong
-
Re: A question of storage structure for memstore?
Kevin O'dell 2012-10-22, 12:25
Yes, there will be two memstores if you have two CFs. On Oct 22, 2012 7:25 AM, "yonghu" <[EMAIL PROTECTED]> wrote:
> Dear All, > > In the description it mentions that a Store file (per column family) > is composed of one memstore and a set of HFiles. Does it imply that > for every column family there is a corresponding memstore? For > example. if a table has 2 column families, there will be 2 memstores > in memory? > > regards! > > Yong >
-
RE: A question of storage structure for memstore?
Anoop Sam John 2012-10-22, 13:05
To be precise there will be one memstore per family per region.. If table having 2 CFs and there are 10 regions for that table then totally 2*10=20 memstores..
-Anoop- ________________________________________ From: Kevin O'dell [[EMAIL PROTECTED]] Sent: Monday, October 22, 2012 5:55 PM To: [EMAIL PROTECTED] Subject: Re: A question of storage structure for memstore?
Yes, there will be two memstores if you have two CFs. On Oct 22, 2012 7:25 AM, "yonghu" <[EMAIL PROTECTED]> wrote:
> Dear All, > > In the description it mentions that a Store file (per column family) > is composed of one memstore and a set of HFiles. Does it imply that > for every column family there is a corresponding memstore? For > example. if a table has 2 column families, there will be 2 memstores > in memory? > > regards! > > Yong >
-
Re: A question of storage structure for memstore?
yonghu 2012-10-22, 14:13
Thanks for your responses.
yong On Mon, Oct 22, 2012 at 3:05 PM, Anoop Sam John <[EMAIL PROTECTED]> wrote: > To be precise there will be one memstore per family per region.. > If table having 2 CFs and there are 10 regions for that table then totally 2*10=20 memstores.. > > -Anoop- > ________________________________________ > From: Kevin O'dell [[EMAIL PROTECTED]] > Sent: Monday, October 22, 2012 5:55 PM > To: [EMAIL PROTECTED] > Subject: Re: A question of storage structure for memstore? > > Yes, there will be two memstores if you have two CFs. > On Oct 22, 2012 7:25 AM, "yonghu" <[EMAIL PROTECTED]> wrote: > >> Dear All, >> >> In the description it mentions that a Store file (per column family) >> is composed of one memstore and a set of HFiles. Does it imply that >> for every column family there is a corresponding memstore? For >> example. if a table has 2 column families, there will be 2 memstores >> in memory? >> >> regards! >> >> Yong >>
|
|