Vous n'êtes pas identifié(e).

#101 Re : Général » HOT update and pg_dump » 15/11/2012 14:49:38

conctrètement, le TOAST c'est un pointeur vers une zone mémoire ?

#102 Re : Général » HOT update and pg_dump » 15/11/2012 14:44:23

d'accord, sauf qu'une ligne prend plus de 8Ko, donc ne tient pas dans une page.
Dans ce cas, est-ce-qu'il y a un interet d'avoir le HOT.

#103 Re : Général » HOT update and pg_dump » 15/11/2012 11:50:20

Comment l'activer, alors ?  J'ai cru comprendre que c'est optionnel.

Est-ce que c'est au moment de créer la table, bref je ne vois comment l'activer.

#104 Général » HOT update and pg_dump » 14/11/2012 16:45:36

Postgres.0
Réponses : 8

Bonjour,

serait-il possible de faire des pg_dump et pg_restore sur des tables HOT ?
Quelle est l'inconvenient du HOT update ?

Quelles sont ses avantages ?

Merci pour votre reponse

#105 Re : Optimisation » Besoin d'aide sur une requête » 12/11/2012 12:05:30

gleu,

c'est bien lae plan de la requête, et je vous avoue que je ne comprend pas pourquoi y a "LIMIT".
Je vais la reindexer.

#106 Re : Optimisation » Besoin d'aide sur une requête » 09/11/2012 11:07:08

Bonjour,

La table fait 315 GB et l'index fait 7521 MB

#107 Re : Optimisation » Besoin d'aide sur une requête » 08/11/2012 15:27:26

Il y a 9 autre champs sur les quels je pourais enventuellement filtré, ce qui fait que la décidion de créer des index composé est rès difficile à prendre.
Car si is_off et idc sont dans cet index, ça pourait améliorer la requête mais quid des 9 autres.
Est-ce que je pourrais créer un index composé sur 12 champs ?

#108 Optimisation » Besoin d'aide sur une requête » 08/11/2012 15:19:07

Postgres.0
Réponses : 5

Bonjour à tous,

je lance cette requête sur PG 9.1, j'ai un temps d'execution inacceptable.
Shared_Buffers est à 6GB, work_meme 1GB.
Quelqu'un aurait-il une idéee de comment je pourrais l'améliorer ?


CREATE TEMPORARY TABLE temp_org  AS SELECT orgname, id_org 
FROM org
WHERE id_org IN (1686,1495,502,708,10691,921,1219,707,704,1494,710,1576,1536,1539,506,1218,504,500,1540,1545,1510,1217,1578,822,1489,1530,1738,13920,719,797,715,1506,1544,1548,1114,1493,712,717,1825,1523,713,923,1519,706,1512,922,1524,1525,1322,14901,711,1521,1568,1811 ,1491,705,1490,1533,1574,1527,714,718,1488,709,1492,791,716);

ANALYZE temp_org;

EXPLAIN ANALYZE SELECT ft.id_org  
                     , org_name   
                     , date1 
                     , date_transaction2 
                     , 5 
                     , name   
                     , position
                      caissier

                       FROM tab ft, temp_org os 
                       WHERE ft.id_org = os.id_org 
                       AND  date1   between '2012-03-01 00:00:00' and '2012-03-31 23:59:59'  
                       AND ft.id_c = 100   

]



Limit  (cost=0.00..3258511.90 rows=36997 width=770) (actual time=7.658..7539757.556 rows=39071 loops=1)
   ->  Nested Loop  (cost=0.00..3258511.90 rows=36997 width=770) (actual time=7.657..7539730.757 rows=39071 loops=1)
         ->  Seq Scan on temp_org os  (cost=0.00..1.67 rows=67 width=14) (actual time=0.005..0.123 rows=67 loops=1)
         ->  Index Scan using table_ndx10 on tab ft  (cost=0.00..48627.58 rows=552 width=760) (actual time=190.329..112520.9
35 rows=583 loops=67)
               Index Cond: ((id_org = os.id_org) AND (date1 >= '2012-03-01 00:00:00'::timestamp without ti
me zone) AND (date1 <= '2012-03-31 23:59:59'::timestamp without time zone))
               Filter: (is_off AND (idc = 196))
 Total runtime: 7539780.020 ms
 

]

La table "tab" contient 234378080 lignes

#109 Général » duplicate key value violates unique constraint "pg_class_relname_nsp_" » 02/11/2012 13:32:36

Postgres.0
Réponses : 1

Bonjour,

par fois j'ai cette erreur :

ERROR:  duplicate key value violates unique constraint "pg_class_relname_nsp_index".

Quelqu'un a t-il une idée ?

Merci

#110 Re : Optimisation » Swap et Perfs » 30/10/2012 14:29:33

Quand je faits htop, je vois que le swap est utilisé.

vmstat :

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
2  0 541144 1548372   4324 25560436    3    3   673  1022    8   24  4  0 91  5  0


Par contre j'aimerai bien avoir des reponses à ce post :


Postgres.0 a écrit :

Bonjour Marc,

j'ai des process qui sont idle, cependant, leur RSS ne vaut pas 0 :

postgres  7909  0.0  0.6 6658892 196032 ?      Ss   07:58   0:01  \_ postgres: superdba  base_sans_part 10.23.11.12(52181) idle
postgres  8056  0.2  4.2 6661736 1219716 ?     Ss   08:10   0:13  \_ postgres: superdba base_sans_part 10.23.11.12(55897) idle

Est-ce-que ça veut dire que c'est de la fuite mémoire?

Merci

#111 Re : Optimisation » Swap et Perfs » 30/10/2012 11:56:52

Je crois que je vais metter que les process dont le RSS != 0 :

 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  21424  1092 ?        Ss   Oct29   0:02 /sbin/init
root       809  0.0  0.0  11312   256 ?        S<s  Oct29   0:00 /sbin/udevd -d
root      1990  0.0  0.0  27612   684 ?        S<sl Oct29   0:00 auditd
nslcd     2015  0.0  0.0 441484  1248 ?        Ssl  Oct29   0:01 /usr/sbin/nslcd
root      2028  0.0  0.0 248680  1076 ?        Sl   Oct29   0:00 /sbin/rsyslogd -c 4
root      2085  0.0  0.0   9136   548 ?        Ss   Oct29   0:11 irqbalance
rpc       2099  0.0  0.0  18948   588 ?        Ss   Oct29   0:00 rpcbind
rpcuser   2117  0.0  0.0  23120   740 ?        Ss   Oct29   0:00 rpc.statd
root      2129  0.0  0.0   4540   236 ?        Ss   Oct29   0:00 mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid
root      2184  0.0  0.0  29436   248 ?        Ss   Oct29   0:00 rpc.idmapd
dbus      2262  0.0  0.0  99368  1120 ?        Ssl  Oct29   0:00 dbus-daemon --system
avahi     2274  0.0  0.0  29868  1048 ?        S    Oct29   0:00 avahi-daemon: running [colorado.local]
avahi     2275  0.0  0.0  29740   144 ?        Ss   Oct29   0:00 avahi-daemon: chroot helper
root      2285  0.0  0.0 189008  1632 ?        Ss   Oct29   0:00 cupsd -C /etc/cups/cupsd.conf
root      2310  0.0  0.0   4064   472 ?        Ss   Oct29   0:00 /usr/sbin/acpid
68        2319  0.0  0.0  27464  1856 ?        Ss   Oct29   0:00 hald
root      2320  0.0  0.0  18092   656 ?        S    Oct29   0:00 hald-runner
root      2348  0.0  0.0  20208   608 ?        S    Oct29   0:00 hald-addon-input: Listening on /dev/input/event0
68        2358  0.0  0.0  17792   696 ?        S    Oct29   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root      2383  0.0  0.0 392100  1044 ?        Ssl  Oct29   0:00 automount --pid-file /var/run/autofs.pid
root      2402  0.0  0.0  63940   512 ?        Ss   Oct29   0:00 /usr/sbin/sshd
ntp       2410  0.0  0.0  32216  1136 ?        Ss   Oct29   0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root      2486  0.0  0.0  78536  1992 ?        Ss   Oct29   0:00 /usr/libexec/postfix/master
postfix   2496  0.0  0.0  80776  2008 ?        S    Oct29   0:00 qmgr -l -t fifo -u
root      2497  0.0  0.0 265128  3632 ?        Ss   Oct29   0:00 /usr/sbin/abrtd
root      2505  0.0  0.0 175448  1216 ?        Ss   Oct29   0:00 /usr/sbin/httpd
apache    2506  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2508  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2509  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2510  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2511  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2512  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2513  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
apache    2515  0.0  0.0 177540   740 ?        S    Oct29   0:00 /usr/sbin/httpd
root      2521  0.0  0.0 117172   840 ?        Ss   Oct29   0:00 crond
root      2532  0.0  0.0  21412   308 ?        Ss   Oct29   0:00 /usr/sbin/atd
root      2542  0.0  0.0 100912   552 ?        Ss   Oct29   0:00 rhnsd
root      2550  0.0  0.0  23004   160 ?        Ss   Oct29   0:00 /usr/sbin/oddjobd -p /var/run/oddjobd.pid -t 300
root      2564  0.0  0.0   4048   460 tty1     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty1
root      2566  0.0  0.0   4048   460 tty2     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty2
root      2568  0.0  0.0   4048   460 tty3     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty3
root      2570  0.0  0.0   4048   460 tty4     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty4
root      2572  0.0  0.0   4048   460 tty5     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty5
root      2580  0.0  0.0   4048   460 tty6     Ss+  Oct29   0:00 /sbin/mingetty /dev/tty6
root      2581  0.0  0.0  12364   360 ?        S<   Oct29   0:00 /sbin/udevd -d
root      2582  0.0  0.0  12364   360 ?        S<   Oct29   0:00 /sbin/udevd -d
postgres  2685  0.0  0.3 6640348 99488 ?       S    Oct29   0:01 /usr/pgsql-9.1/bin/postmaster -p 5434 -D /data/pgdata91/data
postgres  2687  0.0  0.0 174940   700 ?        Ss   Oct29   0:00 postgres: logger process
postgres  2692  0.4 16.4 6644596 4719328 ?     Ss   Oct29   3:22 postgres: writer process
postgres  2693  0.3  0.0 6643392 17300 ?       Ss   Oct29   2:29 postgres: wal writer process
postgres  2694  0.0  0.0 178632  1912 ?        Ss   Oct29   0:01 postgres: stats collector process
1611      2747  0.0  0.0 110548   572 ?        S    Oct29   0:00 -bash
1611      2757  0.0  0.0 110548   824 ?        S    Oct29   0:00 -bash
root      6189  1.3  0.0      0     0 ?        D    04:06   4:34 [flush-253:2]
root      7872  0.0  0.0 119428  4796 ?        Ss   07:57   0:00 sshd: user2 [priv]
user2   7877  0.0  0.0 119428  1936 ?        S    07:57   0:00 sshd: user2@pts/1
user2   7878  0.0  0.0 110548  1928 pts/1    Ss+  07:57   0:00 -bash
postgres  7908  0.0  0.0 6645556 10712 ?       Ss   07:58   0:00 postgres: superdba postgres 10.23.11.12(52180) idle
postgres  7909  0.0  0.6 6658892 196036 ?      Ss   07:58   0:01 postgres: superdba base_test 10.23.11.12(52181) idle
root      8018  0.0  0.0 119428  4796 ?        Ss   08:09   0:00 sshd: user2 [priv]
user2   8022  0.0  0.0 119428  1936 ?        S    08:09   0:00 sshd: user2@pts/2
user2   8023  0.0  0.0 110548  1924 pts/2    Ss   08:09   0:00 -bash
postgres  8056  0.2  4.2 6661736 1219716 ?     Ss   08:10   0:14 postgres: superdba base_test  10.23.11.12(55897) idle
root      8134  0.0  0.0 119428  4792 ?        Ss   08:21   0:00 sshd: user2 [priv]
user2   8138  0.0  0.0 119428  1932 ?        S    08:21   0:00 sshd: user2@pts/3
user2   8023  0.0  0.0 110548  1924 pts/2    Ss   08:09   0:00 -bash
postgres  8056  0.2  4.2 6661736 1219716 ?     Ss   08:10   0:14 postgres: superdba base_test 10.23.11.12(55897) idle
root      8134  0.0  0.0 119428  4792 ?        Ss   08:21   0:00 sshd: user2 [priv]
user2   8138  0.0  0.0 119428  1932 ?        S    08:21   0:00 sshd: user2@pts/3
user2   8139  0.0  0.0 110548  1920 pts/3    Ss   08:21   0:00 -bash
root      8175  0.0  0.0 191072  3612 pts/3    S    08:23   0:00 sudo su - postgres
root      8186  0.0  0.0 192788  2508 pts/3    S    08:23   0:00 su - postgres
postgres  8187  0.0  0.0 108416  1872 pts/3    S    08:23   0:00 -bash
postgres  8218  0.0  0.0 100924   612 pts/3    S+   08:23   0:00 tail -f postgresql-Tue.log
root      8382  0.0  0.0 119376  4292 ?        Ss   08:30   0:00 sshd: user1 [priv]
user1   8386  0.0  0.0 119376  1832 ?        S    08:30   0:00 sshd: user1@pts/4
user1   8387  0.0  0.0 110512  1952 pts/4    Ss   08:30   0:00 -bash
root      8425  0.0  0.0 119376  4292 ?        Ss   08:32   0:00 sshd: user4 [priv]
1611      8429  0.0  0.0 119376  1820 ?        S    08:32   0:00 sshd: user4@pts/5
1611      8430  0.0  0.0 110548  1900 pts/5    Ss   08:32   0:00 -bash
1611      8453  0.0  0.0 170476  2896 pts/5    S+   08:32   0:00 psql service=service_prod
postgres  8454  0.0  0.1 6647060 48968 ?       Ss   08:32   0:00 postgres: superdba base_prod [local] idle
root      8462  0.0  0.0 119376  4284 ?        Ss   08:33   0:00 sshd: user4 [priv]
1611      8466  0.0  0.0 119376  1824 ?        S    08:33   0:00 sshd: user4@pts/6
1611      8467  0.0  0.0 110548  1972 pts/6    Ss+  08:33   0:00 -bash
root      8671  0.0  0.0      0     0 ?        S    08:53   0:00 [flush-253:4]
1611      8701  0.0  0.0 106084  1264 ?        S    08:56   0:00 /bin/bash ./charger_niveau.sh axis 1
1611      8711  0.0  0.0 106084  1264 ?        S    08:56   0:00 /bin/bash ./charger_niveau.sh c3 1
1611      8717  0.0  0.0 106080  1224 ?        S    08:56   0:00 /bin/bash ./extraire_niveau.sh service=service_prod axis 1 256
1611      8727  0.0  0.0 106080  1220 ?        S    08:56   0:00 /bin/bash ./extraire_niveau.sh service=service_prod c3 1 256
1611      8729  0.0  0.0 170316  2404 ?        S    08:56   0:00 psql service=service_prod -c  SET work_mem = '256'; COPY
1611      8730  0.0  0.0 170316  2404 ?        S    08:56   0:00 psql service=service_prod -c  SET work_mem = '256'; COPY
1611      8731  0.0  0.0 170316  2412 ?        S    08:56   0:00 psql service=service_prod -c COPY
1611      8732  0.0  0.0 170316  2412 ?        S    08:56   0:00 psql service=service_prod -c COPY
postgres  8733 30.7  0.2 6647268 69580 ?       Ds   08:56  14:16 postgres: superdba base_prod [local] COPY
postgres  8734  0.0  0.0 6644692 6072 ?        Ss   08:56   0:00 postgres: superdba base_prod [local] COPY
postgres  8735 31.0  0.2 6647268 69704 ?       Ds   08:56  14:22 postgres: superdba base_prod [local] COPY
postgres  8736  0.0  0.0 6644692 6076 ?        Ss   08:56   0:00 postgres: superdba base_prod [local] COPY
root      8818  0.0  0.0 119428  4796 ?        Ss   09:00   0:00 sshd: user2 [priv]
user2   8823  0.0  0.0 119428  1844 ?        S    09:00   0:00 sshd: user2@pts/7
user2   8824  0.0  0.0 110548  1936 pts/7    Ss+  09:00   0:00 -bash
root      8956  0.0  0.0 119376  4288 ?        Ss   09:04   0:00 sshd: user4 [priv]
1611      8960  0.0  0.0 119376  1736 ?        S    09:04   0:00 sshd: user4@pts/8
1611      8961  0.0  0.0 110548  1972 pts/8    Ss   09:04   0:00 -bash
root      9241  0.0  0.0 119376  4288 ?        Ss   09:13   0:00 sshd: user3 [priv]
1623      9245  0.0  0.0 119376  1724 ?        S    09:13   0:00 sshd: user3@pts/9
1623      9246  0.0  0.0 110548  1900 pts/9    Ss+  09:13   0:00 -bash
user1  14301  1.4  0.0  17752  1556 pts/4    S+   09:39   0:03 htop
root     14310  0.0  0.0 119376  4268 ?        Ss   09:40   0:00 sshd: user2 [priv]
user2  14314  0.0  0.0 119524  1812 ?        S    09:40   0:00 sshd: user2@notty
user2  14315  0.0  0.0  57284  2200 ?        Ss   09:40   0:00 /usr/libexec/openssh/sftp-server
user2  14380  0.0  0.0 105940   948 pts/2    S+   09:42   0:00 awk -F   {print "TRUNCATE TABLE "$1"."$3" CASCADE;";}
user2  14381  0.0  0.0 170320  2444 pts/2    S+   09:42   0:00 psql service=base_test postgres 14382 21.2  0.1 6644628 51132 ?       Ds   09:42   0:05 postgres: superdba base_test  [local] TRUNCATE TABLE
1611     14388  4.0  0.0 110140  1120 pts/8    R+   09:43   0:00 ps aux
postfix  26976  0.0  0.0  80708  3184 ?        S    09:22   0:00 pickup -l -t fifo -u.

