Skip to content

Commit 64db679

Browse files
authored
Merge pull request #315 from sm-shaw/master
Update versions, changelog and documentation for v4.4
2 parents fd4f3a5 + 8447f8a commit 64db679

16 files changed

Lines changed: 88 additions & 63 deletions

File tree

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,22 @@ Version 4.3 Nov 2021
976976

977977
Pull Requests & Issues
978978

979+
v4.3 fix - encapsulate graphical metrics in namespace #283
979980
Add performance metrics for PostgreSQL #279 (#8)
980981
Add CLI to Web Service with SQLite repository for output, timing and transactions #278 (#145)
981982
Update for #264 [TPROC-H] MySQL create FKs after table load #274 (#264)
982983
Add sslmode support for PostgreSQL database #271
984+
985+
---------------------------------------------------------------------
986+
987+
Version 4.4 Feb 2022
988+
989+
Pull Requests & Issues
990+
991+
Fix getcols can return zero, resulting in divide-by-zero #306
992+
readline: only catch signals when using interact #303
993+
Add optional Citus support #302
994+
Build dataset using COPY instead of multi-row inserts for TPROC-C #301
995+
Make Linux hammerdb executable work with spaces in PATH #298
996+
Optimize MakeAlphaString #295
997+
Standardize indentation of tcl files #292

DocBook/docs.xml

Lines changed: 60 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<section>
2323
<title>Release Notes</title>
2424

25-
<para>The following are the release notes for HammerDB v4.3.</para>
25+
<para>The following are the release notes for HammerDB v4.4.</para>
2626

2727
<section>
2828
<title>Nomenclature Change</title>
@@ -73,23 +73,16 @@
7373
configuration has been modified to use the InnoDB storage engine
7474
instead of MyISAM and to remove additional indexes on the LINEITEM
7575
table not compliant with the TPC-H specification. Consequently
76-
performance of TPROC-H on MySQL and MariaDB in version 4.3 is not
77-
comparable with version 4.2 and earlier.</para>
76+
performance of TPROC-H on MySQL and MariaDB in version 4.3 and above
77+
is not comparable with version 4.2 and earlier.</para>
7878
</section>
7979

8080
<section>
81-
<title>sslmode support for PostgreSQL</title>
82-
83-
<para>From version 4.3 PostgreSQL connections support <link
84-
xlink:href="https://www.postgresql.org/docs/13/libpq-ssl.html">SSL
85-
connections</link> this requires OpenSSL on client and server and
86-
needs to be enabled in PostgreSQL at compilation. When enabled
87-
HammerDB uses the "prefer" option as default meaning that when
88-
selected if SSL is supported and available HammerDB will use it. When
89-
unselected "disable" is used and SSL is not used even if supported.
90-
Where SSL is enabled and used performance should not be directly
91-
compared to HammerDB v4.2 and earlier where SSL is not
92-
supported.</para>
81+
<title>PostgreSQL Citus Data Support</title>
82+
83+
<para>From version 4.4 the PostgreSQL TPROC-C workloads support <link
84+
xlink:href="https://www.citusdata.com/">Citus Data</link> distributed
85+
PostgreSQL environments.</para>
9386
</section>
9487

9588
<section>
@@ -162,7 +155,7 @@ DIAG_DDE_ENABLED=FALSE</programlisting>
162155
<section>
163156
<title>Documentation License and Copyright</title>
164157

165-
<para>Copyright (C) 2021 Steve Shaw.</para>
158+
<para>Copyright (C) 2022 Steve Shaw.</para>
166159

167160
<para>Permission is granted to copy, distribute and/or modify this
168161
document under the terms of the GNU Free Documentation License, Version
@@ -173,24 +166,30 @@ DIAG_DDE_ENABLED=FALSE</programlisting>
173166
</section>
174167

175168
<section>
176-
<title>HammerDB v4.3 New Features</title>
169+
<title>HammerDB v4.4 New Features</title>
177170

