href="http://sources.redhat.com/rhdb/">http://sources.redhat.com/rhdb/
http://phppgadmin.sourceforge.net/ ), a web-based interface to
PostgreSQL.
-
We have a nice graphical user interface called PgAccess which can
- also be used as a report generator. The Web page is
-
2.4) What languages are able to communicate with
PostgreSQL?
the number of allowed backend processes is so your system won't run
out of resources.
-
In PostgreSQL versions prior to 6.5, the maximum number of
- backends was 64, and changing it required a rebuild after altering
- the MaxBackendId constant in
- include/storage/sinvaladt.h.
-
3.9) What is in the pgsql_tmp directory?
This directory contains temporary files generated by the query
LIMIT 1;
+
If you believe the optimizer is incorrect in choosing a
+ sequential scan, use SET enable_seqscan TO 'off'
and
+ run tests to see if an index scan is indeed faster.
+
When using wild-card operators such as LIKE or
~, indexes can only be used in certain circumstances:
Type Internal Name Notes
--------------------------------------------------
-"char" char 1 character
-CHAR(n) bpchar blank padded to the specified fixed length
VARCHAR(n) varchar size specifies maximum length, no padding
+CHAR(n) bpchar blank padded to the specified fixed length
TEXT text no specific upper limit on length
+"char" char one character
BYTEA bytea variable-length byte array (null-byte safe)
stored out-of-line by TOAST, so the space on disk
might also be less than expected.
-
CHAR(n) is best when storing strings that are
- usually the same length. VARCHAR(n) is best when
- storing variable-length strings but it limits how long a string can
- be. TEXT is for strings of unlimited length, maximum
- 1 gigabyte. BYTEA is for storing binary data,
+ VARCHAR(n) is best when storing variable-length
+ strings and it limits how long a string can be. TEXT
+ is for strings of unlimited length, with a maximum of one gigabyte.
+
CHAR(n) is for storing strings that are all the
+ same length. CHAR(n) pads with blanks to the specified
+ length, while VARCHAR(n) only stores the characters
+ supplied. BYTEA is for storing binary data,
particularly values that include NULL bytes. These
types have similar performance characteristics.
For this to be fast, subcol
should be an indexed column.
- We hope to fix this limitation in a future release.
+ This preformance problem will be fixed in 7.4.
4.23) How do I perform an outer join?