hi Shawn, Thanks for the reply, Is there a way to optimize RAM or does Solr does automatically. I have multiple shards and i know i will be querying only 30% of shards most of time! and i have 6 slaves. so dedicating more slave with 30% most used shards .
Another question: Is it advised to serve queries from master or only from slaves? or it doesnt matter? thanks Abhishek On Tue, Mar 11, 2014 at 9:12 PM, Shawn Heisey <s...@elyograg.org> wrote: > On 3/11/2014 6:14 AM, abhishek.netj...@gmail.com wrote: > > Hi all, > > What should be the ideal RAM index size ratio. > > > > please reply I expect index to be of size of 60 gb and I dont store > contents. > > Ideally, your total system RAM will be equal to the size of all your > program's heap requirements, plus the size of all the data for all the > programs. > > If Solr is the only thing on the box, then the ideal memory size is > roughly the Solr heap plus the size of all the Solr indexes that live on > that machine. So if your heap is 8GB and your index is 60GB, you'll > want at least 68GB of RAM for an ideal setup. I don't know how big your > heap is, so I am guessing here. > > You said your index does not store much content. That means you will > need a higher percentage of your total index size to be in RAM for good > performance. I would estimate that you want a minimum of two thirds of > your index in RAM, which indicates a minimum RAM size of 48GB if we > assume your heap is 8GB. 64GB would be better. > > http://wiki.apache.org/solr/SolrPerformanceProblems#General_information > > Thanks, > Shawn > > -- Thanks and kind Regards, Abhishek jain +91 9971376767