wiki.techinc.nl/maintenance/postgres/archives
Jeff Janes 64fbe6a89b In maintenance/postgres/tables.sql, the profiling table should be defined like
this:

CREATE TABLE profiling (
  pf_count   INTEGER         NOT NULL DEFAULT 0,
  pf_time    FLOAT           NOT NULL DEFAULT 0,
  pf_memory  FLOAT           NOT NULL DEFAULT 0,
  pf_name    TEXT            NOT NULL,
  pf_server  TEXT            NULL
);

The current use of NUMERIC(18,10) very rapidly overflows the pf_memory column,
generating errors.  Also, the NUMERIC is very much slower than float, and in
this case it has no advantages.

Bug: 55722
Change-Id: I48b00d55aaed821a4ceb9365033817a3b477d71a
2013-10-15 20:19:10 +00:00
..
patch-add_interwiki.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-category.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-categorylinks-better-collation.sql
patch-change_tag.sql
patch-iwlinks.sql
patch-kill-iwl_prefix.sql
patch-l10n_cache.sql
patch-log_search.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-module_deps.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-msg_resource.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-msg_resource_links.sql Fix PostgreSQL updater to produce 1.19 schema 2012-04-10 12:59:21 -04:00
patch-page.sql
patch-page_deleted.sql
patch-page_props.sql
patch-page_restrictions.sql
patch-profiling.sql In maintenance/postgres/tables.sql, the profiling table should be defined like 2013-10-15 20:19:10 +00:00
patch-protected_titles.sql
patch-querycachetwo.sql
patch-rc_cur_id-not-null.sql
patch-redirect.sql
patch-remove-archive2.sql
patch-rename-iwl_prefix.sql (bug 36400) API: Fix sorting for iwlinks, langlinks 2013-04-03 13:22:20 -04:00
patch-revision_rev_user_fkey.sql
patch-sites.sql Include Postgres tables and maintenance scripts for Change I23c47c2c 2013-02-01 20:09:40 +00:00
patch-tag_summary.sql
patch-testrun.sql Remove a bunch of trailing spaces and unneeded newlines 2012-10-20 13:32:35 +02:00
patch-ts2pagetitle.sql
patch-tsearch2funcs.sql
patch-update_sequences.sql
patch-updatelog.sql
patch-uploadstash.sql
patch-uploadstash_sequence.sql Followup to r103365, actually include said patch file 2011-11-16 19:55:21 +00:00
patch-user_former_groups.sql
patch-user_properties.sql
patch-valid_tag.sql