From 31fbcec840f46a464507468cc0a0ab06ee79d059 Mon Sep 17 00:00:00 2001 From: Jakob Havstein Eriksen Date: Tue, 12 Nov 2024 21:29:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Index=20p=C3=A5=20f?= =?UTF-8?q?=C3=B8dselsnummer=20i=20json=20i=20hendelse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forberedende for å fjerne kolonna fodselsnummer, så vi kan frikoble command fra hendelse. Co-authored-by: Christian Skovborg Gule --- deploy/prod.yml | 3 +++ ...49__index_for_f\303\270dselsnummer_fra_json_i_hendelse.sql" | 1 + 2 files changed, 4 insertions(+) create mode 100644 "spesialist-felles/src/main/resources/db/migration/V549__index_for_f\303\270dselsnummer_fra_json_i_hendelse.sql" diff --git a/deploy/prod.yml b/deploy/prod.yml index 904ff3b96..abdf351e7 100644 --- a/deploy/prod.yml +++ b/deploy/prod.yml @@ -95,6 +95,9 @@ spec: envVarPrefix: DATABASE users: - name: bigquery_connection_user + flags: + - name: maintenance_work_mem + - value: "41943040" env: - name: KAFKA_RAPID_TOPIC value: tbd.rapid.v1 diff --git "a/spesialist-felles/src/main/resources/db/migration/V549__index_for_f\303\270dselsnummer_fra_json_i_hendelse.sql" "b/spesialist-felles/src/main/resources/db/migration/V549__index_for_f\303\270dselsnummer_fra_json_i_hendelse.sql" new file mode 100644 index 000000000..3e4602d51 --- /dev/null +++ "b/spesialist-felles/src/main/resources/db/migration/V549__index_for_f\303\270dselsnummer_fra_json_i_hendelse.sql" @@ -0,0 +1 @@ +create index hendelse_fødselsnummer_idx on hendelse ((data->>'fødselsnummer'));