How to use Disk cache

73 views
Skip to first unread message

Mahesh Wabale

unread,
May 5, 2015, 8:55:29 AM5/5/15
to orient-...@googlegroups.com
Hello every one , 

If i have 16 gb ram on my machin , and i have graph database with plocal storage . Recently i heared about concept of Disk Cache .  Using Disk Cache we can stored all our data in RAM , hence it improves  performance . I want to know about How we can use disk cache ? Is there is some configuration for that ? 


I have to store my entire database in RAM , Is it possible to store all database in RAM using disk cache ? If yes How? 

Thanks in Advance . 

Luigi Dell'Aquila

unread,
May 5, 2015, 6:51:42 PM5/5/15
to orient-...@googlegroups.com
Hi Mahesh,

you can change the storage.diskCache.bufferSize parameter, here you will find all the information about that


Thanks

Luigi


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahesh Wabale

unread,
May 6, 2015, 2:00:50 AM5/6/15
to orient-...@googlegroups.com
I  update my orientdb-server-config.xml file as


By server configuration

Put in the <properties> section of the file orientdb-server-config.xml (or orientdb-dserver-config.xml) the entries to configure. Example:

  ...
  <properties>
    <entry name="cache.size" value="10000" />
    <entry name="storage.keepOpen" value="true" />
  </properties>
  ...

but when we see buffer size on console by config command , it is not change , shows  
storage.diskCache.bufferSize       = 1312                           |
| storage.diskCache.writeCachePart   = 30                             |
| storage.diskCache.writeCachePageTTL= 86400                          |
| storage.diskCache.writeCachePageFlushInterval= 100 

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/cpGzmrXE_sw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages