Exposed slow
See original GitHub issueI’m trying to connect to the H2 database on an embedded device.
The connection using
Database.connect("jdbc:h2:~/testdb;DB_CLOSE_DELAY=-1", driver = "org.h2.Driver", user = "root", password = "")
takes about 7s to create/open a database, but the connection using another library, for example kotliquery
val create = measureTimeMillis {
sess = sessionOf("jdbc:h2:~/testdb;DB_CLOSE_DELAY=-1", "root", "")
sess.execute(queryOf("CREATE TABLE IF NOT EXISTS RandomText(ID INT PRIMARY KEY auto_increment, text VARCHAR(15));"))
}
takes about 2s.
Any reason for that overhead and is there any way to speed it up?
We’re running the program and the database on an embedded device called Colibri IMx6, and the speedup would greatly help us.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Slow Exposure (@theslowexposure) • Instagram photos and ...
a space provoking careful consumption by @elizacamillaedwards · 348 posts · 2,535 followers · 1,634 following.
Read more >Slow Exposure - YouTube
Provided to YouTube by TuneCoreSlow Exposure · AJ HamiltonSlow Exposure ℗ 2022 AJ HamiltonReleased on: 2022-10-31Auto-generated by YouTube.
Read more >Product | MDP | Slow Exposure Stripe 001 - Maharam
Slow Exposure Stripe is a photocollage of London's Brick Lane at night. By slowing the camera's shutter speed, the neon signs that light...
Read more >Imaging Products | DSLR Camera Basics | Shutter Speed
Setting Exposure: Shutter Speed and Aperture ... exposed to light; the slower the shutter speed, the longer the time the image sensor is...
Read more >Slow Exposure - Atlas of the Future
Eliza explains that Slow Exposure will sharpen its focus on issues that are linked to, and ultimately an inherent part of, sustainability: “I've ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure thing! I’m on it! @Tapac new commit has been pushed! This is an example output from my PC
and this is the output from Colibri imx6
Thanks for spending your time on this and providing insightful information!