Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 85df43f

Browse files
committed
Add URL for:
* Improve speed with indexes For large table adjustments during VACUUM FULL, it is faster to cluster or reindex rather than update the index. Also, index updates can bloat the index.
1 parent 7d3b701 commit 85df43f

File tree

2 files changed

+31
-34
lines changed

2 files changed

+31
-34
lines changed

doc/TODO

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
z
21
PostgreSQL TODO List
32
====================
43
Current maintainer: Bruce Momjian (bruce@momjian.us)
5-
Last updated: Mon May 28 19:56:23 EDT 2007
4+
Last updated: Wed May 30 15:07:10 EDT 2007
65

76
The most recent version of this document can be viewed at
87
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -1169,8 +1168,8 @@ Vacuum
11691168
For large table adjustments during VACUUM FULL, it is faster to cluster
11701169
or reindex rather than update the index. Also, index updates can bloat
11711170
the index.
1172-
11731171
http://archives.postgresql.org/pgsql-hackers/2007-03/msg00024.php
1172+
http://archives.postgresql.org/pgsql-performance/2007-05/msg00296.php
11741173

11751174
* Reduce lock time during VACUUM FULL by moving tuples with read lock,
11761175
then write lock and truncate table

doc/src/FAQ/TODO.html

+29-31
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
33
<html>
44
<head>
5-
<title>z</title>
5+
<title>PostgreSQL TODO List</title>
66
<meta name="generator" content="HTML::TextToHTML v2.25"/>
77
</head>
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
9-
<p>z<br/>
10-
PostgreSQL TODO List
11-
</p><hr/>
12-
Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
13-
Last updated: Mon May 28 19:56:23 EDT 2007
14-
9+
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
10+
<p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11+
Last updated: Wed May 30 15:07:10 EDT 2007
12+
</p>
1513
<p>The most recent version of this document can be viewed at<br/>
1614
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
1715
</p>
@@ -25,7 +23,7 @@
2523
first. There is also a developer's wiki at<br/>
2624
<a href="http://developer.postgresql.org">http://developer.postgresql.org</a>.
2725
</p>
28-
<h1><a name="section_1">Administration</a></h1>
26+
<h1><a name="section_2">Administration</a></h1>
2927

3028
<ul>
3129
<li>Allow major upgrades without dump/reload, perhaps using pg_upgrade
@@ -158,7 +156,7 @@ <h1><a name="section_1">Administration</a></h1>
158156
</p>
159157
</li></ul>
160158
</li></ul>
161-
<h1><a name="section_2">Monitoring</a></h1>
159+
<h1><a name="section_3">Monitoring</a></h1>
162160

163161
<ul>
164162
<li>Allow server log information to be output as INSERT statements
@@ -167,7 +165,7 @@ <h1><a name="section_2">Monitoring</a></h1>
167165
</p>
168166
</li><li>-<em>Add ability to monitor the use of temporary sort files</em>
169167
</li></ul>
170-
<h1><a name="section_3">Data Types</a></h1>
168+
<h1><a name="section_4">Data Types</a></h1>
171169

172170
<ul>
173171
<li>-<em>Make 64-bit version of the MONEY data type</em>
@@ -309,7 +307,7 @@ <h1><a name="section_3">Data Types</a></h1>
309307
</li></ul>
310308
</li></ul>
311309
</li></ul>
312-
<h1><a name="section_4">Functions</a></h1>
310+
<h1><a name="section_5">Functions</a></h1>
313311

314312
<ul>
315313
<li>Allow INET subnet tests using non-constants to be indexed
@@ -365,7 +363,7 @@ <h1><a name="section_4">Functions</a></h1>
365363
e.g. box @&gt; point
366364
</p>
367365
</li></ul>
368-
<h1><a name="section_5">Multi-Language Support</a></h1>
366+
<h1><a name="section_6">Multi-Language Support</a></h1>
369367

370368
<ul>
371369
<li>Add NCHAR (as distinguished from ordinary varchar),
@@ -406,7 +404,7 @@ <h1><a name="section_5">Multi-Language Support</a></h1>
406404
<p> <a href="http://archives.postgresql.org/pgsql-hackers/2007-03/msg00767.php">http://archives.postgresql.org/pgsql-hackers/2007-03/msg00767.php</a>
407405
</p>
408406
</li></ul>
409-
<h1><a name="section_6">Views / Rules</a></h1>
407+
<h1><a name="section_7">Views / Rules</a></h1>
410408

