# DB Writer to Access DB Hangs at 99%

**URL:** <https://forum.knime.com/t/db-writer-to-access-db-hangs-at-99/72090>\
**Category:** KNIME Analytics Platform\
**Tags:** database\
**Created:** [August 29, 2023, 1:53am UTC](https://forum.knime.com/t/db-writer-to-access-db-hangs-at-99/72090 "2023-08-29T01:53:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [August 29, 2023, 2:50pm UTC](https://forum.knime.com/t/db-writer-to-access-db-hangs-at-99/72090/6 "2023-08-29T14:50:40Z")

</div>

@qdmt one idea could be to test H2/SQL database:

[http://h2database.com/html/advanced.html#limits\_limitations](http://h2database.com/html/advanced.html#limits_limitations)

> **[KNIME, Databases and SQL](https://medium.com/low-code-for-advanced-data-science/knime-databases-and-sql-273e27c9702a)**
>
> TL;DR: use the power of SQL databases with low-code data analytics platform KNIME — also on your local machine

* * *

You could [create a new database connection](https://forum.knime.com/t/sqlite-and-window-functions/31608/4) with a current H2 driver (from [Maven](https://mvnrepository.com/artifact/com.h2database/h2)) and add the “split” parameter to the connection string:

`jdbc:h2:split:[location=file?<file>][location=in-memory?mem:<database>]`

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/3/a/3a3df5b4cd3e6d3fd2a4d852f2061fe193745b0a.png)

You will have to select this new “h2\_split” database driver in the [H2 Connector](https://hub.knime.com/knime/extensions/org.knime.features.database/latest/org.knime.database.extension.h2.node.connector.H2DBConnectorNodeFactory/) instead of the built-in one:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/a/0/a0316d073569346cbdb2aabd9b447c1778d77e82.png)

The data would then be stored in a local [H2/SQL](https://hub.knime.com/-/spaces/-/latest/~Ke-h87vETvtwqMaW/) database in chunks of 1 GB. So you have more flexibility with the size. You can later compact the database (which may take some time).

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/7/1756f1ca390363749be47ed4dddc32ac76065c94.png)

> **[H2 database split into 1 GB chunks in order to store very large data – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_db_h2_large_files_split~LjlEZPtoYNqXAo22)**
>
> H2 database split into 1 GB chunks in order to store very large data

[kn\_example\_db\_h2\_large\_files\_split.knwf](https://forum.knime.com/uploads/short-url/jOqaR9FxIaZb5wRNDzN5k6CaBX0.knwf) (57.2 KB)

---

_[View the full topic](https://forum.knime.com/t/db-writer-to-access-db-hangs-at-99/72090)._
