summaryrefslogtreecommitdiff
path: root/rt/UPGRADING
diff options
context:
space:
mode:
authorivan <ivan>2004-03-11 02:05:38 +0000
committerivan <ivan>2004-03-11 02:05:38 +0000
commiteb9668a6f3181ee02cb335272c5ee4616e61fd09 (patch)
treef5a22d9141723fd9e2fdb40430e4a38743b72604 /rt/UPGRADING
parent25953817e61fd252c18241699c0b6cdc3fa54121 (diff)
parent289340780927b5bac2c7604d7317c3063c6dd8cc (diff)
This commit was generated by cvs2svn to compensate for changes in r3241,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/UPGRADING')
-rw-r--r--rt/UPGRADING64
1 files changed, 64 insertions, 0 deletions
diff --git a/rt/UPGRADING b/rt/UPGRADING
new file mode 100644
index 000000000..4306eb6cb
--- /dev/null
+++ b/rt/UPGRADING
@@ -0,0 +1,64 @@
+UPGRADING
+
+
+*******
+WARNING
+*******
+
+
+Before making any changes to your database, always ensure that you have a
+complete current backup. If you don't have a current backup, you could
+accidentally damage your database and lose data or worse.
+
+
+
+Look for the
+
+
+----------------------------------------------------------------------
+
+3.0.7
+=====
+
+All Databases
+-------------
+
+If you are upgrading from versions between 3.0.0 and 3.0.7, inclusive,
+you might find improved performance by adding the following index to
+your database:
+
+CREATE INDEX Links4 ON Links(Type,LocalBase);
+
+
+
+3.0.6
+=====
+
+
+All Databases
+-------------
+
+If you are upgrading from versions between 3.0.0 and 3.0.6, inclusive,
+you might find improved performance by adding the following indices to
+your database:
+
+ CREATE INDEX TicketCustomFieldValues1 ON TicketCustomFieldValues (CustomField,Ticket,Content);
+ CREATE INDEX TicketCustomFieldValues2 ON TicketCustomFieldValues (CustomField,Ticket);
+
+ CREATE INDEX CustomFieldValues1 ON CustomFieldValues (CustomField);
+
+
+
+Postgres
+--------
+
+If you have a Postgres database, the following changes to your
+database can improve performance:
+
+ ALTER TABLE groups rename instance to instance1;
+ ALTER TABLE groups add instance int;
+ UPDATE groups SET instance = instance1::text::int where btrim(instance1) <> '';
+ ALTER TABLE groups drop column instance1;
+
+
+