postgresql/doc/src/sgml
Robert Haas 9da0cc3528 Support parallel btree index builds.
To make this work, tuplesort.c and logtape.c must also support
parallelism, so this patch adds that infrastructure and then applies
it to the particular case of parallel btree index builds.  Testing
to date shows that this can often be 2-3x faster than a serial
index build.

The model for deciding how many workers to use is fairly primitive
at present, but it's better than not having the feature.  We can
refine it as we get more experience.

Peter Geoghegan with some help from Rushabh Lathia.  While Heikki
Linnakangas is not an author of this patch, he wrote other patches
without which this feature would not have been possible, and
therefore the release notes should possibly credit him as an author
of this feature.  Reviewed by Claudio Freire, Heikki Linnakangas,
Thomas Munro, Tels, Amit Kapila, me.

Discussion: http://postgr.es/m/CAM3SWZQKM=Pzc=CAHzRixKjp2eO5Q0Jg1SoFQqeXFQ647JiwqQ@mail.gmail.com
Discussion: http://postgr.es/m/CAH2-Wz=AxWqDoVvGU7dq856S4r6sJAj6DBn7VMtigkB33N5eyg@mail.gmail.com
2018-02-02 13:32:44 -05:00
..
ref Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
.gitignore git-ignore intermediate files from new docs toolchain. 2017-05-15 15:48:40 -04:00
acronyms.sgml doc: add JSON acronym 2018-01-11 11:21:33 -05:00
adminpack.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
advanced.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
amcheck.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
arch-dev.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
array.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
auth-delay.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
auto-explain.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
backup.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
bgworker.sgml doc: clarify use of RegisterDynamicBackgroundWorker 2018-01-24 13:20:37 -05:00
biblio.sgml Convert SGML IDs to lower case 2017-10-20 19:26:10 -04:00
bki.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
bloom.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
brin.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
btree-gin.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
btree-gist.sgml Convert SGML IDs to lower case 2017-10-20 19:26:10 -04:00
catalogs.sgml Local partitioned indexes 2018-01-19 11:49:22 -03:00
charset.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
citext.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
client-auth.sgml Allow ldaps when using ldap authentication 2018-01-03 10:11:26 -05:00
config.sgml Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
contrib-spi.sgml doc: in contrib-spi, mention and link to the meaning of SPI 2018-01-31 16:54:33 -05:00
contrib.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
cube.sgml llow negative coordinate for ~> (cube, int) operator 2018-01-11 14:49:36 +03:00
custom-scan.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
datatype.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
datetime.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dblink.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
ddl.sgml Add missing semicolons in documentation examples 2018-01-27 13:13:52 +01:00
dfunc.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dict-int.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dict-xsyn.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
diskusage.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
dml.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
docguide.sgml doc: Update memory requirements for FOP 2017-12-05 15:41:56 -05:00
earthdistance.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
ecpg.sgml SQL procedures 2017-11-30 11:03:20 -05:00
errcodes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
event-trigger.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
extend.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
external-projects.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
fdwhandler.sgml Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
features.sgml Update SQL features/conformance information to SQL:2011 2012-05-17 09:50:04 +03:00
file-fdw.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
filelist.sgml Remove unused documentation file 2017-10-09 07:47:44 -04:00
func.sgml Ability to advance replication slots 2018-01-17 11:38:34 +00:00
fuzzystrmatch.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
generate-errcodes-table.pl Update copyright for 2018 2018-01-02 23:30:12 -05:00
generic-wal.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
geqo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
gin.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
gist.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
high-availability.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
history.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
hstore.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
indexam.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
indices.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
info.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
information_schema.sgml SQL procedures 2017-11-30 11:03:20 -05:00
install-windows.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
installation.sgml doc: Flex is not a GNU package 2017-12-05 21:04:38 -05:00
intagg.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
intarray.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
intro.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
isn.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
json.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
keywords.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
legal.sgml Update copyright for 2018 2018-01-02 23:30:12 -05:00
libpq.sgml doc: simplify intermediate certificate mention in libpq docs 2018-01-23 10:18:21 -05:00
lo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
lobj.sgml Update copyright for 2018 2018-01-02 23:30:12 -05:00
logical-replication.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
logicaldecoding.sgml Extend near-wraparound hints to include replication slots 2017-12-29 14:01:25 +00:00
ltree.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
maintenance.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
Makefile Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
manage-ag.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
mk_feature_tables.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
monitoring.sgml Support parallel btree index builds. 2018-02-02 13:32:44 -05:00
mvcc.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
nls.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
notation.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
oid2name.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pageinspect.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
parallel.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
passwordcheck.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
perform.sgml doc: Fix figures in example description 2017-12-18 16:00:35 -05:00
pgbuffercache.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgcrypto.sgml pgcrypto's encrypt() supports AES-128, AES-192, and AES-256 2018-01-31 16:33:11 -05:00
pgfreespacemap.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
pgprewarm.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgrowlocks.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstandby.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstatstatements.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgstattuple.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgtrgm.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
pgvisibility.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
planstats.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
plhandler.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
plperl.sgml Transaction control in PL procedures 2018-01-22 08:43:06 -05:00
plpgsql.sgml Transaction control in PL procedures 2018-01-22 08:43:06 -05:00
plpython.sgml Transaction control in PL procedures 2018-01-22 08:43:06 -05:00
pltcl.sgml Transaction control in PL procedures 2018-01-22 08:43:06 -05:00
postgres-fdw.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
postgres.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
problems.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
protocol.sgml Fix up references to scram-sha-256 2018-01-30 16:50:30 -05:00
queries.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
query.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rangetypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
README.links docs: improve xref description for xreflabel and refentry links 2014-01-30 12:26:18 -05:00
recovery-config.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
reference.sgml SQL procedures 2017-11-30 11:03:20 -05:00
regress.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-7.4.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.0.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.1.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.3.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-8.4.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.0.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.1.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.3.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.4.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.5.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-9.6.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-10.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release-old.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
release.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
replication-origins.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rowtypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
rules.sgml Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
runtime.sgml doc: update intermediate certificate instructions 2018-01-20 21:47:02 -05:00
seg.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
sepgsql.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
sourcerepo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
sources.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
spgist.sgml Add polygon opclass for SP-GiST 2017-12-25 18:59:38 +03:00
spi.sgml doc: in contrib-spi, mention and link to the meaning of SPI 2018-01-31 16:54:33 -05:00
sslinfo.sgml Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
standalone-install.xml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
standalone-profile.xsl Get rid of parameterized marked sections in SGML 2017-09-27 11:26:08 -04:00
start.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
storage.sgml Additional docs for toast_tuple_target changes 2017-11-27 09:51:51 +00:00
stylesheet-common.xsl doc: Turn on generate.consistent.ids parameter 2017-12-05 09:00:26 -05:00
stylesheet-fo.xsl doc: Improve PDF bookmarks 2017-08-15 14:37:44 -04:00
stylesheet-hh.xsl Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03:00
stylesheet-html-common.xsl doc: Convert ids to upper case at build time 2017-11-03 14:14:02 -04:00
stylesheet-html-nochunk.xsl Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
stylesheet-man.xsl doc: Supply XSLT template for superscript element in man pages 2016-07-17 17:01:07 -04:00
stylesheet-speedup-common.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-speedup-xhtml.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-text.xsl Create INSTALL file via XSLT 2017-03-08 08:41:23 -05:00
stylesheet.css doc: Tweak CSS 2017-04-12 15:41:41 -04:00
stylesheet.xsl Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
syntax.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tablefunc.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tablesample-method.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tcn.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
test-decoding.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
textsearch.sgml Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
trigger.sgml Allow UPDATE to move rows between partitions. 2018-01-19 15:33:06 -05:00
tsm-system-rows.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
tsm-system-time.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
typeconv.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
unaccent.sgml Don't use SGML empty tags 2017-10-17 15:10:33 -04:00
user-manag.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
uuid-ossp.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
vacuumlo.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
wal.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xaggr.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xfunc.sgml SQL procedures 2017-11-30 11:03:20 -05:00
xindex.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xml2.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xoper.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xplang.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00
xtypes.sgml Convert documentation to DocBook XML 2017-11-23 09:44:28 -05:00

<!-- doc/src/sgml/README.links -->

Linking within SGML documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get chapter/section number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  has no close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link
	text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

o  If you want to supply text, use <link>, else <xref>
o  Do not use text with <ulink> so the URL appears in printed output
o  Specific nouns like GUC variables, SQL commands, and contrib modules
   usually have xreflabels