411409
<ul>
412410
<li>Automatically create rules on views so they are updateable, per SQL99
@@ -423,7 +421,7 @@ <h1><a name="section_6">Views / Rules</a></h1>
423421
are added after the view is created.
424422
</p>
425423
</li></ul>
426-
<h1><a name="section_7">SQL Commands</a></h1>
424+
<h1><a name="section_8">SQL Commands</a></h1>
427425

428426
<ul>
429427
<li>Add CORRESPONDING BY to UNION/INTERSECT/EXCEPT
@@ -720,7 +718,7 @@ <h1><a name="section_7">SQL Commands</a></h1>
720718
</li></ul>
721719
</li></ul>
722720
</li></ul>
723-
<h1><a name="section_8">Clients</a></h1>
721+
<h1><a name="section_9">Clients</a></h1>
724722

725723
<ul>
726724
<li>Have pg_ctl look at PGHOST in case it is a socket directory?
@@ -834,7 +832,7 @@ <h1><a name="section_8">Clients</a></h1>
834832
</p>
835833
</li></ul>
836834
</p></ul>
837-
<h1><a name="section_9">Triggers</a></h1>
835+
<h1><a name="section_10">Triggers</a></h1>
838836

839837
<ul>
840838
<li>Add deferred trigger queue file
@@ -869,7 +867,7 @@ <h1><a name="section_9">Triggers</a></h1>
869867
<p> <a href="http://archives.postgresql.org/pgsql-general/2007-02/msg01466.php">http://archives.postgresql.org/pgsql-general/2007-02/msg01466.php</a>
870868
</p>
871869
</li></ul>
872-
<h1><a name="section_10">Dependency Checking</a></h1>
870+
<h1><a name="section_11">Dependency Checking</a></h1>
873871

874872
<ul>
875873
<li>-<em>Flush cached query plans when the dependent objects change or</em>
@@ -878,7 +876,7 @@ <h1><a name="section_10">Dependency Checking</a></h1>
878876
</li><li>-<em>Invalidate prepared queries, like INSERT, when the table definition</em>
879877
is altered
880878
</li></ul>
881-
<h1><a name="section_11">Indexes</a></h1>
879+
<h1><a name="section_12">Indexes</a></h1>
882880

883881
<ul>
884882
<li>Add UNIQUE capability to non-btree indexes
@@ -951,7 +949,7 @@ <h1><a name="section_11">Indexes</a></h1>
951949
</p>
952950
</li></ul>
953951
</li></ul>
954-
<h1><a name="section_12">Fsync</a></h1>
952+
<h1><a name="section_13">Fsync</a></h1>
955953

956954
<ul>
957955
<li>Improve commit_delay handling to reduce fsync()
@@ -969,7 +967,7 @@ <h1><a name="section_12">Fsync</a></h1>
969967
<a href="http://archives.postgresql.org/pgsql-hackers/2007-01/msg00079.php">http://archives.postgresql.org/pgsql-hackers/2007-01/msg00079.php</a>
970968
</p>
971969
</li></ul>
972-
<h1><a name="section_13">Cache Usage</a></h1>
970+
<h1><a name="section_14">Cache Usage</a></h1>
973971

974972
<ul>
975973
<li>Allow free-behind capability for large sequential scans, perhaps using
@@ -1034,15 +1032,15 @@ <h1><a name="section_13">Cache Usage</a></h1>
10341032
<a href="http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php">http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php</a>
10351033
</p>
10361034
</li></ul>
1037-
<h1><a name="section_14">Vacuum</a></h1>
1035+
<h1><a name="section_15">Vacuum</a></h1>
10381036

10391037
<ul>
10401038
<li>Improve speed with indexes
10411039
<p> For large table adjustments during VACUUM FULL, it is faster to cluster
10421040
or reindex rather than update the index. Also, index updates can bloat
10431041
the index.
1044-
</p>
1045-
<p> <a href="http://archives.postgresql.org/pgsql-hackers/2007-03/msg00024.php">http://archives.postgresql.org/pgsql-hackers/2007-03/msg00024.php</a>
1042+
<a href="http://archives.postgresql.org/pgsql-hackers/2007-03/msg00024.php">http://archives.postgresql.org/pgsql-hackers/2007-03/msg00024.php</a>
1043+
<a href="http://archives.postgresql.org/pgsql-performance/2007-05/msg00296.php">http://archives.postgresql.org/pgsql-performance/2007-05/msg00296.php</a>
10461044
</p>
10471045
</li><li>Reduce lock time during VACUUM FULL by moving tuples with read lock,
10481046
then write lock and truncate table
@@ -1104,7 +1102,7 @@ <h1><a name="section_14">Vacuum</a></h1>
11041102
</p>
11051103
</li></ul>
11061104
</li></ul>
1107-
<h1><a name="section_15">Locking</a></h1>
1105+
<h1><a name="section_16">Locking</a></h1>
11081106

