Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

NuoDB hacks #312

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

NuoDB hacks #312

wants to merge 2 commits into from

Conversation

bryanosborne
Copy link

PR related to Issue #306 . Information included not intended to provide a fix, only to illuminate issue.

Connection string issue:

NuoDB connection string construction needs a schema name (from NuoDB):

Properties properties = new Properties();
properties.put("user", user);
properties.put("password", password);
properties.put("schema", "hello");
dbConnection = DriverManager.getConnection(DATABASE_URL + dbName, properties);

Changes to BenchmarkModule.java reflect a workaround to facilitate this, but best solution is probably a new configuration parameter (per A. Pavlo).

Other peripheral items included in this PR found in experimenting with NuoDB and oltpbench:

Included an example config file for chbenchmark running on NuoDB that may be of help to folks.

Changes to chbenchmark-nuodb-ddl.sql prevent error in database creation due to foreign key constraint.

Changes to queries were just to add semicolon terminators, except Q15 which I honestly don't remember changing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants