• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reduced generation of dead tuples in postgres.

Background: In the old version, the fields latest and live

revisions were updated always via two separate dmlDML statements.

Every update causes in PostgreSQL (tested to pg 9.6) one more dead

tuple, such that on busy systems, we see 30k + dead tuples per

hour. These dead tuples in turn cause more auto vacuum operations

and can lead to abandoned query plans.

This change can reduce the number of dead tuples on cr_items into

half, by allowing both fields to be set in one operation (namely

content_item__set_live_revision). This function has an optional 4th

argument that can cause this optimization. For legacy applications,

nothing changes.

Btw: since all commonly used applications use the live revision, the

fallback of the latest_revision is unused. One can consider to

remove the cr_revision_latest_tr, at least on on certain

installations.

bump revision to 5.1.9d23

    • -0
    • +90
    ./postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d22-5.9.1d23.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql
Fixed if statement in oracle upgrade script

Simplified upgrade-5.9.1d20-5.9.1d21.sql postgres script

    • -54
    • +30
    ./postgresql/upgrade/upgrade-5.9.1d20-5.9.1d21.sql
Added Oracle version of acs-cr upgrade-5.9.1d20-5.9.1d21.sql script and simplified postgres version.

file upgrade-5.9.1d20-5.9.1d21.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d20-5.9.1d21.sql
Updated mimetypes

    • -0
    • +89
    ./postgresql/upgrade/upgrade-5.9.1d20-5.9.1d21.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d20-5.9.1d21.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d20-5.9.1d21.sql
- use same logic in all update-scripts for cr_mime_types

- update upgrade script to more powerful version used in later update scripts as well

    • -8
    • +24
    ./postgresql/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
- fix old typo in label of unknown mimtype (was "Unkown")

    • -0
    • +1
    ./postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d19-5.9.1d20.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d19-5.9.1d20.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d19-5.9.1d20.sql
- use consistently varchar(1000) for object_types

- bump version number to 5.9.1d19

    • -0
    • +33
    ./postgresql/upgrade/upgrade-5.9.1d18-5.9.1d19.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d18-5.9.1d19.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d18-5.9.1d19.sql
file upgrade-5.9.1d17-5.9.1d18.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d17-5.9.1d18.sql
- documentation updates

    • -0
    • +136
    ./postgresql/upgrade/upgrade-5.9.1d17-5.9.1d18.sql
  1. … 30 more files in changeset.
- avoid call of deprecated function

  1. … 1 more file in changeset.
- add missing enumeration type to create script

- fix ambiguity for content_item__new in template__new

- add/update mime types for text/csv text/vcard, text/calendar

- bump version number to 5.9.1d17

    • -0
    • +36
    ./postgresql/upgrade/upgrade-5.9.1d15-5.9.1d16.sql
    • -0
    • +70
    ./postgresql/upgrade/upgrade-5.9.1d16-5.9.1d17.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d15-5.9.1d16.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d15-5.9.1d16.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d15-5.9.1d16.sql
file upgrade-5.9.1d16-5.9.1d17.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d16-5.9.1d17.sql
- Change text enumeration field "storage_type" in cr_items to native

SQL enumeration type

- bump version number to 5.9.1d15

    • -0
    • +639
    ./postgresql/upgrade/upgrade-5.9.1d14-5.9.1d15.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d14-5.9.1d15.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d14-5.9.1d15.sql
- handle .gzip like .gz

    • -0
    • +1
    ./postgresql/upgrade/upgrade-5.9.1d13-5.9.1d14.sql
- use newer style mimetype 'application/gzip' instead of

'application/x-gzip' as defined by IANA content types

- fix indentation in sql/common/mime-type-data.sql

- bump version number to 5.9.1d14

    • -0
    • +34
    ./postgresql/upgrade/upgrade-5.9.1d13-5.9.1d14.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d13-5.9.1d14.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d13-5.9.1d14.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d13-5.9.1d14.sql
- update mimetype definition of javascript to the form specified via IANA content types

- add JSON mimetpye

    • -0
    • +35
    ./postgresql/upgrade/upgrade-5.9.1d12-5.9.1d13.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d12-5.9.1d13.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d12-5.9.1d13.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d12-5.9.1d13.sql
- change mime type for .swf from "application/x-shockwave-flash" to IANA complient entry "application/vnd.adobe.flash-movie"

    • -0
    • +19
    ./postgresql/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d11-5.9.1d12.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
- add more Open XML formats for MS-Office

  1. … 1 more file in changeset.