Alors quelqu'un saurat'il m'expliquer pourquoi mon serveur SWAP ?

#112 Re : Optimisation » Swap et Perfs » 30/10/2012 11:53:22

Ce matin, je vois que ça SWAP toujours !

Est-ce-que je peux mettre le resultat de ps aux dans un fixhier et l'envoyer sur le forum ?

#113 Re : Optimisation » Swap et Perfs » 30/10/2012 11:52:21

Bonjour Marc,

j'ai des process qui sont idle, cependant, leur RSS ne vaut pas 0 :

postgres  7909  0.0  0.6 6658892 196032 ?      Ss   07:58   0:01  \_ postgres: superdba  base_sans_part 10.23.11.12(52181) idle
postgres  8056  0.2  4.2 6661736 1219716 ?     Ss   08:10   0:13  \_ postgres: superdba base_sans_part 10.23.11.12(55897) idle

Est-ce-que ça veut dire que c'est de la fuite mémoire?

#115 Re : Optimisation » Swap et Perfs » 29/10/2012 16:05:30

à quoi correspond exactement le RSS, VSZ, TTY

#116 Re : Optimisation » Swap et Perfs » 29/10/2012 15:25:43

ps aux | grep postgres
postgres  3776  0.0  0.5 6640344 152812 ?      S    09:15   0:00 /usr/pgsql-9.1/bin/postmaster -p 5434 -D /data/pgdata91/data
postgres  3778  0.0  0.0 174936  1132 ?        Ss   09:15   0:00 postgres: logger process
postgres  3780  0.4  8.9 6644588 2570580 ?     Ss   09:15   1:13 postgres: writer process
postgres  3781  0.3  0.0 6643388 17896 ?       Ss   09:15   0:51 postgres: wal writer process
postgres  3782  0.0  0.0 178628  2500 ?        Ss   09:15   0:00 postgres: stats collector process
postgres  4020  0.0  0.0 6645604 10160 ?       Ss   09:29   0:00 postgres: superdba postgres 10.23.11.12(49481) idle
postgres  4303  0.0  0.3 6657096 86560 ?       Ss   09:51   0:01 postgres: superdba base_test 10.23.11.12(49600) idle
postgres  4966  0.0  1.3 6661188 391720 ?      Ss   10:42   0:02 postgres: superdba base_test 10.23.11.12(49849) idle
root      5183  0.0  0.0 191072  3576 pts/4    S    10:55   0:00 sudo su - postgres
root      5189  0.0  0.0 192788  2512 pts/4    S    10:55   0:00 su - postgres
postgres  5190  0.0  0.0 108416  1872 pts/4    S    10:55   0:00 -bash
postgres  5223  0.0  0.0 100924   612 pts/4    S+   10:55   0:00 tail -f postgresql-Mon.log
postgres  5624  0.3  0.8 6645476 246260 ?      Ss   12:24   0:13 postgres: superdba base_test 10.23.11.12(50298) idle
postgres  6293 42.6  0.1 6646108 47908 ?       Rs   13:22   0:11 postgres: superdba base_prod [local] COPY
postgres  6294  0.0  0.0 6644688 6596 ?        Ss   13:22   0:00 postgres: superdba base_prod [local] COPY
postgres  6295 41.4  0.1 6646108 47876 ?       Ds   13:22   0:11 postgres: superdba base_prod [local] COPY
postgres  6296  0.0  0.0 6644688 6608 ?        Ss   13:22   0:00 postgres: superdba base_prod [local] COPY

