Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for #264 [TPROC-H] MySQL create FKs after table load. #274

Merged
merged 4 commits into from
Sep 8, 2021

Conversation

sm-shaw
Copy link
Contributor

@sm-shaw sm-shaw commented Aug 27, 2021

Updates after tests for Issue #264 - creating foreign keys after table load did not prove effective, however investigation showed that existing indexes were not compatible with TPC-H specification and therefore build updated for compliance. Default storage engine changed to innodb as updated configuration performed better than previous default myisam. Updates for both MySQL and MariaDB.
Test scripts attached to Issue #264 - potential to revisit configuration and build if MySQL/MariaDB supports features such as parallel index builds and/or parallel query in the future.

@sm-shaw sm-shaw linked an issue Aug 27, 2021 that may be closed by this pull request
christianricci pushed a commit to christianricci/HammerDB that referenced this pull request Sep 7, 2021
…se (#1)

* Fix invalid sslmode value for Transaction Counter

* Fix can't read sslmode value when using asynchronous scaling

* Fix wrong number of args with sslmode for TPROC-H Refresh Function

* Add sslmode to XML config for PostgreSQL connect pool

* Add PostgreSQL sslmode option to GUI interface for TPROC-C/H and TX Counter

* Fix sslmode for TPROC-C Asynch with Connect Pool
@abondvt89
Copy link
Contributor

Accepting pull request as voted on September 7, 2021 in the TPC-OSS subcommittee.

@abondvt89 abondvt89 merged commit 6e76479 into TPC-Council:master Sep 8, 2021
sm-shaw added a commit that referenced this pull request Sep 14, 2021
* Add sslmode support for PostgreSQL database

Allow pg_sslmode argument to be passed into the postgres driver. Keep default argument value to prefer to make it compatible with default postgres value (refer to https://www.postgresql.org/docs/13/libpq-ssl.html)

pg_sslmode can be changed as follows:

    hammerdb>dbset db pg
    Database set to PostgreSQL

    hammerdb>print dict
    Dictionary Settings for PostgreSQL
    connection {
     pg_host    = localhost
     pg_port    = 5432
     pg_sslmode = prefer
    }
    ...

    hammerdb>diset connection pg_sslmode disable
    Changed connection:pg_sslmode from prefer to disable for PostgreSQL

    hammerdb>print dict
    Dictionary Settings for PostgreSQL
    connection {
     pg_host    = localhost
     pg_port    = 5432
     pg_sslmode = disable
    }
    ...

All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.

* Updates for #274 add sslmode support for PostgreSQL database (#1)

* Fix invalid sslmode value for Transaction Counter

* Fix can't read sslmode value when using asynchronous scaling

* Fix wrong number of args with sslmode for TPROC-H Refresh Function

* Add sslmode to XML config for PostgreSQL connect pool

* Add PostgreSQL sslmode option to GUI interface for TPROC-C/H and TX Counter

* Fix sslmode for TPROC-C Asynch with Connect Pool

Co-authored-by: Steve Shaw <38044085+sm-shaw@users.noreply.github.com>
@sm-shaw sm-shaw deleted the 264 branch November 19, 2021 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TPROC-H] MySQL create FKs after table load.
2 participants