title: Why is my embedded h2 program writing to a .mv.db file
body: <p>I followed the quickstart guide on the h2 database website to create a new database a table and insert some data. The application runs smooth and can read and write to the database without problems.</p>
  <blockquote>
  <h1>Quickstart h2</h1>
  <ul>
  <li>Add the h2*.jar to the classpath (H2 does not have any dependencies)</li>
  <li>Use the JDBC driver class: org.h2.Driver</li>
  <li>The database URL jdbc:h2:~/test opens the database test in your user home directory</li>
  <li>A new database is automatically created<br></li>
  </ul>
  </blockquote>
  <p>Now i want to look at the data with the web-frontend h2 console but everytime I try to open my database it just creates a new database.<br><br>
  After a long search I noticed that my Java-App, which uses the h2 embedded version writes to a file called &quot;.mv.db&quot; while the web-frontend creates the file &quot;.h2.db&quot; (which makes much more sense for me)<br><br>
  Also when my App writes to the database it uses extreme amounts of space (80MB for ~600 integer values)<br>
  How can I use the &quot;.h2.db&quot; extension for my embedded database?</p>