11091107
<ul>
11101108
<li>Fix priority ordering of read and write light-weight locks (Neil)
@@ -1124,7 +1122,7 @@ <h1><a name="section_15">Locking</a></h1>
11241122
</li><li>Add idle_in_transaction_timeout GUC so locks are not held for long
11251123
periods of time
11261124
</li></ul>
1127-
<h1><a name="section_16">Startup Time Improvements</a></h1>
1125+
<h1><a name="section_17">Startup Time Improvements</a></h1>
11281126

11291127
<ul>
11301128
<li>Experiment with multi-threaded backend for backend creation [<a href="http://momjian.postgresql.org/cgi-bin/pgtodo?thread">thread</a>]
@@ -1147,7 +1145,7 @@ <h1><a name="section_16">Startup Time Improvements</a></h1>
11471145
existing backends is one of the difficulties with a backend approach.
11481146
</p>
11491147
</li></ul>
1150-
<h1><a name="section_17">Write-Ahead Log</a></h1>
1148+
<h1><a name="section_18">Write-Ahead Log</a></h1>
11511149

11521150
<ul>
11531151
<li>Eliminate need to write full pages to WAL before page modification [<a href="http://momjian.postgresql.org/cgi-bin/pgtodo?wal">wal</a>]
@@ -1213,7 +1211,7 @@ <h1><a name="section_17">Write-Ahead Log</a></h1>
12131211
of indexes on TOAST tables.
12141212
</p>
12151213
</li></ul>
1216-
<h1><a name="section_18">Optimizer / Executor</a></h1>
1214+
<h1><a name="section_19">Optimizer / Executor</a></h1>
12171215

12181216
<ul>
12191217
<li>Improve selectivity functions for geometric operators
@@ -1238,7 +1236,7 @@ <h1><a name="section_18">Optimizer / Executor</a></h1>
12381236
<p> <a href="http://archives.postgresql.org/pgsql-hackers/2007-01/msg00096.php">http://archives.postgresql.org/pgsql-hackers/2007-01/msg00096.php</a>
12391237
</p>
12401238
</li></ul>
1241-
<h1><a name="section_19">Miscellaneous Performance</a></h1>
1239+
<h1><a name="section_20">Miscellaneous Performance</a></h1>
12421240

12431241
<ul>
12441242
<li>Do async I/O for faster random read-ahead of data
@@ -1283,7 +1281,7 @@ <h1><a name="section_19">Miscellaneous Performance</a></h1>
12831281
<p> <a href="http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php">http://archives.postgresql.org/pgsql-hackers/2007-01/msg00752.php</a>
12841282
</p>
12851283
</li></ul>
1286-
<h1><a name="section_20">Source Code</a></h1>
1284+
<h1><a name="section_21">Source Code</a></h1>
12871285

12881286
<ul>
12891287
<li>Add use of 'const' for variables in source tree
@@ -1368,7 +1366,7 @@ <h1><a name="section_20">Source Code</a></h1>
13681366
of result sets using new statement protocol
13691367
</li></ul>
13701368
</li></ul>
1371-
<h1><a name="section_21">Exotic Features</a></h1>
1369+
<h1><a name="section_22">Exotic Features</a></h1>
13721370

13731371
<ul>
13741372
<li>Add pre-parsing phase that converts non-ISO syntax to supported
@@ -1396,7 +1394,7 @@ <h1><a name="section_21">Exotic Features</a></h1>
13961394
<a href="http://archives.postgresql.org/pgsql-hackers/2006-10/msg01527.php">http://archives.postgresql.org/pgsql-hackers/2006-10/msg01527.php</a>
13971395
</p>
13981396
</li></ul>
1399-
<h1><a name="section_22">Features We Do <u>Not</u> Want</a></h1>
1397+
<h1><a name="section_23">Features We Do <u>Not</u> Want</a></h1>
14001398

14011399
<ul>
14021400
<li>All backends running as threads in a single process (not wanted)

0 commit comments

Comments
 (0)