Just Plain Slow

It takes a while to process a lot of data

http://archives.postgresql.org/message-id/4E948263.8040305@consistentstate.com

http://archives.postgresql.org/message-id/CA+TgmobFAopH3OHgGWoEFRXXErVU3FLSJ5Rm0zfQkOO2O7baGg@mail.gmail.com

http://archives.postgresql.org/message-id/4EB1A419.1080901@consistentstate.com (small row counts, but basically the same issue)

http://archives.postgresql.org/message-id/4EB1A63E.80101@consistentstate.com

http://www.postgresql.org/message-id/CAM_v1L0RL3Jg_N=gn4WwBzq5ro5s1-zye2qOpykvZcFFe40nYg@mail.gmail.com

http://www.postgresql.org/message-id/CANnt-4YWdFj5R0J6BkrL1UivU5JSn5-E+3PAyAxY1t0zMV_tRw@mail.gmail.com

Disks are slower than memory

http://archives.postgresql.org/message-id/CAFcOn293DCQd-OsoPaTu8Upo2PJw0X2XmCJoe+BWjBGSm0eqbg@mail.gmail.com

http://archives.postgresql.org/message-id/4EAC10D4.1080300@comodo.com

http://archives.postgresql.org/message-id/1334333687863-5638777.post@n5.nabble.com

http://archives.postgresql.org/message-id/CA+YV+HxVLPGYRaN9HEfH7UDUDP40g4a=dKRC-NZF+i_a8oVGVg@mail.gmail.com

http://archives.postgresql.org/message-id/CAOpcnr9MOa_CbB7pLOOry_710F4F27zeXjXqSYbf7kKvx5owwg@mail.gmail.com

http://www.postgresql.org/message-id/001501ce1054$7b518380$71f48a80$@sympatico.ca

Clauses involving multiple tables can't be pushed down

http://archives.postgresql.org/message-id/3479994c.402ea88e.4e3797ac.972cd@tlen.pl [concatenation across values from different tables prevents pushdown; OR prevents pushdown]

Random I/O is slower than sequential I/O

http://www.postgresql.org/message-id/CAFwQ8rfY0X_uMiAczWz4tp+E=mFQC0ohMt-F1MrETMDKVBXqBw@mail.gmail.com

Linearly scanning an array is O(n)

http://archives.postgresql.org/message-id/4EE75936.8040806@ruptela.lt

Can't figure out which patterns match a string without trying them all

http://archives.postgresql.org/message-id/4EE9533E.1050001@gmail.com

One regular expression is faster than two

http://archives.postgresql.org/message-id/CAF=aNMHrvpCdZT2yajmBpqKZmxf828ejddo2RzmGZaKnH9niwg@mail.gmail.com

Scanning more tables is slower than scanning fewer tables

http://www.postgresql.org/message-id/CAH3i69=mvgnGDuU_U0dCemWibpPc0uXf799F0ryvkbW6vTWqEg@mail.gmail.com

Replanning isn't free

http://www.postgresql.org/message-id/035b01ce20e9$38ec92a0$aac5b7e0$@ang.com.pl

xmlconcat is slow, especially when iterated

http://www.postgresql.org/message-id/512738B3.4070309@esitelsrl.it

xmlagg is much slower than string_agg

http://archives.postgresql.org/message-id/4DFF0CD9.9010805@nsoft.lt

UNION is slower than UNION ALL

http://www.postgresql.org/message-id/20130227100352.GA46292@nataraj.karasik.eu.org