Hey Guys, Thanks for the reply. I think I have to use PartitionRegionHelper.assignBucketsToPartitions() as I use Spring Data Geode to start the servers.
Regards On Wed, Mar 1, 2017 at 4:20 AM, Galen M O'Sullivan <[email protected]> wrote: > Hi Amit, > > Take a look at `gfsh start server --assign-buckets` if you're starting > with GFSH (run this on the last server), or > PartitionRegionHelper.assignBucketsToPartitions(). > This needs to be invoked after all of the servers are up and running. > > Best, > Galen > > On Sun, Feb 26, 2017 at 10:42 AM, Amit Pandey <[email protected]> > wrote: > >> Hi, >> >> We have a region which we try to. >> >> The first time we do that there is some logs like :- >> >> [info 2017/02/27 00:09:55.089 IST <main> tid=0x1] Initialization of >> region _B__lots_60 completed >> [info 2017/02/27 00:09:55.090 IST <main> tid=0x1] Initializing region >> _B__lots_7 >> [info 2017/02/27 00:09:55.090 IST <main> tid=0x1] Initialization of >> region _B__lots_7 completed >> [info 2017/02/27 00:09:55.091 IST <main> tid=0x1] Initializing region >> _B__lots_8 >> [info 2017/02/27 00:09:55.091 IST <main> tid=0x1] Initialization of >> region _B__lots_8 completed >> [info 2017/02/27 00:09:55.092 IST <main> tid=0x1] Initializing region >> _B__lots_9 >> >> And I see that inserts are much slower than later when its pretty >> fast..In production this flow will be done once or twice a day and we need >> it to be as fast as possible. Is there any way to preinitialize these >> things or avoid this the first time it is used? >> >> Regards >> > >
