Skip to content
Snippets Groups Projects
Commit 5b801694 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Break PERFORMANCE up into subsections.

parent fdf881d1
No related branches found
No related tags found
No related merge requests found
TODO list for PostgreSQL TODO list for PostgreSQL
======================== ========================
Last updated: Tue Jan 22 15:39:51 EST 2002 Last updated: Tue Jan 22 15:49:54 EST 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...@@ -372,44 +372,57 @@ VACUUM ...@@ -372,44 +372,57 @@ VACUUM
* -Allow ANALYZE to ESTIMATE based on certain random precentage of rows (Tom) * -Allow ANALYZE to ESTIMATE based on certain random precentage of rows (Tom)
* Add LAZY VACUUM (Vadim) [performance] * Add LAZY VACUUM (Vadim) [performance]
MISCELLANEOUS LOCKING
* Make locking of shared data structures more fine-grained
* Add code to detect an SMP machine and handle spinlocks accordingly
* Research use of sched_yield() for spinlock acquisition failure
* -Improve spinlock code [performance] (Tom)
STARTUP TIME
* -Allow compression of log and meta data (Tom)
* Do async I/O for faster random read-ahead of data
* Experiment with multi-threaded backend [thread] * Experiment with multi-threaded backend [thread]
* Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
when it is available
* Use mmap() rather than SYSV shared memory(?) [mmap]
* Use mmap() to write WAL files (?) [mmap]
* Improve Subplan list handling
* Allow Subplans to use efficient joins(hash, merge) with upper variable
* Improve dynamic memory allocation by introducing tuple-context memory
allocation (Tom)
* -Allow GUC configuration of maximum number of open files (Tom)
* -Improve statistics storage in pg_class [performance] (Tom)
* Add connection pooling [pool] * Add connection pooling [pool]
* Allow persistent backends [persistent] * Allow persistent backends [persistent]
* Create a transaction processor to aid in persistent connections and * Create a transaction processor to aid in persistent connections and
connection pooling connection pooling
* Allow logging of query durations * Do listen() in postmaster and accept() in pre-forked backend
* Add hash for evaluating GROUP BY aggregates * Have pre-forked backend pre-connect to last requested database or pass
* -Read pg_hba.conf only on postmaster startup or SIGHUP (Bruce) file descriptor to backend pre-forked for matching database
WRITE-AHEAD LOG
* Have after-change WAL write()'s write only modified data to kernel * Have after-change WAL write()'s write only modified data to kernel
* Reduce number of after-change WAL writes; they exist only to gaurd against * Reduce number of after-change WAL writes; they exist only to gaurd against
partial page writes partial page writes
* Turn off after-change writes if fsync is disabled (?) * Turn off after-change writes if fsync is disabled (?)
* -Improve spinlock code [performance] (Tom)
* Do listen() in postmaster and accept() in pre-forked backend OPTIMIZER/EXECUTOR
* Have pre-forked backend pre-connect to last requested database or pass
file descriptor to backend pre-forked for matching database * Improve Subplan list handling
* Allow Subplans to use efficient joins(hash, merge) with upper variable
* Improve dynamic memory allocation by introducing tuple-context memory
allocation (Tom)
* Add hash for evaluating GROUP BY aggregates
* Nested FULL OUTER JOINs don't work (Tom) * Nested FULL OUTER JOINs don't work (Tom)
* Allow merge and hash joins on expressions not just simple variables (Tom) * Allow merge and hash joins on expressions not just simple variables (Tom)
* Add new pg_proc cachable settings to specify whether function can be * Add new pg_proc cachable settings to specify whether function can be
evaluated only once or once per query evaluated only once or once per query
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce) * Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
* Make locking of shared data structures more fine-grained
* Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS [exists] * Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS [exists]
* Add code to detect an SMP machine and handle spinlocks accordingly
MISCELLANEOUS
* -Allow compression of log and meta data (Tom)
* Do async I/O for faster random read-ahead of data
* Get faster regex() code from Henry Spencer <henry@zoo.utoronto.ca>
when it is available
* Use mmap() rather than SYSV shared memory or to write WAL files (?) [mmap]
* -Allow GUC configuration of maximum number of open files (Tom)
* -Improve statistics storage in pg_class [performance] (Tom)
* Allow logging of query durations
* -Read pg_hba.conf only on postmaster startup or SIGHUP (Bruce)
SOURCE CODE SOURCE CODE
----------- -----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment