<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Datomic Knowledgebase - Recent questions tagged storage</title>
<link>https://ask.datomic.com/index.php/tag/storage</link>
<description>Powered by Question2Answer</description>
<item>
<title>Remove com.h2database/h2 from classpath</title>
<link>https://ask.datomic.com/index.php/701/remove-com-h2database-h2-from-classpath</link>
<description>&lt;p&gt;When running Datomic on the Postgres storage, we wanted to exclude H2 from the Peer classpath, but this turns out not to be possible.&lt;/p&gt;
&lt;p&gt;With the following deps.edn&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;{:deps      {com.datomic/datomic-pro   {:mvn/version &quot;1.0.6362&quot;
                                        :exclusions  [com.h2database/h2]}
             org.postgresql/postgresql {:mvn/version &quot;42.3.1&quot;}}
 :mvn/repos {&quot;my.datomic.com&quot; {:url &quot;https://my.datomic.com/repo&quot;}}}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;trying to create the database leads to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(d/create-database &quot;datomic:sql://test?jdbc:postgresql://localhost:5432/datomic?user=datomic&quot;)
Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:387).
org.h2.tools.Server
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is there another way to accomplish this? &lt;/p&gt;
&lt;p&gt;The reason we want to exclude h2 from the classpath is because the maven artifact for h2 has several HIGH CVEs reported on it (&lt;a rel=&quot;nofollow&quot; href=&quot;https://mvnrepository.com/artifact/com.h2database/h2/1.3.172&quot;&gt;https://mvnrepository.com/artifact/com.h2database/h2/1.3.172&lt;/a&gt;). I understand that Datomic does not run the H2 console and is also does not involve SQLXML, so it is probably not vulnerable to the specific CVEs, however, it would be an easy way to remove a dev-only dependency in a production deployment.&lt;/p&gt;
</description>
<category>Peer API</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/701/remove-com-h2database-h2-from-classpath</guid>
<pubDate>Tue, 01 Feb 2022 15:36:23 +0000</pubDate>
</item>
<item>
<title>What storage engines does Datomic On-Prem support?</title>
<link>https://ask.datomic.com/index.php/172/what-storage-engines-does-datomic-on-prem-support</link>
<description>&lt;p&gt;What storage engines does Datomic On-Prem support?&lt;/p&gt;
</description>
<category>On-Prem</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/172/what-storage-engines-does-datomic-on-prem-support</guid>
<pubDate>Mon, 19 Oct 2020 16:44:54 +0000</pubDate>
</item>
<item>
<title>What happens to legacy storages?</title>
<link>https://ask.datomic.com/index.php/173/what-happens-to-legacy-storages</link>
<description>&lt;p&gt;What happens to legacy storages?&lt;/p&gt;
</description>
<category>On-Prem</category>
<guid isPermaLink="true">https://ask.datomic.com/index.php/173/what-happens-to-legacy-storages</guid>
<pubDate>Mon, 19 Oct 2020 14:34:50 +0000</pubDate>
</item>
</channel>
</rss>