[Rt-commit] rt branch, 4.2/fts-refactor-performance, repushed
Alex Vandiver
alexmv at bestpractical.com
Thu Mar 5 00:29:38 EST 2015
The branch 4.2/fts-refactor-performance was deleted and repushed:
was 8ae077a128355971deff91e9eb1cc3367df28ec6
now 7c48294aa34a7985675f5a56fa5a932aabd64f64
1: 44600fc = 1: 44600fc Inline extract_text and extract_html
2: 391b307 = 2: 391b307 Inline the differences between text/plain and text/html attachment lists
3: b891a82 = 3: b891a82 Stop skipping indexing of text/html within multipart/alternative
4: 3e9924f = 4: 3e9924f Use the new, shorter, initialization form
5: 1b1ed1b = 5: 1b1ed1b Simplify and condense option parsing
6: f8c465b = 6: f8c465b Documentation has moved out; update --help accordingly
7: a0d966f = 7: a0d966f Remove AUTHOR section; it is unnecessary in core sbin files
8: 425c689 ! 8: 5cb2b87 Skipping ACL checks yields a sizable performance increase
@@ -21,6 +21,7 @@
+# running as the system user.
+{
+ no warnings 'redefine';
++ no warnings 'once';
+ *RT::Attachment::_Value = \&DBIx::SearchBuilder::Record::_Value;
+ *RT::Attachments::Next = \&DBIx::SearchBuilder::Next;
+}
9: 65f2fda = 9: 3233a2f Index attachments in one pass through the database, not two
10: 568144a = 10: fd11115 Index attachments even on deleted tickets
11: 236526b = 11: bbd8176 mysql and pg share the same last_indexed; unify the method
12: beea1fe = 12: 8b51e6c Replace the last use of goto_specific with explicit function calls
13: 636887b = 13: b8a79b4 Simplify last_indexed
14: 21bd8e7 = 14: eef5a38 Only call last_indexed once, as it may be heavy
15: 3c6a200 = 15: 1b79337 Index even empty attachments
16: 881b6f8 = 16: d9b996e As last_indexed is based on the highest insert, there will never be an UPDATE needed
17: 4a3bccf = 17: a2a995b Inversion of control of main indexing loops
18: fb0c0f9 = 18: c0cce10 Switch to preparing statements, rather than just setting strings
19: 55cbef6 = 19: 8f3c2ed INSERT DELAYED provides notable speed benefits on MyISAM
20: 4964a03 = 20: b283fa0 Improve MySQL insert speed by batching inserts into one statement
21: 5f63f98 = 21: 8c82225 Testing finds 200 is a good default batch size
22: a4375cc = 22: a22e1a1 Indexing of "text" may fail for content with invalid UTF-8 byte sequences
23: 517978c = 23: 54d4681 Refactor PostgreSQL's insert to also do bulk insertion
24: 22a0990 = 24: da757e7 Perform PostgreSQL UPDATE statements inside of a database transaction
25: 3de172d = 25: 2003f53 If a new table is used for indexing, grant rights on it
26: 1cf38b3 = 26: 77e1da6 Insert data to index before creating the index
27: a3f9f23 = 27: e103f6d Switch the default Postgres index to GIN
28: 8ae077a ! 28: bda511a Default to storing the tsvector in a new table, to speed indexing
@@ -44,3 +44,4 @@
setup_indexing();
+
--: ------- > 29: 7c48294 Note modified defaults for PostgreSQL indexing
More information about the rt-commit
mailing list