From d35e1c3ea8e149854598053f9dd0dd35bc9b132b Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Mon, 12 Sep 2022 09:04:11 -0400 Subject: [PATCH 1/3] Trigger auto-analyze more frequently for guestbook estimates --- .../db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql diff --git a/src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql b/src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql new file mode 100644 index 00000000000..91ab5253f9c --- /dev/null +++ b/src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql @@ -0,0 +1 @@ +ALTER TABLE guestbookresponse SET (autovacuum_analyze_scale_factor = 0.01); \ No newline at end of file From 11ff8d7a7a75c9566935e6b2581bb88cdad0529e Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Mon, 12 Sep 2022 09:29:19 -0400 Subject: [PATCH 2/3] rel note --- doc/release-notes/8840-improved-download-estimate.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/release-notes/8840-improved-download-estimate.md diff --git a/doc/release-notes/8840-improved-download-estimate.md b/doc/release-notes/8840-improved-download-estimate.md new file mode 100644 index 00000000000..cb264b7e683 --- /dev/null +++ b/doc/release-notes/8840-improved-download-estimate.md @@ -0,0 +1 @@ +To improve performance, Dataverse estimates download counts. This release includes an update that makes the estimate more accurate. \ No newline at end of file From 8f9639c57542931aceb7fc81b4d90b19256a79c5 Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Mon, 19 Dec 2022 12:19:30 -0500 Subject: [PATCH 3/3] Update script name --- ...imates.sql => V5.13.0.3__8840-improve-guestbook-estimates.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/main/resources/db/migration/{V5.12.0.1__8840-improve-guestbook-estimates.sql => V5.13.0.3__8840-improve-guestbook-estimates.sql} (100%) diff --git a/src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql b/src/main/resources/db/migration/V5.13.0.3__8840-improve-guestbook-estimates.sql similarity index 100% rename from src/main/resources/db/migration/V5.12.0.1__8840-improve-guestbook-estimates.sql rename to src/main/resources/db/migration/V5.13.0.3__8840-improve-guestbook-estimates.sql