You can set it in your XML file or Ingnite configuration from Java.
<property name="dataStorageConfiguration">
<bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
<!--
Sets a path to the root directory where data and
indexes are
to be persisted. It's assumed the directory is on a
separated SSD.
-->
<property name="storagePath" value="path"/>
<!--
Sets a path to the directory where WAL is stored.
It's assumed the directory is on a separated HDD.
-->
<property name="walPath" value="another_path"/>
<!--
Sets a path to the directory where WAL archive is stored.
The directory is on the same HDD as the WAL.
-->
<property name="walArchivePath" value=and_another_path"/>
</bean>
</property>
Den 2018-01-29 kl. 13:18, skrev Rajesh Kishore:
Thanks Stan,
I just extracted the zip , and I am starting the ignite server in
embedded mode. I dont see DB files getting created at the
${IGNITE_HOME}/work/db. More specifically how embedded mode server
would get to know about the env variable
r ${IGNITE_HOME} , as in my classpath of application I am using only
required jars of ignite
-Rajesh
On Mon, Jan 29, 2018 at 5:41 PM, Stanislav Lukyanov
<[email protected] <mailto:[email protected]>> wrote:
It will be under ${IGNITE_HOME}/work/db.
Please refer to
https://apacheignite.readme.io/docs/distributed-persistent-store
<https://apacheignite.readme.io/docs/distributed-persistent-store>
which covers this topic in details.
Stan
*From: *Rajesh Kishore <mailto:[email protected]>
*Sent: *29 января 2018 г. 15:04
*To: *[email protected] <mailto:[email protected]>
*Subject: *default location for ignite file db
Hi All.
How do we determine the default location for ignite file based DB
Thanks in advance
-Rajesh