178-
<para>HammerDB v4.3 New Features are all referenced to <link
171+
<para>HammerDB v4.4 New Features are all referenced to <link
179172
xlink:href="https://github.com/TPC-Council/HammerDB/pulls?q=is%3Apr+is%3Aclosed">GitHub
180173
Issues and Pull Requests</link>, where more details for each new feature
181-
and related pull requests can be found here: <link
182-
xlink:href="https://github.com/TPC-Council/HammerDB/issues"/></para>
174+
and related pull requests can be found here: </para>
175+
176+
<para>[TPC-Council#306] Fix getcols can return zero, resulting in
177+
divide-by-zero</para>
178+
179+
<para>[TPC-Council#303] readline: only catch signals when using
180+
interact</para>
183181

184-
<para>[TPC-Council#279] Add performance metrics for PostgreSQL</para>
182+
<para>[TPC-Council#302] Add optional Citus support</para>
185183

186-
<para>[TPC-Council#278] Add CLI to Web Service with SQLite repository
187-
for output, timing and transactions</para>
184+
<para>[TPC-Council#301] Build dataset using COPY instead of multi-row
185+
inserts for TPROC-C</para>
188186

189-
<para>[TPC-Council#274] Update for #264 [TPROC-H] MySQL create FKs after
190-
table load</para>
187+
<para>[TPC-Council#298] Make Linux hammerdb executable work with spaces
188+
in PATH</para>
191189

192-
<para>[TPC-Council#271] Add sslmode support for PostgreSQL
193-
database</para>
190+
<para>[TPC-Council#295] Optimize MakeAlphaString</para>
191+
192+
<para>[TPC-Council#292] Standardize indentation of tcl files </para>
194193
</section>
195194

196195
<section>
@@ -280,14 +279,14 @@ DIAG_DDE_ENABLED=FALSE</programlisting>
280279
<row>
281280
<entry>MariaDB</entry>
282281

283-
<entry>10.2 / 10.3 / 10.4 / 10.5 / 10.6</entry>
282+
<entry>10.2 / 10.3 / 10.4 / 10.5 / 10.6 / 10.8</entry>
284283
</row>
285284

286285
<row>
287286
<entry>PostgreSQL (EnterpriseDB) (Amazon Redshift)
288287
(Greenplum)</entry>
289288

290-
<entry>10.2 / 10.3 / 11 / 12 / 13</entry>
289+
<entry>10.2 / 10.3 / 11 / 12 / 13 / 14</entry>
291290
</row>
292291
</tbody>
293292
</tgroup>
@@ -305,12 +304,12 @@ DIAG_DDE_ENABLED=FALSE</programlisting>
305304
which can be downloaded at no cost from Microsoft and run as
306305
follows:</para>
307306

308-
<programlisting>fciv -both HammerDB-4.3-Win-x86-64-Setup.exe</programlisting>
307+
<programlisting>fciv -both HammerDB-4.4-Win-x86-64-Setup.exe</programlisting>
309308

310309
<para>and on Linux with md5sum and sha1sum as shown:</para>
311310

312-
<programlisting>md5sum HammerDB-4.3-Linux.tar.gz
313-
sha1sum HammerDB-4.3-Linux.tar.gz</programlisting>
311+
<programlisting>md5sum HammerDB-4.4-Linux.tar.gz
312+
sha1sum HammerDB-4.4-Linux.tar.gz</programlisting>
314313
</section>
315314

316315
<section>
@@ -508,10 +507,10 @@ sha1sum HammerDB-4.3-Linux.tar.gz</programlisting>
508507

509508
<para>To install from the tar.gz run the command</para>
510509

511-
<programlisting>tar -zxvf HammerDB-4.3.tar.gz </programlisting>
510+
<programlisting>tar -zxvf HammerDB-4.4.tar.gz </programlisting>
512511

513512
<para>This will extract HammerDB into a directory named
514-
HammerDB-4.3.</para>
513+
HammerDB-4.4.</para>
515514
</section>
516515

517516
<section>
@@ -558,8 +557,8 @@ sha1sum HammerDB-4.3-Linux.tar.gz</programlisting>
558557

559558
<para>and type librarycheck.</para>
560559

561-
<programlisting>HammerDB CLI v4.3
562-
Copyright (C) 2003-2021 Steve Shaw
560+
<programlisting>HammerDB CLI v4.4
561+
Copyright (C) 2003-2022 Steve Shaw
563562
Type "help" for a list of commands
564563
The xml is well-formed, applying configuration
565564
hammerdb&gt;librarycheck
@@ -581,8 +580,8 @@ hammerdb&gt;
581580

582581
<para>librarycheck is also provided in the HammerDB Web Service.</para>
583582

584-
<programlisting>HammerDB Web Service v4.3
585-
Copyright (C) 2003-2021 Steve Shaw
583+
<programlisting>HammerDB Web Service v4.4
584+
Copyright (C) 2003-2022 Steve Shaw
586585
Type "help" for a list of commands
587586
The xml is well-formed, applying configuration
588587
Initialized SQLite on-disk database C:/Users/Steve/AppData/Local/Temp/hammer.DB using existing tables
@@ -881,7 +880,7 @@ Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-17.0.so.1.1 UsageCount=1}}</p
881880
<section>
882881
<title>MySQL</title>
883882

884-
<para>HammerDB version 4.3 (4.2/4.1/4.0 and version 3.3) has been
883+
<para>HammerDB version 4.4 (4.3/4.2/4.1/4.0 and version 3.3) has been
885884
built and tested against a MySQL 8.0 client installation, hammerDB
886885
version 3.0-3.2 has been built against MySQL 5.7. On Linux this means
887886
that HammerDB will require a MySQL client library called
@@ -895,7 +894,7 @@ Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-17.0.so.1.1 UsageCount=1}}</p
895894
<section>
896895
<title>MariaDB</title>
897896

898-
<para>HammerDB version 4.3 has been built and tested against MariaDB
897+
<para>HammerDB version 4.4 has been built and tested against MariaDB
899898
10.5.10 client installation. On Linux this means that HammerDB will
900899
require a MariaDB client library called libmariadb.so.3. This client
901900
library needs to be referenced in the LD_LIBRARY_PATH as shown
@@ -2205,18 +2204,22 @@ MariaDB [(none)]&gt; </programlisting>
22052204
EnterpriseDB produce an enhanced version of the PostgreSQL database
22062205
termed Postgres Plus Advanced Server. This version of PostgreSQL in
22072206
particular includes compatibility features with the Oracle database
2208-
such as PL/SQL support. For this reason the Hammer OLTP workload for
2209-
PostgreSQL can operate in 2 modes. Firstly Oracle compatible mode uses
2207+
such as PL/SQL support. Also Citus Data have produced a distributed
2208+
PostgreSQL extension. For this reason the Hammer OLTP workload for
2209+
PostgreSQL can operate in 3 modes. Firstly Oracle compatible mode uses
22102210
PL/SQL and additional Postgres Plus Advanced Server features (such as
22112211
DRITA snapshots) that will only operate against Enterprise DB Postgres
2212-
Plus Advanced Server. Secondly by not selecting Oracle compatibility
2213-
HammerDB can continue to operate against Postgres Plus Advanced Server
2214-
but additionally against a regular PostgreSQL build using native
2215-
PostgreSQL features. You must ensure before proceeding with OLTP that
2216-
you are aware of the version of PostgreSQL you have installed and the
2217-
features available, if you wish to test Oracle compatibility then you
2218-
must use Postgres Plus Advanced Server from EnterpriseDB and install
2219-
in Oracle compatible mode.</para>
2212+
Plus Advanced Server. Secondly Citus compatible mode supports
2213+
distributed PostgreSQL with the Citus Data extension. Finally by not
2214+
selecting Citus or Oracle compatibility HammerDB can continue to
2215+
operate against a regular PostgreSQL build using native PostgreSQL
2216+
features. You must ensure before proceeding with OLTP that you are
2217+
aware of the version of PostgreSQL you have installed and the features
2218+
available, if you wish to test Oracle compatibility then you must use
2219+
Postgres Plus Advanced Server from EnterpriseDB and install in Oracle
2220+
compatible mode, if you wish to use Citus Data you must be running
2221+
against a Citus enabled installation either installed or in the cloud.
2222+
</para>
22202223

22212224
<para>During the installation make a note of your postgres superuser
22222225
password, you will need it for the test schema creation. You must be
@@ -3226,6 +3229,13 @@ GO
32263229
PostgreSQL stored procedures instead of functions.</entry>
32273230
</row>
32283231

3232+
<row>
3233+
<entry>Citus Compatible</entry>
3234+
3235+
<entry>Installs a schema into a PostgreSQL database with the
3236+
Citus Data Distributed PostgreSQL extension.</entry>
3237+
</row>
3238+
32293239
<row>
32303240
<entry>Prefer PostgreSQL SSL Mode</entry>
32313241

DocBook/docs/images/ch1-10.PNG

-700 Bytes
Loading

DocBook/docs/images/ch1-11.PNG

-176 Bytes
Loading

DocBook/docs/images/ch1-12.PNG

-44 Bytes
Loading

DocBook/docs/images/ch1-4a.PNG

3.52 KB
Loading

DocBook/docs/images/ch1-6.PNG

2.18 KB
Loading

DocBook/docs/images/ch1-8.PNG

2.55 KB
Loading

DocBook/docs/images/ch1-9.PNG

-6.46 KB
Loading

DocBook/docs/images/ch4-8.PNG

5.23 KB
Loading

0 commit comments

Comments
 (0)