#117 Re : Optimisation » Swap et Perfs » 29/10/2012 15:17:43

Marc,

je me demande si je crée un index est-ce-que cette opération mets des données dans le cash.
Aurai-je besoin d'un analyze aprés la création d'un index.

#118 Re : Optimisation » Swap et Perfs » 29/10/2012 15:14:06

ps -aux | grep postgres


Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
postgres  3776  0.0  0.5 6640344 152812 ?      S    09:15   0:00 /usr/pgsql-9.1/bin/postmaster -p 5434 -D /data/pgdata91/data
postgres  3778  0.0  0.0 174936  1132 ?        Ss   09:15   0:00 postgres: logger process
postgres  3780  0.5  8.9 6644588 2569000 ?     Ss   09:15   1:13 postgres: writer process
postgres  3781  0.3  0.0 6643388 17896 ?       Ss   09:15   0:51 postgres: wal writer process
postgres  3782  0.0  0.0 178628  2500 ?        Ss   09:15   0:00 postgres: stats collector process
postgres  4020  0.0  0.0 6645604 10160 ?       Ss   09:29   0:00 postgres: superdba postgres 10.23.11.12(49481) idle
postgres  4303  0.0  0.3 6657096 86560 ?       Ss   09:51   0:01 postgres: superdba base_test 10.23.11.12(49600) idle
postgres  4966  0.0  1.3 6661188 391720 ?      Ss   10:42   0:02 postgres: superdba base_test 10.23.11.12(49849) idle
postgres  5122 51.6  0.8 6802616 239208 ?      Ds   11:21  56:33 postgres: superdba base_prod [local] ANALYZE
postgres  5150 51.8  0.4 6667144 123200 ?      Ds   11:23  55:21 postgres: superdba base_prod [local] CREATE INDEX


Comment pouvez voir la mémoire consommée par chaque process ici, moi je n y comprend pas grand chose.

#119 Re : Optimisation » Paralléliser le recalcul des index » 29/10/2012 14:22:10

Bonjour,

très clairement, en terme de perf, quel est l'interet de faire des WITH?

#120 Re : Optimisation » Swap et Perfs » 29/10/2012 14:18:28

Bonjour Marc,
j'ai installer l'extension pg_buffercache, ensuite j'ai procedé comme indiqué dans la doc DALIBO suivante :
http://www.dalibo.org/glmf107_gestion_m … postgresql

#121 Re : Optimisation » Swap et Perfs » 29/10/2012 10:01:44

Oui, effectivement je ne sais pas que le swap n'est pas vidé.
Par contre, je me demande comment ça se fait que le sharded_buffers est rapidement à 100%.

#122 Optimisation » Swap et Perfs » 26/10/2012 10:21:17

Postgres.0
Réponses : 23

Bonjour je lance une migration entre deux bases de Postgres 9.1, mais je me rend compte que depuis le début je swap, ce qui plombe mes perfs.
Je dois migrer à partir de 15 tables vers 32 Tables.
ma RAM est 28GB,
shared_buffers=8GB,
effective_cache_size=16Gb
work_mem=256MB
J'utilise des COPY(SELECT ..)
Chacune de mes tables à migrer fait entre 7GB et 9GB.
Quelqu'un aurait-il une idée.

Merci

#123 Re : Général » Développement d'une extention sur postgresql 9.0 » 26/10/2012 10:16:26

Moi, j'aimerai bien savoir où trouver de la doc bien détaillée sur les différentes extensions.

#125 Général » ETL avec Postgres » 24/10/2012 16:35:13

Postgres.0
Réponses : 2

Bonjour,

quelqu'un a t-il une idée sur l'utilisation d'un ETL avec Postgres.
On m'a parlé de TALEND, mais j'ai l'impression que ça match pas evec Postgres mais je n'arrive pas à l'expliquer.

Des idées svp.

Merci

Pied de page des forums

Propulsé par FluxBB