Mercurial > hg > orthanc-databases
annotate PostgreSQL/NEWS @ 585:65e39e76c2b6 find-refactoring tip
fix handling of attachments revision
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 04 Nov 2024 18:38:32 +0100 |
parents | 12f1c5265081 |
children | f18e46d7dbf8 |
rev | line source |
---|---|
499
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
1 Pending changes in the mainline |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
2 =============================== |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
3 |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
4 DB schema revision: 2 |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
5 Minimum plugin SDK (for build): 1.12.3 |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
6 Minimum Orthanc runtime: 1.12.3 |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
7 |
500 | 8 * Fix updates from plugin version 3.3 to latest version |
535 | 9 * Added support for ExtendedChanges: |
501
594859656a06
Added support for ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
500
diff
changeset
|
10 - changes?type=...&to=... |
522
c49136b34891
use a prepared statement for InsertOrUpdateMetadata
Alain Mazy <am@orthanc.team>
parents:
501
diff
changeset
|
11 * Performance optimizations (to be summarized before release): |
c49136b34891
use a prepared statement for InsertOrUpdateMetadata
Alain Mazy <am@orthanc.team>
parents:
501
diff
changeset
|
12 - using more prepared SQL statements: |
c49136b34891
use a prepared statement for InsertOrUpdateMetadata
Alain Mazy <am@orthanc.team>
parents:
501
diff
changeset
|
13 - InsertOrUpdateMetadata |
523
9413451fd984
ExecuteSetResourcesContentTags is now using a cached prepared statement
Alain Mazy <am@orthanc.team>
parents:
522
diff
changeset
|
14 - ExecuteSetResourcesContentTags |
524
48aba35fe64e
merged BEGIN and SET TRANSACTION statements
Alain Mazy <am@orthanc.team>
parents:
523
diff
changeset
|
15 - merged BEGIN and SET TRANSACTION statements |
522
c49136b34891
use a prepared statement for InsertOrUpdateMetadata
Alain Mazy <am@orthanc.team>
parents:
501
diff
changeset
|
16 - reduced the number of round-trips between Orthanc and the PostgreSQL server: |
535 | 17 - e.g: when receiving an instance in an existing series, reduced the number of SQL queries from 13 to 9 |
528 | 18 * Fixed a memory leak when executing non cached SQL statements (rarely used) |
499
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
19 |
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
20 |
494 | 21 Release 6.2 (2024-03-25) |
22 ======================== | |
493 | 23 |
24 DB schema revision: 2 | |
499
0974a58fdc76
Fix updates from version plugin version 3.3 to latest version
Alain Mazy <am@osimis.io>
parents:
494
diff
changeset
|
25 Minimum plugin SDK (for build): 1.12.3 |
493 | 26 Minimum Orthanc runtime: 1.12.3 |
27 | |
28 * Fix check of Orthanc runtime version | |
29 | |
30 | |
474 | 31 Release 6.1 (2024-02-14) |
32 ======================== | |
472 | 33 |
473
15e609c439d1
Fixed the MaximumStorageSize & MaximumPatientCount.
Alain Mazy <am@osimis.io>
parents:
472
diff
changeset
|
34 DB schema revision: 2 |
15e609c439d1
Fixed the MaximumStorageSize & MaximumPatientCount.
Alain Mazy <am@osimis.io>
parents:
472
diff
changeset
|
35 |
490
b3876cbb93a2
Fix check of Orthanc runtime version
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
474
diff
changeset
|
36 * Fix handling of MaximumStorageSize & MaximumPatientCount. |
473
15e609c439d1
Fixed the MaximumStorageSize & MaximumPatientCount.
Alain Mazy <am@osimis.io>
parents:
472
diff
changeset
|
37 |
472 | 38 |
471 | 39 Release 6.0 (2024-02-08) |
40 ======================== | |
41 | |
42 DB schema revision: 2 | |
429
dbf811b1bb43
new configuration 'EnableVerboseLogs' to log SQL statements being executed
Alain Mazy <am@osimis.io>
parents:
427
diff
changeset
|
43 |
471 | 44 * The DB schema has been updated to Revision 2. If you need to reinstall the previous |
45 version of the plugin, you should run this script: | |
46 https://orthanc.uclouvain.be/hg/orthanc-databases/file/tip/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql | |
468 | 47 * Transaction Mode: |
471 | 48 Introduced a new configuration "TransactionMode" to select the transaction isolation level. |
467
ff84104f7842
renamed v6.2 to REV2 + removed 'default' TransactionMode + renamed 'READ COMMITTED' into 'ReadCommitted'
Alain Mazy <am@osimis.io>
parents:
432
diff
changeset
|
49 Allowed values: "Serializable", "ReadCommitted". |
ff84104f7842
renamed v6.2 to REV2 + removed 'default' TransactionMode + renamed 'READ COMMITTED' into 'ReadCommitted'
Alain Mazy <am@osimis.io>
parents:
432
diff
changeset
|
50 The "Serializable" mode was the only available value up to now. It is still the default |
432
8b7c1c423367
new 'TransactionMode' config + rewrote ResourceDeletedFunc to avoid IF/THEN/ELSE pattern
Alain Mazy <am@osimis.io>
parents:
430
diff
changeset
|
51 value now. |
468 | 52 The "ReadCommitted" is possible now due to rewrites of SQL queries and notably improves |
53 the Orthanc ability to ingest data from multiple sources in parallel. | |
430 | 54 * New "EnableVerboseLogs" configuration to show SQL statements being executed. |
55 | |
56 | |
57 Release 5.1 (2023-06-27) | |
58 ======================== | |
418
a7f0f27fe33c
wip: advisory lock around CreateInstance: not ok see WO-139
Alain Mazy <am@osimis.io>
parents:
417
diff
changeset
|
59 |
471 | 60 DB schema revision: 1 |
61 | |
415
7e123f047771
LookupResources optimization continued
Alain Mazy <am@osimis.io>
parents:
412
diff
changeset
|
62 * Optimization of LookupResources mainly used in tools/find, C-Find and QIDO-RS. |
410
614031f7a16d
OrthancPostgreSQL-5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
63 |
614031f7a16d
OrthancPostgreSQL-5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
64 Release 5.0 (2023-04-15) |
614031f7a16d
OrthancPostgreSQL-5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
65 ======================== |
614031f7a16d
OrthancPostgreSQL-5.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
400
diff
changeset
|
66 |
412 | 67 * Added support for labels |
386 | 68 * Compatibility with Orthanc SDK 1.12.0 (communications between the |
69 Orthanc core and the database plugin using Google Protocol Buffers) | |
358
1280b40d6696
switch to OpenSSL 3.0.x
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
276
diff
changeset
|
70 * Upgraded dependencies for static builds (notably on Windows and LSB): |
400
897253c21208
support for labels in mysql
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
386
diff
changeset
|
71 - openssl 3.1.0 |
358
1280b40d6696
switch to OpenSSL 3.0.x
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
276
diff
changeset
|
72 |
276
b783063f51f1
OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
269
diff
changeset
|
73 |
b783063f51f1
OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
269
diff
changeset
|
74 Release 4.0 (2021-04-22) |
b783063f51f1
OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
269
diff
changeset
|
75 ======================== |
b783063f51f1
OrthancPostgreSQL-4.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
269
diff
changeset
|
76 |
253
3bc442765b88
new configuration option: "IndexConnectionsCount"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
248
diff
changeset
|
77 * New option "IndexConnectionsCount" to control how many simultaneous |
3bc442765b88
new configuration option: "IndexConnectionsCount"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
248
diff
changeset
|
78 connections to the PostgreSQL database are used by the index plugin |
266
cc7af42d4f23
Store revisions for metadata and attachments in PostgreSQL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
253
diff
changeset
|
79 * Support of revisions for metadata and attachments |
248
7a4f9bcb0bc2
PostgreSQL: Support of range reads from the storage area
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
243
diff
changeset
|
80 * Support of multiple readers/writers, by handling retries from Orthanc SDK 1.9.2 |
7a4f9bcb0bc2
PostgreSQL: Support of range reads from the storage area
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
243
diff
changeset
|
81 * Support of range reads for the storage area, from Orthanc SDK 1.9.0 |
267 | 82 * Fix issue #193 (LSB binaries crash with PostgreSQL + SSL) by changeset |
426
d700c8f9fc24
migration to UCLouvain servers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
419
diff
changeset
|
83 in OrthancFramework: https://orthanc.uclouvain.be/hg/orthanc/rev/9a9118406484 |
269
567761f0c1ea
fix issue #151: support of retries in the storage area plugins to deal with multiple writers
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
268
diff
changeset
|
84 * Fix issue #151 (Storage failures when running with two instances and PG_LOCK=false) |
195
53bd9022c58b
Support of "OrthancPluginRegisterStorageArea2()" from Orthanc SDK 1.9.0
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
179
diff
changeset
|
85 |
179
9b500ad566c0
OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
172
diff
changeset
|
86 |
9b500ad566c0
OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
172
diff
changeset
|
87 Release 3.3 (2020-12-14) |
9b500ad566c0
OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
172
diff
changeset
|
88 ======================== |
9b500ad566c0
OrthancPostgreSQL-3.3
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
172
diff
changeset
|
89 |
134
cc3dc759c989
Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
132
diff
changeset
|
90 * Added an advisory lock to avoid race conditions during database setup |
141
0b3e9ee53c46
Added 'MaximumConnectionRetries' & 'ConnectionRetryInterval' to configure the retries when connecting to the DB at startup
Alain Mazy <alain@mazy.be>
parents:
134
diff
changeset
|
91 * Added "MaximumConnectionRetries" & "ConnectionRetryInterval" to configure |
0b3e9ee53c46
Added 'MaximumConnectionRetries' & 'ConnectionRetryInterval' to configure the retries when connecting to the DB at startup
Alain Mazy <alain@mazy.be>
parents:
134
diff
changeset
|
92 the retries when connecting to the DB at startup |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
141
diff
changeset
|
93 * Support of dynamic linking against the system-wide Orthanc framework library |
172
8c7bb94adff7
trying upgrade from libpq 9.6.1 to 13.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
156
diff
changeset
|
94 * Upgraded dependencies for static builds (notably on Windows and LSB): |
8c7bb94adff7
trying upgrade from libpq 9.6.1 to 13.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
156
diff
changeset
|
95 - openssl 1.1.1g |
268 | 96 - libpq 13.1 (replacing libpq 9.6.1) |
134
cc3dc759c989
Added an advisory lock to avoid race conditions during database setup
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
132
diff
changeset
|
97 |
132
5c69c2a14c97
OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
130
diff
changeset
|
98 |
5c69c2a14c97
OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
130
diff
changeset
|
99 Release 3.2 (2019-03-01) |
5c69c2a14c97
OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
130
diff
changeset
|
100 ======================== |
5c69c2a14c97
OrthancPostgreSQL-3.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
130
diff
changeset
|
101 |
130
2d2b268799a2
Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
125
diff
changeset
|
102 * Explicit deallocation of prepared statements |
2d2b268799a2
Explicit deallocation of prepared statements
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
125
diff
changeset
|
103 |
125
b85d672afcb5
OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
121
diff
changeset
|
104 |
b85d672afcb5
OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
121
diff
changeset
|
105 Release 3.1 (2019-02-08) |
b85d672afcb5
OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
121
diff
changeset
|
106 ======================== |
b85d672afcb5
OrthancPostgreSQL-3.1
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
121
diff
changeset
|
107 |
103 | 108 * Fix build on Debian Buster |
106
b559af8fe6e0
Remove "ASSERT" in SQL for compatibility with older releases of PostgreSQL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
103
diff
changeset
|
109 * Remove "ASSERT" in SQL for compatibility with older releases of PostgreSQL |
117
ca0ecd412988
Implementation of new extensions: LookupResourceAndParent and GetAllMetadata
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
106
diff
changeset
|
110 * Implementation of new extensions: LookupResourceAndParent and GetAllMetadata |
121
0886da5b4816
integration pg-tcp-nodelay->mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
117
diff
changeset
|
111 * Performance: Defining option "TCP_NODELAY" if libpq is linked statically |
103 | 112 |
100 | 113 |
114 Release 3.0 (2019-01-21) | |
115 ======================== | |
116 | |
81
515a783630df
injecting fix to issue 105 into the mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
56
diff
changeset
|
117 * New configuration option: "EnableSsl" |
80
16df1a6ea452
Fix issue 105 (Unable to connect to PostgreSQL database using SSL)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
75
diff
changeset
|
118 * Database optimizations by implementing new primitives of Orthanc SDK 1.5.2 |
81
515a783630df
injecting fix to issue 105 into the mainline
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
56
diff
changeset
|
119 * Fix issue 105 (Unable to connect to PostgreSQL database using SSL) |
56
4f66bc893fc3
Fix Debian issue #906771
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
48
diff
changeset
|
120 * Fix Debian issue #906771 (Uncaught exception prevents db intialization |
4f66bc893fc3
Fix Debian issue #906771
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
48
diff
changeset
|
121 (likely related to pg_trgm)) |
48 | 122 * Fix: Catching exceptions in destructors |
123 | |
33 | 124 |
42 | 125 Release 2.2 (2018-07-16) |
33 | 126 ======================== |
127 | |
29 | 128 !! Important remark when upgrading from an older version of the plugin: |
129 | |
130 The plugin will create a new index to improve search performance. | |
131 This can take several minutes at the first Orthanc startup. Orthanc | |
132 will not be available during this period. On a PostgreSQL database | |
133 with 100,000 studies, we have observed that updating the index took | |
134 around 10 minutes. | |
19 | 135 |
0 | 136 * Migration into the "orthanc-databases" repository |
137 * Full refactoring to share code with MySQL | |
138 * Fix issue 41 (Additional range IdentifierConstraintType in Orthanc) | |
33 | 139 !! This fix requires Orthanc version >= 1.4.0 |
0 | 140 * Fix issue 47 (Index improvements for PG plugin) |
141 * Fix issue 76 (PG connection shall reconnect/retry in case it loses | |
142 the connection to the server) | |
143 | |
144 | |
145 Release 2.1 (2018-04-20) | |
146 ======================== | |
147 | |
148 * Running transactions in "Serializable" isolation level to avoid | |
149 inconsistencies if multiple Orthanc are writing to the same DB | |
150 * Upgrade to PostgreSQL 9.6.1 client library for static builds | |
151 * Performance warning if runtime debug assertions are turned on | |
152 * Fix issue 62 (use correct type for lo_read() value) | |
153 * Fix issue 63 (allow to connect without specifing username and/or port) | |
154 * Fix issue 68 (PostgreSQL plugin needs extra flags to compile) | |
155 * Resort to Orthanc framework | |
156 * Support of Linux Standard Base, OpenBSD and FreeBSD | |
157 | |
158 | |
159 Release 2.0 (2015-12-02) | |
160 ======================== | |
161 | |
162 => Minimum SDK version: 0.9.5 <= | |
163 => Supported database versions: 5 (upgrade only) and 6 <= | |
164 | |
165 * Support version 6 of the database schema | |
166 * The "value" column of tables "MainDicomTags" and "DicomIdentifiers" are now TEXT instead of BYTEA | |
167 | |
168 | |
169 Release 1.3 (2015-10-07) | |
170 ======================== | |
171 | |
172 => Minimum SDK version: 0.9.4 <= | |
173 => Supported database versions: 5 <= | |
174 | |
175 * Fix build with Orthanc plugin SDK 0.9.4 | |
176 * Implementation of "GetAllPublicIdsWithLimit" extension | |
177 * Implementation of "UpgradeDatabase" extension | |
178 | |
179 | |
180 Release 1.2 (2015-08-02) | |
181 ======================== | |
182 | |
183 => Minimum SDK version: 0.9.1 <= | |
184 | |
185 * Inject version information into Windows binaries | |
186 * CMake flag to prevent compiling the unit tests (if no PostgreSQL test server is available) | |
187 * Update to Boost 1.58.0 for static and Windows builds | |
188 * Support of OS X compilation | |
189 | |
190 | |
191 Release 1.1 (2015-07-03) | |
192 ======================== | |
193 | |
194 * Fixes | |
195 * Support of Visual Studio 2008 | |
196 * Support of FreeBSD thanks Mikhail <mp39590@gmail.com> | |
197 | |
198 | |
199 Release 1.0 (2015-02-27) | |
200 ======================== | |
201 | |
202 * Use of advisory locks | |
203 * Support of connection URI in PostgreSQL | |
204 * Options "EnableIndex" and "EnableStorage" to explicitly enable PostgreSQL | |
205 | |
206 | |
207 2015-02-06 | |
208 ========== | |
209 | |
210 * Initial release |