postgres-dcm4chee's People
Forkers
rsnonstop igraemvtanki slener1977 juancarloslin dcmlinux triplesixlvl xfrasi web-hippocrates yukeaaapostgres-dcm4chee's Issues
Inconsistent datatype of `study.created_time` and other timestamp-typed fields.
Archiver uses local time in its insertion query while the schema uses timestamp
data type (whose actual type is timestamp without time zone
).
Here's a statement log from postgres:
LOG: execute : insert into study (access_control_id, access_time, accession_no, dicomattrs_fk, completeness, created_time, expiration_date, ext_retrieve_aet, failed_retrieves, accno_issuer_fk, modified_time, patient_fk, ref_phys_name_fk, rejection_state, storage_ids, study_custom1, study_custom2, study_custom3, study_date, study_desc, study_id, study_iuid, study_time, updated_time, version, pk) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26)
DETAIL: parameters: $1 = '', $2 = '2018-04-13 00:07:58.729', $3 = '25130065', $4 = '13204', $5 = '2', $6 = '2018-04-13 00:07:58.729', $7 = NULL, $8 = '', $9 = '0', $10 = NULL, $11 = '2018-04-13 00:07:58.729', $12 = '2898', $13 = NULL, $14 = '0', $15 = 'fs1', $16 = '', $17 = '', $18 = '*', $19 = '20150608', $20 = 'CHEST', $21 = '906', $22 = '1.2.840.20150608.25130065', $23 = '174236.000', $24 = '2018-04-13 00:07:58.729', $25 = '0', $26 = '2898'
Where the timestamp 2018-04-13 00:07:58.729
used by hibernate is in local time but postgres interprets the value of created_time
as timestamp without time zone
according to the schema:
pacsdb=# select extract(epoch from created_time) from study where pk = '2898';
date_part
----------------
1523578078.729
(1 row)
While the expected result for this query is:
pacsdb=# select extract(epoch from created_time :: timestamp with time zone) from study where pk = '2898';
date_part
----------------
1523549278.729
(1 row)
Version of images:
dcm4che/dcm4chee-arc-psql:5.10.3-logstash-secure-ui
dcm4che/postgres-dcm4chee:9.6-10
dcm4che/slapd-dcm4chee:2.4.40-10.3
Consider updating default performance related settings in postgres
Adjust default settings in dockerfile:
RUN sed -i -e"s/^max_connections = 100.*$/max_connections = 1000/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^shared_buffers =.*$/shared_buffers = 512MB/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#effective_cache_size = 128MB.*$/effective_cache_size = 1GB/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#work_mem = 1MB.*$/work_mem = 4MB/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#maintenance_work_mem = 16MB.*$/maintenance_work_mem = 512MB/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#checkpoint_segments = .*$/checkpoint_segments = 8/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#checkpoint_completion_target = 0.5.*$/checkpoint_completion_target = 0.7/" /var/lib/postgresql/data/postgresql.conf
RUN sed -i -e"s/^#wal_buffers =.*$/wal_buffers = 16MB/" /var/lib/postgresql/data/postgresql.conf
docker run --link postgres:db ... --d dcm4che/dcm4chee-arc-psql invalid reference format
``[root@localhost ~]# docker run --link postgres:db ... --d dcm4che/dcm4chee-arc-psql
docker: invalid reference format.
See 'docker run --help'.
[root@localhost ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2b64d913e429 dcm4che/postgres-dcm4chee:10.0-12 "docker-entrypoint.sā¦" 4 minutes ago Up 4 minutes 0.0.0.0:5432->5432/tcp postgres
I have started the container, but I can't create a connection. Can you tell me what to ask? thank you very much
Manifest unknown
Hi, I went to pull the docker and the error appeared:
# docker pull dcm4che/postgres-dcm4chee
Using default tag: latest
Error response from daemon: manifest for dcm4che/postgres-dcm4chee:latest not found: manifest unknown: manifest unknown
is it bug?
Consider exposing selected postgresql.conf memory settings via env variables
todo provide instrocutions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.