Commit 870d9641 authored by Bruce Momjian's avatar Bruce Momjian

Update Russian FAQ.

Viktor Vislobokov
parent d11998f3
Otvety na chasto zadavaemye voprosy po PostgreSQL Otvety na chasto zadavaemye voprosy po PostgreSQL
Data poslednego obnovleniya: Pyatnica 30 Maya 22:24:56 EDT 2003 Data poslednego obnovleniya: Voskresen'e 5 Oktyabrya 10:25:21 EDT 2003
Anglijskij variant soprovozhdaet: Bryus Mom'yan (Bruce Momjian) Anglijskij variant soprovozhdaet: Bryus Mom'yan (Bruce Momjian)
(pgman@candle.pha.pa.us) (pgman@candle.pha.pa.us)
...@@ -221,7 +221,8 @@ ...@@ -221,7 +221,8 @@
PostgreSQL, sportirovannyj special'no dlya MS Win NT/2000/XP v PostgreSQL, sportirovannyj special'no dlya MS Win NT/2000/XP v
nastoyaschij moment nachal rabotat'. Podrobnosti tekuschego nastoyaschij moment nachal rabotat'. Podrobnosti tekuschego
sostoyaniya PostgreSQL dlya Windows smotrite na sostoyaniya PostgreSQL dlya Windows smotrite na
http://techdocs.postgresql.org/guides/Windows. http://techdocs.postgresql.org/guides/Windows i
http://momjian.postgresql.org/main/writings/pgsql/win32.html.
Takzhe suschestvuet versiya sportirovannaya pod Novell Netware 6 na Takzhe suschestvuet versiya sportirovannaya pod Novell Netware 6 na
http://forge.novell.com. http://forge.novell.com.
...@@ -277,13 +278,13 @@ ...@@ -277,13 +278,13 @@
Unix irc -c '#PostgreSQL' "$USER" irc.phoenix.net. Unix irc -c '#PostgreSQL' "$USER" irc.phoenix.net.
Spisok kommercheskoj podderzhki kompanij dostupen na Spisok kommercheskoj podderzhki kompanij dostupen na
http://www.ca.PostgreSQL.org/users-lounge/commercial-support.html. http://techdocs.postgresql.org/companies.php.
1.7) Kakaya poslednyaya versiya? 1.7) Kakaya poslednyaya versiya?
Poslednij vypusk PostgreSQL - `eto versiya 7.3.2. Poslednij vypusk PostgreSQL - `eto versiya 7.3.4.
My planiruem vypuskat' novye versii kazhdye chetyre mesyaca. My planiruem vypuskat' novye versii kazhdye 6-8 mesyacev.
1.8) Kakaya dokumentaciya imeetsya v nalichii? 1.8) Kakaya dokumentaciya imeetsya v nalichii?
...@@ -296,8 +297,8 @@ ...@@ -296,8 +297,8 @@
http://www.PostgreSQL.org/docs/awbook.html i http://www.PostgreSQL.org/docs/awbook.html i
http://www.commandprompt.com/ppbook/. Spisok knig po PostgreSQL, http://www.commandprompt.com/ppbook/. Spisok knig po PostgreSQL,
kotorye mozhno kupit' dostupen po adresu kotorye mozhno kupit' dostupen po adresu
http://www.ca.PostgreSQL.org/books/. Krome togo, po adresu http://techdocs.postgresql.org/techdocs/bookreviews.php. Krome togo,
http://techdocs.PostgreSQL.org/ vy mozhete najti kollekciyu po adresu http://techdocs.PostgreSQL.org/ vy mozhete najti kollekciyu
tehnicheskih statej posvyaschennyh PostgreSQL. tehnicheskih statej posvyaschennyh PostgreSQL.
psql imeet neskol'ko prekrasnyh komand \d dlya otobrazheniya psql imeet neskol'ko prekrasnyh komand \d dlya otobrazheniya
...@@ -376,15 +377,20 @@ ...@@ -376,15 +377,20 @@
PostgreSQL imeet proizvoditel'nost' shozhuyu s drugimi PostgreSQL imeet proizvoditel'nost' shozhuyu s drugimi
kommercheskimi SUBD i s SUBD s otkrytym ishodnym kodom, v kommercheskimi SUBD i s SUBD s otkrytym ishodnym kodom, v
kakih-to aspektah rabotaya bystree chem oni, v kakih-to kakih-to aspektah rabotaya bystree chem oni, v kakih-to
medlenee. V sravnenii s MySQL ili linejnymi SUBD, my medlenee medlenee. V sravnenii s MySQL ili linejnymi SUBD, my bystree,
pri operaciyah vstavki/obnovleniya, potomu chto upravlyaem kogda pol'zovatelej mnogo, a takzhe na kompleksnyh zaprosah i
tranzakciyami. I razumeetsya, MySQL ne imeet kakih-libo chtenii/zapisi zagruzki zaprosa. MySQL bystree dlya prostyh
SELECT zaprosov, vypolnyaemyh nebol'shim kolichestvom
pol'zovatelej. I razumeetsya, MySQL ne imeet kakih-libo
vozmozhnostej iz perechislenyh vyshe, v sekcii Vozmozhnosti. My vozmozhnostej iz perechislenyh vyshe, v sekcii Vozmozhnosti. My
delaem upor na nadezhnost' i rasshirennye vozmozhnosti, no my delaem upor na nadezhnost' i rasshirennye vozmozhnosti, no my
takzhe prodolzhaem uvelichivat' proizvoditel'nost' s kazhdym takzhe prodolzhaem uvelichivat' proizvoditel'nost' s kazhdym
vypuskom. Suschestvuet interesnaya stranichka v Internet, vypuskom. Suschestvuet interesnaya stranichka v Internet,
sravnivayuschaya PostgreSQL i MySQL na sravnivayuschaya PostgreSQL i MySQL na
http://openacs.org/philosophy/why-not-mysql.html http://openacs.org/philosophy/why-not-mysql.html. Takzhe, MySQL
- `eto kompaniya, kotoraya rasprostranyaet svoj produkt cherez
otkrytye ishodnye teksty, a ne soobschestvo razrabotchikov s
otkrytymi ishodnymi tekstami, kak PostgreSQL.
Nadezhnost' Nadezhnost'
My ponimali, chto nasha SUBD dolzhna byt' nadezhnoj ili ona My ponimali, chto nasha SUBD dolzhna byt' nadezhnoj ili ona
...@@ -440,6 +446,10 @@ ...@@ -440,6 +446,10 @@
hotite, to mozhete `eto proverit', napisav pis'mo na kontaktnyj adres. hotite, to mozhete `eto proverit', napisav pis'mo na kontaktnyj adres.
_________________________________________________________________ _________________________________________________________________
Esli u vas est' istorii po uspeshnomu primeneniyu PostgreSQL,
pozhalujsta, prisylajte ih na nash sajt propagandy
http://advocacy.postgresql.org.
Voprosy pol'zovatelej po klientskoj chasti Voprosy pol'zovatelej po klientskoj chasti
2.1) Suschestvuyut li ODBC drajvera dlya PostgreSQL? 2.1) Suschestvuyut li ODBC drajvera dlya PostgreSQL?
...@@ -753,7 +763,7 @@ dalit' ...@@ -753,7 +763,7 @@ dalit'
BEGIN; BEGIN;
ALTER TABLE tab ADD COLUMN new_col new_data_type; ALTER TABLE tab ADD COLUMN new_col new_data_type;
UPDATE tab SET new_col = CAST(old_col AS new_data_type); UPDATE tab SET new_col = CAST(old_col AS new_data_type);
ALTER TABLE DROP COLUMN old_col; ALTER TABLE tab DROP COLUMN old_col;
COMMIT; COMMIT;
4.5) Kakovy maksimal'nye razmery dlya zapisej, tablic i bazy dannyh? 4.5) Kakovy maksimal'nye razmery dlya zapisej, tablic i bazy dannyh?
...@@ -761,7 +771,7 @@ dalit' ...@@ -761,7 +771,7 @@ dalit'
Suschestvuyut sleduyuschie ogranicheniya: Suschestvuyut sleduyuschie ogranicheniya:
Maksimal'nyj razmer bazy? neogranichen (suschestvuyut bazy na Maksimal'nyj razmer bazy? neogranichen (suschestvuyut bazy na
4 TB) 4 TB)
Maksimal'nyj razmer tablicy? 16 TB Maksimal'nyj razmer tablicy? 32 TB
Maksimal'nyj razmer zapisi? 1.6 TB Maksimal'nyj razmer zapisi? 1.6 TB
Maksimal'nyj razmer polya? 1 GB Maksimal'nyj razmer polya? 1 GB
Maksimal'noe kolichestvo zapisej v tablice? neogranicheno Maksimal'noe kolichestvo zapisej v tablice? neogranicheno
...@@ -774,14 +784,14 @@ pa ...@@ -774,14 +784,14 @@ pa
znacheniya perechislennye vyshe neopravdano bol'shie, mozhet znacheniya perechislennye vyshe neopravdano bol'shie, mozhet
postradat' proizvoditel'nost'. postradat' proizvoditel'nost'.
Maksimal'nyj razmer tablicy v 16 TB ne trebuet chtoby operacionnaya Maksimal'nyj razmer tablicy v 32 TB ne trebuet chtoby operacionnaya
sistema podderzhivala fajly bol'shih razmerov. Bol'shie tablicy sistema podderzhivala fajly bol'shih razmerov. Bol'shie tablicy
hranyatsya kak mnozhestvo fajlov razmerom v 1 GB, tak chto hranyatsya kak mnozhestvo fajlov razmerom v 1 GB, tak chto
ogranicheniya, kotorye nakladyvaet fajlovaya sistema ne vazhny. ogranicheniya, kotorye nakladyvaet fajlovaya sistema ne vazhny.
Maksimal'nyj razmer tablicy i maksimal'noe kolichestvo kolonok mogut Maksimal'nyj razmer tablicy i maksimal'noe kolichestvo kolonok mogut
byt' uvelicheny, esli razmer bloka po umolchaniyu budet uvelichen do byt' uvelicheny v chetyre raza, esli razmer bloka po umolchaniyu budet
32k. uvelichen do 32k.
4.6) Kak mnogo diskovogo prostranstva v baze dannyh nuzhno dlya sohraneniya 4.6) Kak mnogo diskovogo prostranstva v baze dannyh nuzhno dlya sohraneniya
dannyh iz obychnogo tekstovogo fajla? dannyh iz obychnogo tekstovogo fajla?
...@@ -1026,9 +1036,10 @@ t' null-bajt bez opaski) ...@@ -1026,9 +1036,10 @@ t' null-bajt bez opaski)
I nakonec, vy mozhete ispol'zovat' znachenie OID, vozraschaemoe iz I nakonec, vy mozhete ispol'zovat' znachenie OID, vozraschaemoe iz
opertora INSERT chtoby uvidet' znachenie po umolchaniyu, chto opertora INSERT chtoby uvidet' znachenie po umolchaniyu, chto
predpolozhitel'no yavlyaetsya naimenee perenosimym na drugie platformy predpolozhitel'no yavlyaetsya naimenee perenosimym na drugie platformy
resheniem. V Perl, ispol'zuya DBI s modulei Edmund Mergl'ya DBD::Pg, resheniem, k tomu zhe znachenie oid budet urezat'sya, kogda ono
znachenie oid stanovitsya dostupnym cherez $sth->{pg_oid_status} posle dostignet 4 milliardov. V Perl, ispol'zuya DBI s modulem Edmund
$sth->execute(). Mergl'ya DBD::Pg, znachenie oid stanovitsya dostupnym cherez
$sth->{pg_oid_status} posle $sth->execute().
4.15.3) Ne mozhet li poluchit'sya tak, chto ispol'zovanie currval() i 4.15.3) Ne mozhet li poluchit'sya tak, chto ispol'zovanie currval() i
nextval() privedet k zaciklirovaniyu s drugimi pol'zovatelyami? nextval() privedet k zaciklirovaniyu s drugimi pol'zovatelyami?
...@@ -1245,8 +1256,14 @@ CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP ); ...@@ -1245,8 +1256,14 @@ CREATE TABLE test (x int, modtime timestamp DEFAULT CURRENT_TIMESTAMP );
* contrib/pgcrypto soderzhit mnogo funkcij shifrovaniya dlya * contrib/pgcrypto soderzhit mnogo funkcij shifrovaniya dlya
ispol'zovaniya v SQL zaprosah. ispol'zovaniya v SQL zaprosah.
* Est' tol'ko odin sposob shifrovaniya dannyh, peredavaemyh ot * Dlya shifrovaniya peredavaemyh dannyh ot klienta k serveru, na
klienta k serveru, cherez ispol'zovanie hostssl v pg_hba.conf. servere v fajle postgresql.conf, opciya ssl dolzhna byt'
ustanovlena v true, v fajle pg_hba.conf dolzhna byt'
sootvetstvuyuschaya zapis' host ili hostssl i na storone klienta
sslmode ne dolzhen byt' zapreschion cherez disable. (Zametim, chto
takzhe vozmozhno ispol'zovanie nezavisimyh vneshnih shifruyuschih
transportov, takih kak stunnel ili ssh, vmesto sobstvennyh SSL
soedinenij PostgreSQL).
* Paroli pol'zovatelej k baze dannyh avtomaticheski shifruyutsya, * Paroli pol'zovatelej k baze dannyh avtomaticheski shifruyutsya,
pri sohranenii v versii 7.3. V predyduschih versiyah, vy dolzhny pri sohranenii v versii 7.3. V predyduschih versiyah, vy dolzhny
razreshit' opciyu PASSWORD_ENCRYPTION v postgresql.conf. razreshit' opciyu PASSWORD_ENCRYPTION v postgresql.conf.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
alink="#0000ff"> alink="#0000ff">
<H1> PostgreSQL</H1> <H1> PostgreSQL</H1>
<P> : 30 22:24:56 EDT 2003</P> <P> : 5 10:25:21 EDT 2003</P>
<P> : (Bruce Momjian) (<A href= <P> : (Bruce Momjian) (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR> "mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
...@@ -255,7 +255,10 @@ ...@@ -255,7 +255,10 @@
<P>PostgreSQL, MS Win NT/2000/XP <P>PostgreSQL, MS Win NT/2000/XP
. PostgreSQL . PostgreSQL
Windows <a href="http://techdocs.postgresql.org/guides/Windows"> Windows <a href="http://techdocs.postgresql.org/guides/Windows">
http://techdocs.postgresql.org/guides/Windows</a>.</P> http://techdocs.postgresql.org/guides/Windows</a>
<a href="http://momjian.postgresql.org/main/writings/pgsql/win32.html">
http://momjian.postgresql.org/main/writings/pgsql/win32.html</a>.
</P>
<P> Novell Netware 6 <P> Novell Netware 6
<a href="http://forge.novell.com/">http://forge.novell.com</a>.</P> <a href="http://forge.novell.com/">http://forge.novell.com</a>.</P>
...@@ -323,13 +326,13 @@ ...@@ -323,13 +326,13 @@
<CODE>irc -c '#PostgreSQL' "$USER" irc.phoenix.net.</CODE></P> <CODE>irc -c '#PostgreSQL' "$USER" irc.phoenix.net.</CODE></P>
<P> <P>
<A href="http://www.ca.postgresql.org/users-lounge/commercial-support.html">http://www.ca.PostgreSQL.org/users-lounge/commercial-support.html</A>.</P> <A href="http://techdocs.postgresql.org/companies.php">http://techdocs.postgresql.org/companies.php</A>.</P>
<H4><A name="1.7">1.7</A>) ?</H4> <H4><A name="1.7">1.7</A>) ?</H4>
<P> PostgreSQL - 7.3.2.</P> <P> PostgreSQL - 7.3.4.</P>
<P> .</P> <P> 6-8 .</P>
<H4><A name="1.8">1.8</A>) ?</H4> <H4><A name="1.8">1.8</A>) ?</H4>
...@@ -343,7 +346,7 @@ ...@@ -343,7 +346,7 @@
"http://www.PostgreSQL.org/docs/awbook.html">http://www.PostgreSQL.org/docs/awbook.html</A> "http://www.PostgreSQL.org/docs/awbook.html">http://www.PostgreSQL.org/docs/awbook.html</A>
<a href="http://www.commandprompt.com/ppbook/">http://www.commandprompt.com/ppbook/</a>. <a href="http://www.commandprompt.com/ppbook/">http://www.commandprompt.com/ppbook/</a>.
PostgreSQL, PostgreSQL,
<a href="http://www.ca.postgresql.org/books/">http://www.ca.PostgreSQL.org/books/</a>. <a href="http://techdocs.postgresql.org/techdocs/bookreviews.php">http://techdocs.postgresql.org/techdocs/bookreviews.php</a>.
, <a href="http://techdocs.postgresql.org">http://techdocs.PostgreSQL.org/</a> , <a href="http://techdocs.postgresql.org">http://techdocs.PostgreSQL.org/</a>
PostgreSQL.</p> PostgreSQL.</p>
...@@ -441,14 +444,19 @@ ...@@ -441,14 +444,19 @@
<DD>PostgreSQL <DD>PostgreSQL
, - , -
, - . MySQL , - . MySQL
, /, , , ,
. , MySQL - / . MySQL
SELECT , .
, MySQL -
, <I></I>. , <I></I>.
, ,
. .
, PostgreSQL MySQL , PostgreSQL MySQL
<A href="http://openacs.org/philosophy/why-not-mysql.html"> <A href="http://openacs.org/philosophy/why-not-mysql.html">
http://openacs.org/philosophy/why-not-mysql.html</A><BR> http://openacs.org/philosophy/why-not-mysql.html</A>. , MySQL -
,
,
, PostgreSQL.<BR>
<BR> <BR>
</DD> </DD>
...@@ -515,6 +523,9 @@ ...@@ -515,6 +523,9 @@
PostgreSQL - . PostgreSQL - .
, , .</P> , , .</P>
<HR> <HR>
<p> PostgreSQL, ,
<a href="http://advocacy.postgresql.org/">
http://advocacy.postgresql.org</a>.</p>
<H2 align="center"> </H2> <H2 align="center"> </H2>
...@@ -865,7 +876,7 @@ ...@@ -865,7 +876,7 @@
BEGIN; BEGIN;
ALTER TABLE tab ADD COLUMN new_col <i>new_data_type</i>; ALTER TABLE tab ADD COLUMN new_col <i>new_data_type</i>;
UPDATE tab SET new_col = CAST(old_col AS <i>new_data_type</i>); UPDATE tab SET new_col = CAST(old_col AS <i>new_data_type</i>);
ALTER TABLE DROP COLUMN old_col; ALTER TABLE tab DROP COLUMN old_col;
COMMIT; COMMIT;
</PRE> </PRE>
...@@ -875,7 +886,7 @@ ...@@ -875,7 +886,7 @@
<P> :</P> <P> :</P>
<PRE> <PRE>
? ( 4 TB) ? ( 4 TB)
? 16 TB ? 32 TB
? 1.6 TB ? 1.6 TB
? 1 GB ? 1 GB
? ?
...@@ -888,14 +899,14 @@ ...@@ -888,14 +899,14 @@
, ,
. .
<P> 16 TB <P> 32 TB
. .
1 GB, , 1 GB, ,
.</P> .</P>
<P> <P>
, ,
32k.</P> 32k.</P>
<H4><A name="4.6">4.6</A>) <H4><A name="4.6">4.6</A>)
?</H4> ?</H4>
...@@ -1171,7 +1182,8 @@ BYTEA bytea ...@@ -1171,7 +1182,8 @@ BYTEA bytea
<A href="#4.16"><SMALL>OID</SMALL></A>, <A href="#4.16"><SMALL>OID</SMALL></A>,
<SMALL>INSERT</SMALL> , <SMALL>INSERT</SMALL> ,
. Perl, DBI Edmund Mergl' DBD::Pg, , oid ,
4 . Perl, DBI Edmund Mergl' DBD::Pg,
oid <I>$sth-&gt;{pg_oid_status}</I> oid <I>$sth-&gt;{pg_oid_status}</I>
<I>$sth-&gt;execute()</I>. <I>$sth-&gt;execute()</I>.
...@@ -1432,8 +1444,13 @@ BYTEA bytea ...@@ -1432,8 +1444,13 @@ BYTEA bytea
<ul> <ul>
<li><i>contrib/pgcrypto</i> <li><i>contrib/pgcrypto</i>
<small>SQL</small> .</li> <small>SQL</small> .</li>
<li> , <li> ,
, <i>hostssl</i> <i>pg_hba.conf</i>.</li> <i>postgresql.conf</i>, <i>ssl</i>
<i>true</i>, <i>pg_hba.conf</i>
<i>host</i> <i>hostssl</i> <i>sslmode</i>
ݣ <i>disable</i>. (,
,
stunnel ssh, SSL PostgreSQL).</li>
<li> , <li> ,
7.3. , 7.3. ,
<i>PASSWORD_ENCRYPTION</i> <i>postgresql.conf</i>.</li> <i>PASSWORD_ENCRYPTION</i> <i>postgresql.conf</i>.</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment