Skip to content

Commit

Permalink
Traductions du lundi
Browse files Browse the repository at this point in the history
  • Loading branch information
gleu committed Sep 8, 2014
1 parent 1b7c163 commit cf042a2
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 221 deletions.
89 changes: 47 additions & 42 deletions postgresql/monitoring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
entrées/sorties physique. Quand le serveur s'arrête proprement, une copie permanente
des données statistiques est stockée dans le sous-répertoire
<filename>pg_stat</filename>, pour que les statistiques puissent être
conservées après un arrêt du serveur. When recovery is
performed at server start (e.g. after immediate shutdown, server crash,
and point-in-time recovery), all statistics counters are reset.
conservées après un arrêt du serveur. Quand la restauration est réalisée
au démarrage du serveur (autrement dit après un arrêt immédiat, un crash du
serveur ou lors d'une restauration PITR), tous les compteurs statistiques
sont réinitialisés.
</para>

<para>
Expand Down Expand Up @@ -294,9 +295,9 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl

<row>
<entry><structname>pg_stat_archiver</structname><indexterm><primary>pg_stat_archiver</primary></indexterm></entry>
<entry>One row only, showing statistics about the
WAL archiver process's activity. See
<xref linkend="pg-stat-archiver-view"/> for details.
<entry>Une seule ligne, montrant les statistiques sur l'activité du
processus d'archivage des journaux de transactions. Voir <xref
linkend="pg-stat-archiver-view"/> pour les détails.
</entry>
</row>

Expand Down Expand Up @@ -666,12 +667,13 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
<row>
<entry><structfield>backend_xid</structfield></entry>
<entry><type>xid</type></entry>
<entry>Top-level transaction identifier of this backend, if any.</entry>
<entry>Identifiant de transaction de haut niveau de ce processus, si
disponible.</entry>
</row>
<row>
<entry><structfield>backend_xmin</structfield></entry>
<entry><type>xid</type></entry>
<entry>The current backend's <literal>xmin</literal> horizon.</entry>
<entry>L'horizon <literal>xmin</literal> de ce processus.</entry>
</row>
<row>
<entry><structfield>query</structfield></entry>
Expand Down Expand Up @@ -702,12 +704,12 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
</note>

<table id="pg-stat-archiver-view" xreflabel="pg_stat_archiver">
<title><structname>pg_stat_archiver</structname> View</title>
<title>Vue <structname>pg_stat_archiver</structname></title>

<tgroup cols="3">
<thead>
<row>
<entry>Column</entry>
<entry>Colonne</entry>
<entry>Type</entry>
<entry>Description</entry>
</row>
Expand All @@ -717,45 +719,46 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
<row>
<entry><structfield>archived_count</structfield></entry>
<entry><type>bigint</type></entry>
<entry>Number of WAL files that have been successfully archived</entry>
<entry>Nombre de journaux de transactions archivés avec succès</entry>
</row>
<row>
<entry><structfield>last_archived_wal</structfield></entry>
<entry><type>text</type></entry>
<entry>Name of the last WAL file successfully archived</entry>
<entry>Nom du dernier journal de transaction archivé avec succès</entry>
</row>
<row>
<entry><structfield>last_archived_time</structfield></entry>
<entry><type>timestamp with time zone</type></entry>
<entry>Time of the last successful archive operation</entry>
<entry>Horodatage de la dernière opération d'archivage réussie</entry>
</row>
<row>
<entry><structfield>failed_count</structfield></entry>
<entry><type>bigint</type></entry>
<entry>Number of failed attempts for archiving WAL files</entry>
<entry>Nombre d'échec d'archivage de journaux de transactions</entry>
</row>
<row>
<entry><structfield>last_failed_wal</structfield></entry>
<entry><type>text</type></entry>
<entry>Name of the WAL file of the last failed archival operation</entry>
<entry>Nom du journal de transactions correspondant au dernier archivage
échoué</entry>
</row>
<row>
<entry><structfield>last_failed_time</structfield></entry>
<entry><type>timestamp with time zone</type></entry>
<entry>Time of the last failed archival operation</entry>
<entry>Horodatage de la dernière opération d'archivage échouée</entry>
</row>
<row>
<entry><structfield>stats_reset</structfield></entry>
<entry><type>timestamp with time zone</type></entry>
<entry>Time at which these statistics were last reset</entry>
<entry>Horodatage de la dernière réinitialisation de ces statistiques</entry>
</row>
</tbody>
</tgroup>
</table>

<para>
The <structname>pg_stat_archiver</structname> view will always have a
single row, containing data about the archiver process of the cluster.
La vue <structname>pg_stat_archiver</structname> aura toujours une seule ligne
contenant les données du processus d'archivage de l'instance.
</para>

<table id="pg-stat-bgwriter-view" xreflabel="pg_stat_bgwriter">
Expand Down Expand Up @@ -1065,7 +1068,8 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
<row>
<entry><structfield>n_mod_since_analyze</structfield></entry>
<entry><type>bigint</type></entry>
<entry>Estimated number of rows modified since this table was last analyzed</entry>
<entry>Nombre estimé de lignes modifiées depuis le dernier ANALYZE sur
cette table</entry>
</row>
<row>
<entry><structfield>last_vacuum</structfield></entry>
Expand Down Expand Up @@ -1536,8 +1540,8 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
<row>
<entry><structfield>backend_xmin</structfield></entry>
<entry><type>xid</type></entry>
<entry>This standby's <literal>xmin</literal> horizon reported
by <xref linkend="guc-hot-standby-feedback"/>.</entry>
<entry>L'horizon <literal>xmin</literal> du standby rapporté par
<xref linkend="guc-hot-standby-feedback"/>.</entry>
</row>
<row>
<entry><structfield>state</structfield></entry>
Expand Down Expand Up @@ -1739,8 +1743,9 @@ postgres 15610 0.0 0.0 58772 3056 ? Ss 18:07 0:00 postgres: tgl
Appeler <literal>pg_stat_reset_shared('bgwriter')</literal>
réinitialisera tous les compteurs montrés dans la vue
<structname>pg_stat_bgwriter</structname>.
Calling <literal>pg_stat_reset_shared('archiver')</literal> will zero all the
counters shown in the <structname>pg_stat_archiver</structname> view.
Appeler <literal>pg_stat_reset_shared('archiver')</literal> réinitialisera
tous les compteurs indiqués dans la vue
<structname>pg_stat_archiver</structname>.
</entry>
</row>

Expand Down Expand Up @@ -2374,62 +2379,62 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
<entry>lwlock-acquire</entry>
<entry>(char *, int, LWLockMode)</entry>
<entry>Sonde qui se déclenche quand un LWLock a été acquis.
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.
arg2 is the requested lock mode, either exclusive or shared.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.
arg2 est le mode de verrou attendu, soit exclusif soit partagé.</entry>
</row>
<row>
<entry>lwlock-release</entry>
<entry>(char *, int)</entry>
<entry>Sonde qui se déclenche quand un LWLock a été relâché (mais notez
que tout processus en attente n'a pas encore été réveillé).
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.</entry>
</row>
<row>
<entry>lwlock-wait-start</entry>
<entry>(char *, int, LWLockMode)</entry>
<entry>Sonde qui se déclenche quand un LWLock n'était pas immédiatement
disponible et qu'un processus serveur a commencé à attendre la
disponibilité du verrou.
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.
arg2 is the requested lock mode, either exclusive or shared.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.
arg2 est le mode de verrou attendu, soit exclusif soit partagé.</entry>
</row>
<row>
<entry>lwlock-wait-done</entry>
<entry>(char *, int, LWLockMode)</entry>
<entry>Sonde qui se déclenche quand un processus serveur n'est plus en
attente d'un LWLock (il n'a pas encore le verrou).
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.
arg2 is the requested lock mode, either exclusive or shared.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.
arg2 est le mode de verrou attendu, soit exclusif soit partagé.</entry>
</row>
<row>
<entry>lwlock-condacquire</entry>
<entry>(char *, int, LWLockMode)</entry>
<entry>Sonde qui se déclenche quand un LWLock a été acquis avec succès
malgré le fait que l'appelant ait demandé de ne pas attendre.
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.
arg2 is the requested lock mode, either exclusive or shared.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.
arg2 est le mode de verrou attendu, soit exclusif soit partagé.</entry>
</row>
<row>
<entry>lwlock-condacquire-fail</entry>
<entry>(char *, int, LWLockMode)</entry>
<entry>Sonde qui se déclenche quand un LWLock, demandé sans attente, n'est
pas accepté.
arg0 is the LWLock's tranche.
arg1 is the LWLock's offset within its tranche.
arg2 is the requested lock mode, either exclusive or shared.</entry>
arg0 est la tranche de LWLock.
arg1 est le décalage de LWLock dans sa tranche.
arg2 est le mode de verrou attendu, soit exclusif soit partagé.</entry>
</row>
<row>
<entry>lock-wait-start</entry>
<entry>(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, LOCKMODE)</entry>
<entry>Sonde qui se déclenche quand une demande d'un gros verrou
(<foreignphrase>lmgr lock</foreignphrase>) a commencé l'attente parce que
le verrou n'était pas disponible.
arg0 à arg3 sont les chmps identifiant l'objet en cours de verrouillage.
arg0 à arg3 sont les champs identifiant l'objet en cours de verrouillage.
arg4 indique le type d'objet à verrouiller.
arg5 indique le type du verrou demandé</entry>
</row>
Expand Down
57 changes: 30 additions & 27 deletions postgresql/pgbench.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n

<varlistentry>
<term><option>-s</option> <replaceable>facteur d'echelle</replaceable></term>
<term><option>--scale=</option><replaceable>scale_factor</replaceable></term>
<term><option>--scale=</option><replaceable>facteur d'echelle</replaceable></term>
<listitem>
<para>
Multiplie le nombre de rangées par le facteur d'echelle.
Expand Down Expand Up @@ -321,8 +321,8 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
</varlistentry>

<varlistentry>
<term><option>-D</option> <replaceable>varname</replaceable><literal>=</literal><replaceable>value</replaceable></term>
<term><option>--define=</option><replaceable>varname</replaceable><literal>=</literal><replaceable>value</replaceable></term>
<term><option>-D</option> <replaceable>nom_variable</replaceable><literal>=</literal><replaceable>valeur</replaceable></term>
<term><option>--define=</option><replaceable>nom_variable</replaceable><literal>=</literal><replaceable>valeur</replaceable></term>
<listitem>
<para>
Définit une variable pouvant être utilisé par un script personalisé (voir plus bas).
Expand All @@ -333,7 +333,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n

<varlistentry>
<term><option>-f</option> <replaceable>fichier</replaceable></term>
<term><option>--file=</option><replaceable>filename</replaceable></term>
<term><option>--file=</option><replaceable>fichier</replaceable></term>
<listitem>
<para>
Lire le script de transaction à partir de <replaceable>fichier</replaceable>.
Expand Down Expand Up @@ -371,7 +371,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n

<varlistentry>
<term><option>-M</option> <replaceable>mode de requête</replaceable></term>
<term><option>--protocol=</option><replaceable>querymode</replaceable></term>
<term><option>--protocol=</option><replaceable>mode de requête</replaceable></term>
<listitem>
<para>
Protocole à utiliser pour soumettre les requêtes au serveur&nbsp;:
Expand Down Expand Up @@ -425,11 +425,12 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
<term><option>--progress=</option><replaceable>sec</replaceable></term>
<listitem>
<para>
Show progress report every <literal>sec</literal> seconds. The report
includes the time since the beginning of the run, the tps since the
last report, and the transaction latency average and standard
deviation since the last report. Under throttling (<option>-R</option>), it
also includes the average schedule lag time since the last report.
Afficher la progression chaque <literal>sec</literal> secondes. Le
rapport inclut le tmps depuis le début de l'exécution, le nombre de
transactions par seconde depuis le dernier rapport, la latence moyenne
des transactions, et la déviation standard depuis le dernier rapport.
En utilisant l'option (<option>-R</option>), il inclut aussi le délai
moyen depuis le dernier rapport.
</para>
</listitem>
</varlistentry>
Expand All @@ -439,16 +440,16 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
<term><option>--report-latencies</option></term>
<listitem>
<para>
Report the average per-statement latency (execution time from the
perspective of the client) of each command after the benchmark
finishes. See below for details.
Renvoie la latence moyenne par requête (durée d'exécution de la
perspective du client) de chaque commande à la fin du benchmark. Voir
ci-dessous pour les détails.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>-R</option> <replaceable>rate</replaceable></term>
<term><option>--rate=</option><replaceable>rate</replaceable></term>
<term><option>-R</option> <replaceable>taux</replaceable></term>
<term><option>--rate=</option><replaceable>taux</replaceable></term>
<listitem>
<para>
Execute transactions targeting the specified rate instead of running
Expand Down Expand Up @@ -493,8 +494,8 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
</varlistentry>

<varlistentry>
<term><option>-s</option> <replaceable>scale_factor</replaceable></term>
<term><option>--scale=</option><replaceable>scale_factor</replaceable></term>
<term><option>-s</option> <replaceable>facteur d'échelle</replaceable></term>
<term><option>--scale=</option><replaceable>facteur d'échelle</replaceable></term>
<listitem>
<para>
Rapporter le facteur d'echelle spécifié dans la sortie de
Expand Down Expand Up @@ -530,7 +531,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n

<varlistentry>
<term><option>-T</option> <replaceable>secondes</replaceable></term>
<term><option>--time=</option><replaceable>seconds</replaceable></term>
<term><option>--time=</option><replaceable>secondes</replaceable></term>
<listitem>
<para>
Lancer ce test autant de secondes, plutôt qu'un nombre fixe de transactions
Expand Down Expand Up @@ -607,7 +608,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n

<varlistentry>
<term><option>-h</option> <replaceable>nom de machine</replaceable></term>
<term><option>--host=</option><replaceable>hostname</replaceable></term>
<term><option>--host=</option><replaceable>nom de machine</replaceable></term>
<listitem>
<para>
Le nom de machine du serveur base de données
Expand All @@ -626,8 +627,8 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
</varlistentry>

<varlistentry>
<term><option>-U</option> <replaceable>login</replaceable></term>
<term><option>--username=</option><replaceable>login</replaceable></term>
<term><option>-U</option> <replaceable>nom d'utilisateur</replaceable></term>
<term><option>--username=</option><replaceable>nom d'utilisateur</replaceable></term>
<listitem>
<para>
Le nom avec lequel se connecter
Expand Down Expand Up @@ -717,9 +718,10 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
Les variables sont configurables par l'option <option>-D</option> en
ligne de commande, comme expliqué ci-dessus, ou par les méta-commandes
expliquées ci-dessous. En plus des variables pré-initialisées par les
options <option>-D</option>, there are a few variables that are preset automatically, listed in
<xref linkend="pgbench-automatic-variables"/>. A value specified for these
variables using <option>-D</option> takes precedence over the automatic presets.
options <option>-D</option>, il existe quelques variables préconfigurées
automatiquement, listées dans <xref linkend="pgbench-automatic-variables"/>.
Une valeur indiquée pour ces variables en utilisant l'option
<option>-D</option> prénd précédence sur les préconfigurations automatiques.
Une fois configurée,
la valeur d'une variable peut être insérée dans une commande SQL en
écrivant <literal>:</literal><replaceable>nom_variable</replaceable>.
Expand All @@ -728,7 +730,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
</para>

<table id="pgbench-automatic-variables">
<title>Automatic variables</title>
<title>Variables automatiques</title>
<tgroup cols="2">
<thead>
<row>
Expand All @@ -740,12 +742,13 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>n
<tbody>
<row>
<entry> <literal>scale</literal> </entry>
<entry>current scale factor</entry>
<entry>facteur d'échelle actuel</entry>
</row>

<row>
<entry> <literal>client_id</literal> </entry>
<entry>unique number identifying the client session (starts from zero)</entry>
<entry>numéro unique identifiant la session du client (commence à partir
de zéro)</entry>
</row>
</tbody>
</tgroup>
Expand Down

0 comments on commit cf042a2

Please sign in to comment.