pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPerformance comparison between Pgsql 10.5 and Pgsql 11.2
18+ messages / 5 participants
[nested] [flat]
* Performance comparison between Pgsql 10.5 and Pgsql 11.2
@ 2019-03-01 15:01 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
0 siblings, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-01 15:01 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org; +Cc: Alessandro Aste <Alessandro.aste@gtt.net>
Hello,
is there any reason why I am getting worse results using pgsql11.2 in
writing comparing it with pgsql 10.6?
I have two Instances, both just restored, so no bloats.
Running read queries I have pretty much same results, a little bit better
on pg11- Running writes the difference is in favour of 10.
I am expecting pg11 to be better.
Running pgbench :
PG11
[root@STAGING-CMD1 ~]# /usr/local/pgsql11.2/bin/pgbench -t 1000 -c 20 -C
-f stress_service_order.sql cmdstaging -U admin
transaction type: stress_service_order.sql
scaling factor: 1
query mode: simple
number of clients: 20
number of threads: 1
number of transactions per client: 1000
number of transactions actually processed: 20000/20000
latency average = 45.322 ms
tps = 441.283336 (including connections establishing)
tps = 463.731537 (excluding connections establishing)
PG10
[root@STAGING-CMD1 ~]# pgbench -t 1000 -c 20 -C -f
stress_service_order.sql cmdstaging -U admin
transaction type: stress_service_order.sql
scaling factor: 1
query mode: simple
number of clients: 20
number of threads: 1
number of transactions per client: 1000
number of transactions actually processed: 20000/20000
latency average = 44.686 ms
tps = 447.565403 (including connections establishing)
tps = 470.285561 (excluding connections establishing)
This is making a really big difference with longer queries.
Here I am updating a field in a random record.
With more transactions the difference is bigger
WITH POSTGRES 10
[root@STAGING-CMD1 ~]# pgbench -t 100000 -c 20 -C -f
stress_service_order_read.sql cmdstaging -U postgres
transaction type: stress_service_order_read.sql
scaling factor: 1
query mode: simple
number of clients: 20
number of threads: 1
number of transactions per client: 100000
number of transactions actually processed: 2000000/2000000
latency average = 55.291 ms
tps = 442.1490778 (including connections establishing)
tps = 454.846844 (excluding connections establishing)
WITH POSTGRES 11
[root@STAGING-CMD1 ~]# pgbench -t 100000 -c 20 -C -f
stress_service_order_read.sql cmdstaging -U postgres
transaction type: stress_service_order_read.sql
scaling factor: 1
query mode: simple
number of clients: 20
number of threads: 1
number of transactions per client: 100000
number of transactions actually processed: 2000000/2000000
latency average = 53.291 ms
tps = 375.297748 (including connections establishing)
tps = 392.316057 (excluding connections establishing)
The postgres.conf file are the same.
max_connections = 220
shared_buffers = 10GB
effective_cache_size = 120GB
work_mem = 600MB
maintenance_work_mem = 2GB
min_wal_size = 1GB
max_wal_size = 2GB
checkpoint_completion_target = 0.7
wal_buffers = 16MB
#default_statistics_target = 100
Using data_sync_retry=on doesn't make any difference.
Is there anything else changed in the default values?
Any trick?
I don't want to go live and loose performances.
Thanks a lot,
Nicola
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-01 16:01 ` Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Ray O'Donnell @ 2019-03-01 16:01 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; pgsql-general@lists.postgresql.org; +Cc: Alessandro Aste <Alessandro.aste@gtt.net>
On 01/03/2019 15:01, Nicola Contu wrote:
> Hello,
> is there any reason why I am getting worse results using pgsql11.2 in
> writing comparing it with pgsql 10.6?
>
> I have two Instances, both just restored, so no bloats.
> Running read queries I have pretty much same results, a little bit
> better on pg11- Running writes the difference is in favour of 10.
Did you run ANALYZE on the databases after restoring?
Ray.
--
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
@ 2019-03-02 19:41 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Thomas Munro @ 2019-03-02 19:41 UTC (permalink / raw)
To: Ray O'Donnell <ray@rodonnell.ie>; +Cc: Nicola Contu <nicola.contu@gmail.com>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Sat, Mar 2, 2019 at 5:02 AM Ray O'Donnell <ray@rodonnell.ie> wrote:
> On 01/03/2019 15:01, Nicola Contu wrote:
> > Hello,
> > is there any reason why I am getting worse results using pgsql11.2 in
> > writing comparing it with pgsql 10.6?
> >
> > I have two Instances, both just restored, so no bloats.
> > Running read queries I have pretty much same results, a little bit
> > better on pg11- Running writes the difference is in favour of 10.
>
> Did you run ANALYZE on the databases after restoring?
If you can rule out different query plans, and if you compiled them
both with the same compiler and optimisation levels and without
cassert enabled (it's a long shot but I mentioned that because you
showed a path in /usr/local so perhaps you're hand-compiling 11, but
10 came from a package?), then the next step might be to use a
profiler like "perf" (or something equivalent on your OS) to figure
out where 11 is spending more time in the write test?
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
@ 2019-03-04 12:13 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-04 13:45 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Imre Samu <pella.samu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 18+ messages in thread
From: Nicola Contu @ 2019-03-04 12:13 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
I did a analyze in stages on both.
And Yes both are compiled.
This is the configure command (change 10.6 for PG10)
./configure --prefix=/usr/local/pgsql11.2
See attached perf report. The difference seems to be all in this line, but
not sure :
+ 26.80% 0.00% 222 postmaster [kernel.kallsyms]
[k] system_call_fastpath
I am using CentOS 7
With Centos I am using this profile for tuned-adm
[root@STAGING-CMD1 ~]# tuned-adm active
Current active profile: latency-performance
Il giorno sab 2 mar 2019 alle ore 20:41 Thomas Munro <thomas.munro@gmail.com>
ha scritto:
> On Sat, Mar 2, 2019 at 5:02 AM Ray O'Donnell <ray@rodonnell.ie> wrote:
> > On 01/03/2019 15:01, Nicola Contu wrote:
> > > Hello,
> > > is there any reason why I am getting worse results using pgsql11.2 in
> > > writing comparing it with pgsql 10.6?
> > >
> > > I have two Instances, both just restored, so no bloats.
> > > Running read queries I have pretty much same results, a little bit
> > > better on pg11- Running writes the difference is in favour of 10.
> >
> > Did you run ANALYZE on the databases after restoring?
>
> If you can rule out different query plans, and if you compiled them
> both with the same compiler and optimisation levels and without
> cassert enabled (it's a long shot but I mentioned that because you
> showed a path in /usr/local so perhaps you're hand-compiling 11, but
> 10 came from a package?), then the next step might be to use a
> profiler like "perf" (or something equivalent on your OS) to figure
> out where 11 is spending more time in the write test?
>
> --
> Thomas Munro
> https://enterprisedb.com
>
Attachments:
perf.txt (text/plain, 14.3K) download
PGSQL11
+ 26.80% 0.00% 222 postmaster [kernel.kallsyms] [k] system_call_fastpath
+ 13.46% 0.04% 751 postmaster [kernel.kallsyms] [k] sys_futex
+ 13.43% 0.00% 782 postmaster [kernel.kallsyms] [k] do_futex
+ 12.89% 0.00% 0 postmaster [unknown] [k] 0000000000000000
+ 9.09% 0.00% 0 swapper [kernel.kallsyms] [k] start_cpu
+ 9.09% 0.14% 2860 swapper [kernel.kallsyms] [k] cpu_startup_entry
+ 9.09% 0.00% 0 swapper [kernel.kallsyms] [k] start_secondary
+ 8.97% 0.00% 389 postmaster [kernel.kallsyms] [k] page_fault
+ 8.97% 0.00% 687 postmaster [kernel.kallsyms] [k] do_page_fault
+ 8.97% 0.73% 6471 postmaster [kernel.kallsyms] [k] __do_page_fault
+ 8.66% 0.14% 1648 postmaster libpthread-2.17.so [.] sem_post@@GLIBC_2.2.5
+ 8.40% 0.70% 13567 postmaster [kernel.kallsyms] [k] get_futex_key
+ 8.08% 0.00% 0 postmaster [unknown] [k] 0x0000000000000080
+ 8.08% 0.93% 642 postmaster libpthread-2.17.so [.] do_futex_wait.constprop.1
+ 7.87% 0.19% 2666 postmaster [kernel.kallsyms] [k] futex_wake
+ 7.68% 0.19% 9343 postmaster [kernel.kallsyms] [k] handle_mm_fault
+ 7.34% 0.00% 207 swapper [kernel.kallsyms] [k] arch_cpu_idle
+ 7.34% 0.00% 979 swapper [kernel.kallsyms] [k] cpuidle_idle_call
+ 7.15% 0.00% 2671 postmaster [kernel.kallsyms] [k] handle_pte_fault
+ 5.87% 0.00% 6 postmaster libc-2.17.so [.] __GI___setsid
+ 5.87% 0.00% 9 postmaster [kernel.kallsyms] [k] sys_setsid
+ 5.87% 0.00% 15 postmaster [kernel.kallsyms] [k] sched_autogroup_create_attach
+ 5.41% 5.41% 48199 postmaster postgres [.] hash_search_with_hash_value
+ 5.40% 5.40% 44439 postmaster postgres [.] LWLockWaitListLock
+ 5.38% 0.72% 1425 postmaster [kernel.kallsyms] [k] futex_wait
+ 5.07% 0.00% 5 postmaster [kernel.kallsyms] [k] sched_create_group
+ 4.23% 0.59% 2253 postmaster [kernel.kallsyms] [k] __slab_alloc
+ 4.13% 0.00% 2330 postmaster [kernel.kallsyms] [k] kmem_cache_alloc_node_trace
+ 3.75% 0.16% 2919 postmaster [kernel.kallsyms] [k] unlock_page
+ 3.67% 3.67% 49595 postmaster postgres [.] LWLockAttemptLock
+ 3.64% 0.33% 2796 postmaster [kernel.kallsyms] [k] ___slab_alloc
+ 3.59% 1.44% 4390 postmaster [kernel.kallsyms] [k] __wake_up_bit
+ 3.56% 0.19% 1605 swapper [kernel.kallsyms] [k] cpuidle_enter_state
+ 3.51% 0.00% 1827 postmaster [kernel.kallsyms] [k] __alloc_pages_nodemask
+ 3.51% 0.00% 594 postmaster [kernel.kallsyms] [k] alloc_pages_vma
+ 3.37% 0.00% 895 postmaster [kernel.kallsyms] [k] alloc_fair_sched_group
+ 3.25% 0.00% 1313 postmaster [kernel.kallsyms] [k] futex_wait_setup
+ 3.20% 1.11% 12224 postmaster postgres [.] AllocSetAlloc
+ 3.19% 3.19% 179390 swapper [kernel.kallsyms] [k] intel_idle
+ 2.90% 2.90% 15113 postmaster postgres [.] nocachegetattr
+ 2.85% 1.86% 28742 postmaster [kernel.kallsyms] [k] deactivate_slab
+ 2.81% 2.81% 20931 postmaster [kernel.kallsyms] [k] clear_page_c_e
+ 2.74% 0.00% 21 postmaster [kernel.kallsyms] [k] do_group_exit
+ 2.74% 0.00% 3 postmaster [kernel.kallsyms] [k] sys_exit_group
+ 2.74% 0.00% 77 postmaster [kernel.kallsyms] [k] do_exit
+ 2.41% 0.00% 30 pgbench [kernel.kallsyms] [k] system_call_fastpath
+ 2.41% 0.00% 22 pgbench libc-2.17.so [.] __fopen_internal
+ 2.41% 0.00% 16 pgbench libc-2.17.so [.] __GI___libc_open
+ 2.41% 0.00% 8 pgbench [kernel.kallsyms] [k] sys_open
+ 2.41% 0.00% 38 pgbench [kernel.kallsyms] [k] do_sys_open
+ 2.41% 0.00% 18 pgbench [kernel.kallsyms] [k] do_filp_open
+ 2.41% 0.00% 28 pgbench [kernel.kallsyms] [k] path_openat
+ 2.41% 0.00% 41 pgbench [kernel.kallsyms] [k] do_last
+ 2.41% 0.00% 5 pgbench [kernel.kallsyms] [k] vfs_open
+ 2.41% 2.41% 50 pgbench [kernel.kallsyms] [k] do_dentry_open
+ 2.41% 0.00% 0 pgbench [unknown] [k] 0x6f5f656369767265
+ 2.31% 2.31% 34865 postmaster postgres [.] LWLockRelease
+ 2.15% 0.37% 5310 postmaster [kernel.kallsyms] [k] try_to_wake_up
+ 2.15% 0.00% 194 postmaster [kernel.kallsyms] [k] __wake_up
+ 2.15% 0.00% 212 postmaster [kernel.kallsyms] [k] wake_up_q
+ 2.06% 0.10% 6918 postmaster [kernel.kallsyms] [k] _raw_spin_lock_irqsave
+ 2.02% 0.00% 15 postmaster libc-2.17.so [.] __GI___libc_read
+ 1.97% 0.00% 80 postmaster [kernel.kallsyms] [k] queued_spin_lock_slowpath
+ 1.97% 1.97% 18138 postmaster [kernel.kallsyms] [k] native_queued_spin_lock_slowpath
+ 1.97% 1.11% 2401 postmaster [kernel.kallsyms] [k] get_user_pages_fast
+ 1.93% 0.00% 0 postmaster postgres [.] 0x00000000005925e0
+ 1.85% 1.73% 8791 postmaster postgres [.] hash_any
+ 1.85% 0.00% 111 swapper [kernel.kallsyms] [k] apic_timer_interrupt
+ 1.76% 1.76% 3535 postmaster postgres [.] LockRelease
+ 1.72% 0.00% 102 swapper [kernel.kallsyms] [k] smp_apic_timer_interrupt
PGSQL10
+ 15.10% 0.00% 238 postmaster [kernel.kallsyms] [k] system_call_fastpath
+ 13.53% 0.15% 375 postmaster [kernel.kallsyms] [k] page_fault
+ 13.39% 0.00% 674 postmaster [kernel.kallsyms] [k] do_page_fault
+ 12.37% 1.41% 6390 postmaster [kernel.kallsyms] [k] __do_page_fault
+ 11.86% 0.00% 0 postmaster [unknown] [k] 0000000000000000
+ 11.25% 7.19% 48253 postmaster postgres [.] hash_search_with_hash_value
+ 10.58% 0.00% 0 swapper [kernel.kallsyms] [k] start_cpu
+ 10.58% 0.00% 2543 swapper [kernel.kallsyms] [k] cpu_startup_entry
+ 10.58% 0.00% 0 swapper [kernel.kallsyms] [k] start_secondary
+ 10.42% 0.99% 9089 postmaster [kernel.kallsyms] [k] handle_mm_fault
+ 9.26% 0.11% 2810 postmaster [kernel.kallsyms] [k] handle_pte_fault
+ 8.92% 0.00% 237 swapper [kernel.kallsyms] [k] arch_cpu_idle
+ 8.92% 0.00% 967 swapper [kernel.kallsyms] [k] cpuidle_idle_call
+ 7.88% 0.51% 1568 swapper [kernel.kallsyms] [k] cpuidle_enter_state
+ 6.20% 6.20% 177644 swapper [kernel.kallsyms] [k] intel_idle
+ 5.99% 0.00% 5 postmaster libc-2.17.so [.] __GI___setsid
+ 5.99% 0.00% 11 postmaster [kernel.kallsyms] [k] sys_setsid
+ 5.99% 0.00% 8 postmaster [kernel.kallsyms] [k] sched_autogroup_create_attach
+ 5.91% 0.00% 763 postmaster [kernel.kallsyms] [k] sys_futex
+ 5.91% 0.00% 759 postmaster [kernel.kallsyms] [k] do_futex
+ 5.82% 0.00% 4 postmaster [kernel.kallsyms] [k] sched_create_group
+ 5.13% 0.00% 113 postmaster [kernel.kallsyms] [k] apic_timer_interrupt
+ 5.13% 0.00% 53 postmaster [kernel.kallsyms] [k] smp_apic_timer_interrupt
+ 4.98% 0.00% 2221 postmaster [kernel.kallsyms] [k] kmem_cache_alloc_node_trace
+ 4.75% 0.25% 2180 postmaster [kernel.kallsyms] [k] __slab_alloc
+ 4.51% 0.17% 2754 postmaster [kernel.kallsyms] [k] ___slab_alloc
+ 4.43% 0.00% 1138 postmaster libpthread-2.17.so [.] sem_post@@GLIBC_2.2.5
+ 4.29% 0.60% 13107 postmaster [kernel.kallsyms] [k] get_futex_key
+ 4.25% 0.00% 0 postmaster [unknown] [.] 0x7fffffff7fffffff
+ 4.06% 0.00% 62 postmaster [kernel.kallsyms] [k] do_softirq
+ 4.06% 0.00% 32 postmaster [kernel.kallsyms] [k] call_softirq
+ 4.06% 0.00% 195 postmaster [kernel.kallsyms] [k] __do_softirq
+ 4.06% 0.00% 48 postmaster [kernel.kallsyms] [k] irq_exit
+ 4.06% 4.06% 272 postmaster [kernel.kallsyms] [k] run_timer_softirq
+ 3.75% 0.00% 2283 postmaster [kernel.kallsyms] [k] futex_wake
+ 3.75% 3.75% 49341 postmaster postgres [.] LWLockAttemptLock
+ 3.58% 0.47% 1865 postmaster [kernel.kallsyms] [k] __alloc_pages_nodemask
+ 3.58% 0.00% 656 postmaster [kernel.kallsyms] [k] alloc_pages_vma
+ 3.51% 3.51% 62398 postmaster postgres [.] LWLockWaitListLock
+ 3.50% 0.15% 905 postmaster [kernel.kallsyms] [k] alloc_fair_sched_group
+ 3.13% 2.06% 28201 postmaster [kernel.kallsyms] [k] deactivate_slab
+ 3.00% 0.00% 0 postmaster [unknown] [k] 0x0000000000000080
+ 3.00% 0.00% 519 postmaster libpthread-2.17.so [.] do_futex_wait.constprop.1
+ 2.97% 0.64% 1243 postmaster [kernel.kallsyms] [k] do_read_fault.isra.60
+ 2.42% 2.42% 35004 postmaster postgres [.] LWLockRelease
+ 2.34% 2.09% 1395 postmaster libc-2.17.so [.] __strlen_sse42
+ 2.33% 0.43% 5459 postmaster [kernel.kallsyms] [k] alloc_rt_sched_group
+ 2.29% 1.26% 4395 postmaster [kernel.kallsyms] [k] get_page_from_freelist
+ 2.24% 2.24% 10417 postmaster postgres [.] LWLockAcquire
+ 2.20% 0.00% 0 postmaster [unknown] [.] 0x0000005900000060
+ 2.08% 0.17% 7457 postmaster libc-2.17.so [.] __memcpy_ssse3
+ 1.89% 0.00% 808 postmaster [kernel.kallsyms] [k] __do_fault.isra.58
+ 1.89% 0.17% 594 postmaster [kernel.kallsyms] [k] ext4_filemap_fault
+ 1.87% 0.00% 29 postmaster [kernel.kallsyms] [k] do_group_exit
+ 1.87% 0.00% 0 postmaster [kernel.kallsyms] [k] sys_exit_group
+ 1.87% 0.00% 76 postmaster [kernel.kallsyms] [k] do_exit
+ 1.82% 0.00% 1022 postmaster [kernel.kallsyms] [k] futex_wait
+ 1.79% 1.79% 16022 postmaster postgres [.] guc_name_compare
+ 1.78% 0.68% 6873 postmaster [kernel.kallsyms] [k] _raw_spin_lock_irqsave
+ 1.72% 1.72% 18771 postmaster [kernel.kallsyms] [k] __cmpxchg_double_slab.isra.34
+ 1.72% 0.00% 18 postmaster [kernel.kallsyms] [k] mmput
+ 1.72% 0.00% 48 postmaster [kernel.kallsyms] [k] exit_mmap
+ 1.69% 0.00% 0 postmaster [unknown] [k] 0x000000002928574f
+ 1.65% 0.00% 1164 postmaster [kernel.kallsyms] [k] futex_wait_setup
+ 1.61% 1.61% 4419 postmaster postgres [.] ReadBuffer_common
+ 1.51% 0.07% 669 postmaster postgres [.] core_yylex
+ 1.51% 1.01% 1708 postmaster postgres [.] base_yyparse
+ 1.48% 0.00% 0 postmaster [unknown] [.] 0x0000000001bacec0
+ 1.48% 0.81% 9570 postmaster [kernel.kallsyms] [k] mem_cgroup_charge_common
+ 1.44% 0.13% 3006 postmaster [kernel.kallsyms] [k] unlock_page
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-04 13:45 ` Imre Samu <pella.samu@gmail.com>
2019-03-04 13:53 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
1 sibling, 1 reply; 18+ messages in thread
From: Imre Samu @ 2019-03-04 13:45 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
> is there any reason why I am getting worse results using pgsql11.2 in
writing comparing it with pgsql 10.6?
>... And Yes both are compiled.
Why 10.6?
according to release notes
"14th February 2019: PostgreSQL 11.2, 10.7, 9.6.12, 9.5.16, and 9.4.21
Released!" https://www.postgresql.org/about/news/1920/
imho:* it would be better to compare PG11.2 with PG10.7 *( similar bug
Fixes and Improvements + same fsync() behavior )
*"This release changes the behavior in how PostgreSQL interfaces with
fsync() and includes fixes for partitioning and over 70 other bugs that
were reported over the past three months"*
Imre
Nicola Contu <nicola.contu@gmail.com> ezt írta (időpont: 2019. márc. 4., H,
13:14):
> I did a analyze in stages on both.
> And Yes both are compiled.
> This is the configure command (change 10.6 for PG10)
>
> ./configure --prefix=/usr/local/pgsql11.2
>
> See attached perf report. The difference seems to be all in this line, but
> not sure :
>
> + 26.80% 0.00% 222 postmaster [kernel.kallsyms]
> [k] system_call_fastpath
>
>
>
> I am using CentOS 7
> With Centos I am using this profile for tuned-adm
> [root@STAGING-CMD1 ~]# tuned-adm active
> Current active profile: latency-performance
>
>
> Il giorno sab 2 mar 2019 alle ore 20:41 Thomas Munro <
> thomas.munro@gmail.com> ha scritto:
>
>> On Sat, Mar 2, 2019 at 5:02 AM Ray O'Donnell <ray@rodonnell.ie> wrote:
>> > On 01/03/2019 15:01, Nicola Contu wrote:
>> > > Hello,
>> > > is there any reason why I am getting worse results using pgsql11.2 in
>> > > writing comparing it with pgsql 10.6?
>> > >
>> > > I have two Instances, both just restored, so no bloats.
>> > > Running read queries I have pretty much same results, a little bit
>> > > better on pg11- Running writes the difference is in favour of 10.
>> >
>> > Did you run ANALYZE on the databases after restoring?
>>
>> If you can rule out different query plans, and if you compiled them
>> both with the same compiler and optimisation levels and without
>> cassert enabled (it's a long shot but I mentioned that because you
>> showed a path in /usr/local so perhaps you're hand-compiling 11, but
>> 10 came from a package?), then the next step might be to use a
>> profiler like "perf" (or something equivalent on your OS) to figure
>> out where 11 is spending more time in the write test?
>>
>> --
>> Thomas Munro
>> https://enterprisedb.com
>>
>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 13:45 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Imre Samu <pella.samu@gmail.com>
@ 2019-03-04 13:53 ` Nicola Contu <nicola.contu@gmail.com>
0 siblings, 0 replies; 18+ messages in thread
From: Nicola Contu @ 2019-03-04 13:53 UTC (permalink / raw)
To: Imre Samu <pella.samu@gmail.com>; +Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Because I have 10.6 in production :) and I am comparing with what I will be
loosing.
And I read that in the release notes but as said in my first email, even
with data_sync_retry=on (going back to previous behavior) doesn't make any
difference.
So I am looking for something that will keep my performances but still
allows me to upgrade to 11 in production.
Also, trying with 11.1, the problem seems still there.
Il giorno lun 4 mar 2019 alle ore 14:45 Imre Samu <pella.samu@gmail.com> ha
scritto:
> > is there any reason why I am getting worse results using pgsql11.2 in
> writing comparing it with pgsql 10.6?
> >... And Yes both are compiled.
>
> Why 10.6?
>
> according to release notes
> "14th February 2019: PostgreSQL 11.2, 10.7, 9.6.12, 9.5.16, and 9.4.21
> Released!" https://www.postgresql.org/about/news/1920/
> imho:* it would be better to compare PG11.2 with PG10.7 *( similar
> bug Fixes and Improvements + same fsync() behavior )
>
> *"This release changes the behavior in how PostgreSQL interfaces with
> fsync() and includes fixes for partitioning and over 70 other bugs that
> were reported over the past three months"*
>
> Imre
>
>
>
> Nicola Contu <nicola.contu@gmail.com> ezt írta (időpont: 2019. márc. 4.,
> H, 13:14):
>
>> I did a analyze in stages on both.
>> And Yes both are compiled.
>> This is the configure command (change 10.6 for PG10)
>>
>> ./configure --prefix=/usr/local/pgsql11.2
>>
>> See attached perf report. The difference seems to be all in this line,
>> but not sure :
>>
>> + 26.80% 0.00% 222 postmaster [kernel.kallsyms]
>> [k] system_call_fastpath
>>
>>
>>
>> I am using CentOS 7
>> With Centos I am using this profile for tuned-adm
>> [root@STAGING-CMD1 ~]# tuned-adm active
>> Current active profile: latency-performance
>>
>>
>> Il giorno sab 2 mar 2019 alle ore 20:41 Thomas Munro <
>> thomas.munro@gmail.com> ha scritto:
>>
>>> On Sat, Mar 2, 2019 at 5:02 AM Ray O'Donnell <ray@rodonnell.ie> wrote:
>>> > On 01/03/2019 15:01, Nicola Contu wrote:
>>> > > Hello,
>>> > > is there any reason why I am getting worse results using pgsql11.2 in
>>> > > writing comparing it with pgsql 10.6?
>>> > >
>>> > > I have two Instances, both just restored, so no bloats.
>>> > > Running read queries I have pretty much same results, a little bit
>>> > > better on pg11- Running writes the difference is in favour of 10.
>>> >
>>> > Did you run ANALYZE on the databases after restoring?
>>>
>>> If you can rule out different query plans, and if you compiled them
>>> both with the same compiler and optimisation levels and without
>>> cassert enabled (it's a long shot but I mentioned that because you
>>> showed a path in /usr/local so perhaps you're hand-compiling 11, but
>>> 10 came from a package?), then the next step might be to use a
>>> profiler like "perf" (or something equivalent on your OS) to figure
>>> out where 11 is spending more time in the write test?
>>>
>>> --
>>> Thomas Munro
>>> https://enterprisedb.com
>>>
>>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-04 14:22 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
1 sibling, 1 reply; 18+ messages in thread
From: Tom Lane @ 2019-03-04 14:22 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Thomas Munro <thomas.munro@gmail.com>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
Nicola Contu <nicola.contu@gmail.com> writes:
> See attached perf report. The difference seems to be all in this line, but
> not sure :
> + 26.80% 0.00% 222 postmaster [kernel.kallsyms]
> [k] system_call_fastpath
That would suggest that many more kernel calls are happening, which is
something you could usefully investigate with strace, perhaps.
regards, tom lane
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-03-04 16:01 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-04 16:01 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Thomas Munro <thomas.munro@gmail.com>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
Attached a part of the strace running the pgbench command for pg11
Also attached strace_10 for pg10.6.
Thanks
Il giorno lun 4 mar 2019 alle ore 15:22 Tom Lane <tgl@sss.pgh.pa.us> ha
scritto:
> Nicola Contu <nicola.contu@gmail.com> writes:
> > See attached perf report. The difference seems to be all in this line,
> but
> > not sure :
> > + 26.80% 0.00% 222 postmaster [kernel.kallsyms]
> > [k] system_call_fastpath
>
> That would suggest that many more kernel calls are happening, which is
> something you could usefully investigate with strace, perhaps.
>
> regards, tom lane
>
Attachments:
strace.txt (text/plain, 64.4K) download
strace_10.txt (text/plain, 63.1K) download
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=4, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(4, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(4, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(4, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(4, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=4, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(4, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(4, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(4, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(4, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=4, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(4, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(4, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(4, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(4, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=4, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(4, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(4, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(4, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(4, "Q\0\0\0Dupdate service_order set cu"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(4, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 4
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(4, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(4, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=4, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
sendto(4, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=4, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(4, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(4, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(4, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(4, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(4, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(4, 0x227e950, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(5, [4], NULL, NULL, NULL) = 1 (in [4])
recvfrom(4, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(4, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(4) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Dupdate service_order set cu"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Dupdate service_order set cu"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Eupdate service_order set cu"..., 70, MSG_NOSIGNAL, NULL, 0) = 70
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
geteuid() = 0
socket(AF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1941, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1941
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
stat("/root/.pgpass", {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
open("/root/.pgpass", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=44, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
read(3, "localhost:6543:cmdstaging:admin:"..., 4096) = 44
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f7813aed000, 4096) = 0
socket(AF_LOCAL, SOCK_STREAM, 0) = 3
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
connect(3, {sa_family=AF_LOCAL, sun_path="/tmp/.s.PGSQL.5432"}, 110) = 0
getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
getsockname(3, {sa_family=AF_LOCAL, NULL}, [2]) = 0
poll([{fd=3, events=POLLOUT|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
sendto(3, "\0\0\0A\0\3\0\0user\0admin\0database\0cmds"..., 65, MSG_NOSIGNAL, NULL, 0) = 65
poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recvfrom(3, "R\0\0\0\10\0\0\0\0S\0\0\0\35application_name\0p"..., 16384, 0, NULL, NULL) = 321
sendto(3, "Q\0\0\0\36set random_page_cost=1.1;\0", 31, MSG_NOSIGNAL, NULL, 0) = 31
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\10SET\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 15
sendto(3, "Q\0\0\0\vBEGIN;\0", 12, MSG_NOSIGNAL, NULL, 0) = 12
recvfrom(3, "C\0\0\0\nBEGIN\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 17
sendto(3, "Q\0\0\0Dupdate service_order set cu"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\rUPDATE 1\0Z\0\0\0\5T", 16384, 0, NULL, NULL) = 20
sendto(3, "Q\0\0\0\tEND;\0", 10, MSG_NOSIGNAL, NULL, 0) = 10
recvfrom(3, 0x2262ed0, 16384, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
recvfrom(3, "C\0\0\0\vCOMMIT\0Z\0\0\0\5I", 16384, 0, NULL, NULL) = 18
sendto(3, "X\0\0\0\4", 5, MSG_NOSIGNAL, NULL, 0) = 5
close(3) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7813aed000
write(1, "transaction type: stress_service"..., 43transaction type: stress_service_order.sql
) = 43
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-04 20:54 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Thomas Munro @ 2019-03-04 20:54 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Tue, Mar 5, 2019 at 5:01 AM Nicola Contu <nicola.contu@gmail.com> wrote:
> Attached a part of the strace running the pgbench command for pg11
> Also attached strace_10 for pg10.6.
That looks like strace output from pgbench, and I don't see any
interesting differences between v10 and v11 (though I'm surprised to
see it using poll() instead of ppoll(), and opening a new connection
for every transaction).
How about syscalls on the server side? You could start it with
something like "strace -f path/to/postgres -D path/to/pgdata" (-f for
follow children), and perhaps also use -c so that it shows aggregated
data (up until you ^C it) instead of every syscall?
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
@ 2019-03-05 15:22 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-05 15:22 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
Not sure what you are requesting exactly but here is the strace for the
start of the pg_ctl
Il giorno lun 4 mar 2019 alle ore 21:55 Thomas Munro <thomas.munro@gmail.com>
ha scritto:
> On Tue, Mar 5, 2019 at 5:01 AM Nicola Contu <nicola.contu@gmail.com>
> wrote:
> > Attached a part of the strace running the pgbench command for pg11
> > Also attached strace_10 for pg10.6.
>
> That looks like strace output from pgbench, and I don't see any
> interesting differences between v10 and v11 (though I'm surprised to
> see it using poll() instead of ppoll(), and opening a new connection
> for every transaction).
>
> How about syscalls on the server side? You could start it with
> something like "strace -f path/to/postgres -D path/to/pgdata" (-f for
> follow children), and perhaps also use -c so that it shows aggregated
> data (up until you ^C it) instead of every syscall?
>
> --
> Thomas Munro
> https://enterprisedb.com
>
Attachments:
strace_start.txt (text/plain, 8.0K) download
[postgres@STAGING-CMD1 ~]$ strace /usr/local/pgsql11.2/bin/pg_ctl -D /db/pgsql11/data/ -c start
execve("/usr/local/pgsql11.2/bin/pg_ctl", ["/usr/local/pgsql11.2/bin/pg_ctl", "-D", "/db/pgsql11/data/", "-c", "start"], [/* 27 vars */]) = 0
brk(NULL) = 0x204b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6878854000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/local/pgsql11.2/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/pgsql11.2/lib/tls/x86_64", 0x7fff444938d0) = -1 ENOENT (No such file or directory)
open("/usr/local/pgsql11.2/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/pgsql11.2/lib/tls", 0x7fff444938d0) = -1 ENOENT (No such file or directory)
open("/usr/local/pgsql11.2/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/pgsql11.2/lib/x86_64", 0x7fff444938d0) = -1 ENOENT (No such file or directory)
open("/usr/local/pgsql11.2/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/pgsql11.2/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=48564, ...}) = 0
mmap(NULL, 48564, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6878848000
close(3) = 0
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0m\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=144792, ...}) = 0
mmap(NULL, 2208904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6878418000
mprotect(0x7f687842f000, 2093056, PROT_NONE) = 0
mmap(0x7f687862e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f687862e000
mmap(0x7f6878630000, 13448, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6878630000
close(3) = 0
open("/usr/local/pgsql11.2/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P%\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2173512, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6878847000
mmap(NULL, 3981792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f687804b000
mprotect(0x7f687820e000, 2093056, PROT_NONE) = 0
mmap(0x7f687840d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c2000) = 0x7f687840d000
mmap(0x7f6878413000, 16864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6878413000
close(3) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6878845000
arch_prctl(ARCH_SET_FS, 0x7f6878845740) = 0
mprotect(0x7f687840d000, 16384, PROT_READ) = 0
mprotect(0x7f687862e000, 4096, PROT_READ) = 0
mprotect(0x60a000, 4096, PROT_READ) = 0
mprotect(0x7f6878855000, 4096, PROT_READ) = 0
munmap(0x7f6878848000, 48564) = 0
set_tid_address(0x7f6878845a10) = 92441
set_robust_list(0x7f6878845a20, 24) = 0
rt_sigaction(SIGRTMIN, {0x7f687841e7e0, [], SA_RESTORER|SA_SIGINFO, 0x7f68784276d0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f687841e870, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f68784276d0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x204b000
brk(0x206c000) = 0x206c000
brk(NULL) = 0x206c000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=106070960, ...}) = 0
mmap(NULL, 106070960, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6871b22000
close(3) = 0
getcwd("/home/postgres", 1024) = 15
stat("/usr/local/pgsql11.2/bin/pg_ctl", {st_mode=S_IFREG|0755, st_size=58144, ...}) = 0
access("/usr/local/pgsql11.2/bin/pg_ctl", R_OK) = 0
access("/usr/local/pgsql11.2/bin/pg_ctl", X_OK) = 0
getcwd("/home/postgres", 1024) = 15
chdir("/usr/local/pgsql11.2/bin") = 0
lstat("pg_ctl", {st_mode=S_IFREG|0755, st_size=58144, ...}) = 0
getcwd("/usr/local/pgsql11.2/bin", 1024) = 25
chdir("/home/postgres") = 0
umask(077) = 02
geteuid() = 1001
open("/db/pgsql11/data/postgresql.conf", O_RDONLY) = 3
close(3) = 0
open("/db/pgsql11/data/PG_VERSION", O_RDONLY) = 3
close(3) = 0
stat("/db/pgsql11/data", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
umask(077) = 077
stat("/db/pgsql11/data", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/db/pgsql11/data/PG_VERSION", {st_mode=S_IFREG|0600, st_size=3, ...}) = 0
open("/db/pgsql11/data/postmaster.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
getcwd("/home/postgres", 1024) = 15
stat("/usr/local/pgsql11.2/bin/pg_ctl", {st_mode=S_IFREG|0755, st_size=58144, ...}) = 0
access("/usr/local/pgsql11.2/bin/pg_ctl", R_OK) = 0
access("/usr/local/pgsql11.2/bin/pg_ctl", X_OK) = 0
getcwd("/home/postgres", 1024) = 15
chdir("/usr/local/pgsql11.2/bin") = 0
lstat("pg_ctl", {st_mode=S_IFREG|0755, st_size=58144, ...}) = 0
getcwd("/usr/local/pgsql11.2/bin", 1024) = 25
chdir("/home/postgres") = 0
stat("/usr/local/pgsql11.2/bin/postgres", {st_mode=S_IFREG|0755, st_size=7908968, ...}) = 0
access("/usr/local/pgsql11.2/bin/postgres", R_OK) = 0
access("/usr/local/pgsql11.2/bin/postgres", X_OK) = 0
pipe2([3, 4], O_CLOEXEC) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6878845a10) = 92442
close(4) = 0
fcntl(3, F_SETFD, 0) = 0
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6878853000
read(3, "postgres (PostgreSQL) 11.2\n", 4096) = 27
close(3) = 0
wait4(92442, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 92442
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=92442, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
munmap(0x7f6878853000, 4096) = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM64_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
getppid() = 92439
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6878845a10) = 92443
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6878853000
write(1, "waiting for server to start...", 30waiting for server to start...) = 30
open("/db/pgsql11/data/postmaster.pid", O_RDONLY) = -1 ENOENT (No such file or directory)
wait4(92443, 0x7fff44494fb0, WNOHANG, NULL) = 0
write(1, ".", 1.) = 1
select(0, NULL, NULL, NULL, {0, 100000}2019-03-05 15:16:08.893 GMT [92443] LOG: listening on IPv6 address "::1", port 5432
2019-03-05 15:16:08.893 GMT [92443] LOG: listening on IPv4 address "127.0.0.1", port 5432
2019-03-05 15:16:08.894 GMT [92443] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
2019-03-05 15:16:08.902 GMT [92444] LOG: database system was shut down at 2019-03-05 15:15:48 GMT
2019-03-05 15:16:08.903 GMT [92443] LOG: database system is ready to accept connections
) = 0 (Timeout)
open("/db/pgsql11/data/postmaster.pid", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=83, ...}) = 0
read(3, "92443\n/db/pgsql11/data\n155179896"..., 84) = 83
close(3) = 0
write(1, " done\n", 6 done
) = 6
write(1, "server started\n", 15server started
) = 15
exit_group(0) = ?
+++ exited with 0 +++
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-05 16:47 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Thomas Munro @ 2019-03-05 16:47 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Wed, Mar 6, 2019 at 4:22 AM Nicola Contu <nicola.contu@gmail.com> wrote:
>
> Not sure what you are requesting exactly but here is the strace for the start of the pg_ctl
I meant that you could run the server itself in the foreground under
strace, like so:
$ strace -f -c /usr/local/pgsql11.2/bin/postgres -D /db/pgsql11/data/
Then perform your testing, and finally stop it with pg_ctl from
another window (or hit ^C in this window) and strace should spit out a
table of system calls with some counters. We might be able to see why
v11 is spending so much more time executing system calls than v10 for
your workload, or at least which systems calls they are, assuming you
run the same transactions against both versions.
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
@ 2019-03-06 10:14 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:25 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
0 siblings, 2 replies; 18+ messages in thread
From: Nicola Contu @ 2019-03-06 10:14 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
Here is the strace as requested for pg11
Thanks
Il giorno mar 5 mar 2019 alle ore 17:47 Thomas Munro <thomas.munro@gmail.com>
ha scritto:
> On Wed, Mar 6, 2019 at 4:22 AM Nicola Contu <nicola.contu@gmail.com>
> wrote:
> >
> > Not sure what you are requesting exactly but here is the strace for the
> start of the pg_ctl
>
> I meant that you could run the server itself in the foreground under
> strace, like so:
>
> $ strace -f -c /usr/local/pgsql11.2/bin/postgres -D /db/pgsql11/data/
>
> Then perform your testing, and finally stop it with pg_ctl from
> another window (or hit ^C in this window) and strace should spit out a
> table of system calls with some counters. We might be able to see why
> v11 is spending so much more time executing system calls than v10 for
> your workload, or at least which systems calls they are, assuming you
> run the same transactions against both versions.
>
> --
> Thomas Munro
> https://enterprisedb.com
>
Attachments:
strace_direct.txt (text/plain, 8.7K) download
[postgres@STAGING-CMD1 ~]$ strace -f -c /usr/local/pgsql11.2/bin/postgres -D /db/pgsql11/data/
2019-03-06 10:07:47 GMT [] [163892]: [1-1] db=,user= LOG: listening on IPv4 address "0.0.0.0", port 5432
2019-03-06 10:07:47 GMT [] [163892]: [2-1] db=,user= LOG: listening on IPv6 address "::", port 5432
2019-03-06 10:07:47 GMT [] [163892]: [3-1] db=,user= LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
strace: Process 163894 attached
2019-03-06 10:07:48 GMT [] [163894]: [1-1] db=,user= LOG: database system was shut down at 2019-03-06 10:06:22 GMT
strace: Process 163895 attached
strace: Process 163896 attached
strace: Process 163897 attached
strace: Process 163898 attached
strace: Process 163899 attached
strace: Process 163900 attached
2019-03-06 10:07:48 GMT [] [163892]: [4-1] db=,user= LOG: database system is ready to accept connections
strace: Process 163908 attached
strace: Process 163915 attached
strace: Process 163928 attached
strace: Process 163931 attached
strace: Process 163943 attached
strace: Process 163960 attached
strace: Process 163976 attached
2019-03-06 10:09:08 GMT [] [163895]: [1-1] db=,user= LOG: checkpoint starting: xlog
strace: Process 163989 attached
strace: Process 164002 attached
2019-03-06 10:09:42 GMT [] [163895]: [2-1] db=,user= LOG: checkpoint complete: wrote 201350 buffers (15.4%); 0 WAL file(s) added, 0 removed, 0 recycled; write=33.879 s, sync=0.208 s, total=34.093 s; sync files=30, longest=0.142 s, average=0.006 s; distance=1228942 kB, estimate=1228942 kB
strace: Process 164015 attached
2019-03-06 10:09:58 GMT [] [163895]: [3-1] db=,user= LOG: checkpoint starting: xlog
strace: Process 164035 attached
strace: Process 164050 attached
2019-03-06 10:10:26 GMT [] [163895]: [4-1] db=,user= LOG: checkpoint complete: wrote 126477 buffers (9.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=27.650 s, sync=0.015 s, total=27.668 s; sync files=30, longest=0.004 s, average=0.000 s; distance=1226813 kB, estimate=1228729 kB
strace: Process 164066 attached
2019-03-06 10:10:43 GMT [] [163895]: [5-1] db=,user= LOG: checkpoint starting: xlog
strace: Process 164079 attached
strace: Process 164102 attached
2019-03-06 10:11:08 GMT [] [163895]: [6-1] db=,user= LOG: checkpoint complete: wrote 125741 buffers (9.6%); 1 WAL file(s) added, 0 removed, 0 recycled; write=24.804 s, sync=0.077 s, total=24.947 s; sync files=30, longest=0.015 s, average=0.002 s; distance=1229772 kB, estimate=1229772 kB
strace: Process 164223 attached
2019-03-06 10:11:22 GMT [] [163895]: [7-1] db=,user= LOG: checkpoint starting: xlog
strace: Process 164347 attached
2019-03-06 10:11:46 GMT [] [163895]: [8-1] db=,user= LOG: checkpoint complete: wrote 133784 buffers (10.2%); 1 WAL file(s) added, 0 removed, 0 recycled; write=23.399 s, sync=0.141 s, total=23.595 s; sync files=29, longest=0.027 s, average=0.004 s; distance=1227832 kB, estimate=1229578 kB
strace: Process 164460 attached
2019-03-06 10:11:52 GMT [[local]] [163931]: [1-1] db=cmdstaging,user=postgres LOG: duration: 209593.079 ms statement: update service_order set customer_pon = now();
strace: Process 164575 attached
strace: Process 164694 attached
2019-03-06 10:12:28 GMT [] [163928]: [1-1] db=,user= LOG: automatic vacuum of table "cmdstaging.public.service_order": index scans: 1
pages: 0 removed, 171162 remain, 413 skipped due to pins, 0 skipped frozen
tuples: 123264 removed, 1300328 remain, 0 are dead but not yet removable, oldest xmin: 1172166
buffer usage: 890073 hits, 250961 misses, 270986 dirtied
avg read rate: 7.826 MB/s, avg write rate: 8.451 MB/s
system usage: CPU: user: 12.96 s, system: 10.24 s, elapsed: 250.52 s
^Cstrace: Process 163892 detached
2019-03-06 10:12:29 GMT [] [163892]: [5-1] db=,user= LOG: received fast shutdown request
strace: Process 163895 detached
strace: Process 163896 detached
strace: Process 163897 detached
strace: Process 163898 detached
strace: Process 163899 detached
strace: Process 163900 detached
strace: Process 163928 detached
strace: Process 163931 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
2019-03-06 10:12:29 GMT [] [163892]: [6-1] db=,user= LOG: aborting any active transactions
2019-03-06 10:12:29 GMT [] [163928]: [2-1] db=,user= FATAL: terminating autovacuum process due to administrator command
2019-03-06 10:12:29 GMT [[local]] [163931]: [2-1] db=cmdstaging,user=postgres FATAL: terminating connection due to administrator command
71.60 12.371671 8 1573947 write
5.81 1.004669 2 481816 read
5.64 0.974727 13 76782 sync_file_range
5.19 0.896717 655 1370 fsync
4.64 0.801652 1 657031 lseek
4.55 0.785944 181 4354 fdatasync
0.96 0.166075 6151 27 setsid
2019-03-06 10:12:29 GMT [] [163892]: [7-1] db=,user= LOG: background worker "logical replication launcher" (PID 163900) exited with exit code 1
2019-03-06 10:12:29 GMT [] [163895]: [9-1] db=,user= LOG: shutting down
2019-03-06 10:12:29 GMT [] [163895]: [10-1] db=,user= LOG: checkpoint starting: shutdown immediate
0.29 0.050526 0 112795 109999 open
0.23 0.039631 4 9508 38 select
0.20 0.033862 4 8098 close
0.16 0.027331 15 1845 sendto
0.16 0.027178 3 10487 epoll_ctl
0.15 0.026539 6 4421 85 epoll_wait
0.08 0.014493 2 6198 1170 futex
0.08 0.013544 3 4345 epoll_create1
0.07 0.012289 3 3641 1797 recvfrom
0.03 0.005584 18 303 link
0.03 0.005098 48 107 rename
0.03 0.004366 12 369 munmap
0.02 0.003996 6 635 320 unlink
0.02 0.002652 41 64 getdents
0.01 0.002203 2 1000 dup
0.01 0.002073 6 360 345 stat
0.01 0.001373 3 440 mmap
0.01 0.001047 2 478 brk
0.00 0.000769 3 307 rt_sigaction
0.00 0.000750 2 344 fstat
0.00 0.000514 2 216 rt_sigprocmask
0.00 0.000342 3 103 kill
0.00 0.000310 8 38 wait4
0.00 0.000288 2 124 123 rt_sigreturn
0.00 0.000184 6 31 1 openat
0.00 0.000122 5 25 1 access
0.00 0.000085 5 18 mprotect
0.00 0.000076 10 8 2 connect
0.00 0.000074 3 27 clone
0.00 0.000072 7 11 socket
0.00 0.000064 1 115 fcntl
0.00 0.000039 1 28 pipe
0.00 0.000036 6 6 bind
0.00 0.000033 6 6 recvmsg
0.00 0.000032 4 9 getsockname
0.00 0.000018 4 5 setitimer
0.00 0.000018 3 6 getcwd
0.00 0.000014 7 2 accept
0.00 0.000013 4 3 listen
0.00 0.000013 3 5 chdir
0.00 0.000010 3 3 setsockopt
0.00 0.000010 0 58 getrusage
0.00 0.000009 9 1 statfs
0.00 0.000009 0 28 set_robust_list
0.00 0.000007 7 1 chmod
0.00 0.000006 3 2 lstat
0.00 0.000006 6 1 shmget
0.00 0.000006 6 1 shmdt
0.00 0.000006 2 3 getrlimit
0.00 0.000006 6 1 fallocate
0.00 0.000004 4 1 shmat
0.00 0.000004 4 1 getsockopt
0.00 0.000004 4 1 ftruncate
0.00 0.000004 1 3 geteuid
0.00 0.000003 2 2 umask
0.00 0.000003 2 2 getppid
0.00 0.000002 2 1 getuid
0.00 0.000002 2 1 arch_prctl
0.00 0.000002 2 1 set_tid_address
0.00 0.000000 0 1 execve
------ ----------- ----------- --------- --------- ----------------
100.00 17.279209 2961971 113881 total
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-06 11:12 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:46 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
1 sibling, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-06 11:12 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
This is instead the strace of another server running the same version
compiled but that is even slower.
Il giorno mer 6 mar 2019 alle ore 11:14 Nicola Contu <nicola.contu@gmail.com>
ha scritto:
> Here is the strace as requested for pg11
>
> Thanks
>
> Il giorno mar 5 mar 2019 alle ore 17:47 Thomas Munro <
> thomas.munro@gmail.com> ha scritto:
>
>> On Wed, Mar 6, 2019 at 4:22 AM Nicola Contu <nicola.contu@gmail.com>
>> wrote:
>> >
>> > Not sure what you are requesting exactly but here is the strace for the
>> start of the pg_ctl
>>
>> I meant that you could run the server itself in the foreground under
>> strace, like so:
>>
>> $ strace -f -c /usr/local/pgsql11.2/bin/postgres -D /db/pgsql11/data/
>>
>> Then perform your testing, and finally stop it with pg_ctl from
>> another window (or hit ^C in this window) and strace should spit out a
>> table of system calls with some counters. We might be able to see why
>> v11 is spending so much more time executing system calls than v10 for
>> your workload, or at least which systems calls they are, assuming you
>> run the same transactions against both versions.
>>
>> --
>> Thomas Munro
>> https://enterprisedb.com
>>
>
Attachments:
strace_another_server.txt (text/plain, 4.5K) download
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
2019-03-06 11:04:56 GMT [127.0.0.1(46276)] [14799]: [2-1] db=cmdv3preprod,user=cmdpreprodapp FATAL: terminating connection due to administrator command
32.50 143.010306 7 21044095 lseek
26.21 115.354045 14 8144577 read
6.18 27.185578 16 1669889 10 sendto
5.29 23.300584 57 407528 fdatasync
4.93 21.709522 9 2313529 824174 recvfrom
3.31 14.547568 19 765897 write
2.73 12.007486 14 867088 14494 epoll_wait
2.18 9.597460 15 659871 84097 futex
1.85 8.147759 14 567414 close
1.77 7.767832 18 437656 11319 open
1.53 6.749496 161 42009 wait4
1.39 6.110869 226 26994 setsid
1.31 5.760971 15 396402 brk
1.16 5.083198 29 175022 munmap
0.90 3.954892 18 224829 epoll_ctl
0.89 3.928084 17 227227 1 mmap
0.77 3.376280 11 298018 rt_sigaction
0.63 2.778183 16 178446 kill
0.63 2.763563 17 159928 rt_sigprocmask
0.52 2.306854 12 190988 fstat
0.42 1.850528 128 14468 sync_file_range
0.35 1.534351 52 29591 18762 select
0.35 1.532532 16 96298 epoll_create1
0.32 1.415160 2331 607 fsync
0.29 1.263220 21 61605 35503 stat
0.28 1.227967 125 9827 28 fallocate
0.27 1.195613 8 153557 38629 rt_sigreturn
0.26 1.123353 112 10013 173 unlink
0.24 1.060130 20 52112 mprotect
0.11 0.487515 18 26994 clone
0.10 0.458161 11 41080 fadvise64
0.10 0.440217 16 26991 1 access
0.09 0.406644 4 109169 fcntl
0.04 0.188007 173 1088 rename
0.04 0.181400 18 9829 ftruncate
0.03 0.119387 4 26995 pipe
0.01 0.036748 1 26995 set_robust_list
0.01 0.023510 24 1000 dup
0.00 0.019099 13 1425 setitimer
0.00 0.017918 18 981 setsockopt
0.00 0.015479 26 595 accept
0.00 0.010666 18 602 getsockname
0.00 0.010172 50 202 getdents
0.00 0.004645 28 165 openat
0.00 0.003369 73 46 link
0.00 0.002171 43 50 mremap
0.00 0.000213 71 3 2 mkdir
0.00 0.000189 32 6 getcwd
0.00 0.000179 30 6 bind
0.00 0.000153 10 15 getrusage
0.00 0.000152 30 5 chdir
0.00 0.000133 12 11 socket
0.00 0.000119 24 5 lstat
0.00 0.000102 13 8 2 connect
0.00 0.000083 83 1 rmdir
0.00 0.000070 23 3 geteuid
0.00 0.000068 23 3 listen
0.00 0.000056 28 2 umask
0.00 0.000046 15 3 getrlimit
0.00 0.000042 42 1 execve
0.00 0.000037 37 1 chmod
0.00 0.000030 30 1 arch_prctl
0.00 0.000025 25 1 getuid
0.00 0.000024 24 1 shmget
0.00 0.000022 22 1 shmat
0.00 0.000022 22 1 statfs
0.00 0.000021 21 1 getsockopt
0.00 0.000018 9 2 getppid
0.00 0.000012 12 1 set_tid_address
0.00 0.000008 8 1 shmdt
0.00 0.000000 0 6 recvmsg
------ ----------- ----------- --------- --------- ----------------
100.00 440.070316 39499781 1027195 total
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-07 03:46 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-07 08:39 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Thomas Munro @ 2019-03-07 03:46 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Thu, Mar 7, 2019 at 12:12 AM Nicola Contu <nicola.contu@gmail.com> wrote:
> This is instead the strace of another server running the same version compiled but that is even slower.
Huh. That's a lot of lseek(). Some of these will be for random
reads/writes and will go way in v12, and some will be for probing the
size of relations while planning, and some while executing scans. I
bet you could make some of them go away by using prepared statements.
Does the query in your test involve many partitions/tables?
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
32.50 143.010306 7 21044095 lseek
26.21 115.354045 14 8144577 read
6.18 27.185578 16 1669889 10 sendto
5.29 23.300584 57 407528 fdatasync
4.93 21.709522 9 2313529 824174 recvfrom
3.31 14.547568 19 765897 write
2.73 12.007486 14 867088 14494 epoll_wait
2.18 9.597460 15 659871 84097 futex
1.85 8.147759 14 567414 close
1.77 7.767832 18 437656 11319 open
The other results had 1 usec lseek(), and much fewer of them relative
to the number of reads and writes. BTW, are you comparing v10 and v11
on the same hardware, kernel, filesystem? Just wondering if there
could be some change in syscall overhead on different kernel patch
levels or something like that: we see 7 usec vs 1 usec in those two
files (though I have no idea how reliable these times are) and if
we're going to call it 21 million times at some point it might
matter...
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:46 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
@ 2019-03-07 08:39 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-12 09:49 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-07 08:39 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
So the first file is on Postgres11.2 on a test server (and where I compare
10 vs 11)
The second file, is our preprod machine running Postgres 11.2 (different
hardware etc, it is a VM). I know that could be confusing, but I just
wanted to compare that too because if you see the two files there's a lot
of difference between the two machines.
And they are both running CentOS 7.
So at this point I have two problems. One inside the machine between
Postgres 10 and 11 and another problem on the preprod (similar to prod)
with a lot of lseek.
Sorry if this is confusing, hope it is clear now.
Regarding partitions/tables. The first file involves just one table. The
second file (with a huge lseek) was running the test on a single table, but
meanwhile it was accessible by the preprod web application. So it was maybe
hit by some user and some other table.
Question:
1) Is it possible that pgbench could not be really a good tool for testing
the performances? If I use a sql script of thousands of insert records and
compare on the same server between pg10 and pg11 I get pretty much the same
result (maybe better on pg11)
2) regarding preprod, is there any way to reduce those lseek()? Just to
let you know, comparing the same insert script between the first server,
the first server takes 2m the second one takes 5-7m.
Thanks a lot,
Il giorno gio 7 mar 2019 alle ore 04:47 Thomas Munro <thomas.munro@gmail.com>
ha scritto:
> On Thu, Mar 7, 2019 at 12:12 AM Nicola Contu <nicola.contu@gmail.com>
> wrote:
> > This is instead the strace of another server running the same version
> compiled but that is even slower.
>
> Huh. That's a lot of lseek(). Some of these will be for random
> reads/writes and will go way in v12, and some will be for probing the
> size of relations while planning, and some while executing scans. I
> bet you could make some of them go away by using prepared statements.
> Does the query in your test involve many partitions/tables?
>
> % time seconds usecs/call calls errors syscall
> ------ ----------- ----------- --------- --------- ----------------
> 32.50 143.010306 7 21044095 lseek
> 26.21 115.354045 14 8144577 read
> 6.18 27.185578 16 1669889 10 sendto
> 5.29 23.300584 57 407528 fdatasync
> 4.93 21.709522 9 2313529 824174 recvfrom
> 3.31 14.547568 19 765897 write
> 2.73 12.007486 14 867088 14494 epoll_wait
> 2.18 9.597460 15 659871 84097 futex
> 1.85 8.147759 14 567414 close
> 1.77 7.767832 18 437656 11319 open
>
> The other results had 1 usec lseek(), and much fewer of them relative
> to the number of reads and writes. BTW, are you comparing v10 and v11
> on the same hardware, kernel, filesystem? Just wondering if there
> could be some change in syscall overhead on different kernel patch
> levels or something like that: we see 7 usec vs 1 usec in those two
> files (though I have no idea how reliable these times are) and if
> we're going to call it 21 million times at some point it might
> matter...
>
> --
> Thomas Munro
> https://enterprisedb.com
>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:46 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-07 08:39 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-12 09:49 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-13 03:20 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
0 siblings, 1 reply; 18+ messages in thread
From: Nicola Contu @ 2019-03-12 09:49 UTC (permalink / raw)
To: Thomas Munro <thomas.munro@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
Hello,
do you have any advice on this?
Thanks a lot in advance
Il giorno gio 7 mar 2019 alle ore 09:39 Nicola Contu <nicola.contu@gmail.com>
ha scritto:
> So the first file is on Postgres11.2 on a test server (and where I compare
> 10 vs 11)
> The second file, is our preprod machine running Postgres 11.2 (different
> hardware etc, it is a VM). I know that could be confusing, but I just
> wanted to compare that too because if you see the two files there's a lot
> of difference between the two machines.
> And they are both running CentOS 7.
>
> So at this point I have two problems. One inside the machine between
> Postgres 10 and 11 and another problem on the preprod (similar to prod)
> with a lot of lseek.
>
> Sorry if this is confusing, hope it is clear now.
>
> Regarding partitions/tables. The first file involves just one table. The
> second file (with a huge lseek) was running the test on a single table, but
> meanwhile it was accessible by the preprod web application. So it was maybe
> hit by some user and some other table.
>
>
> Question:
> 1) Is it possible that pgbench could not be really a good tool for testing
> the performances? If I use a sql script of thousands of insert records and
> compare on the same server between pg10 and pg11 I get pretty much the same
> result (maybe better on pg11)
> 2) regarding preprod, is there any way to reduce those lseek()? Just to
> let you know, comparing the same insert script between the first server,
> the first server takes 2m the second one takes 5-7m.
>
> Thanks a lot,
>
>
>
>
>
> Il giorno gio 7 mar 2019 alle ore 04:47 Thomas Munro <
> thomas.munro@gmail.com> ha scritto:
>
>> On Thu, Mar 7, 2019 at 12:12 AM Nicola Contu <nicola.contu@gmail.com>
>> wrote:
>> > This is instead the strace of another server running the same version
>> compiled but that is even slower.
>>
>> Huh. That's a lot of lseek(). Some of these will be for random
>> reads/writes and will go way in v12, and some will be for probing the
>> size of relations while planning, and some while executing scans. I
>> bet you could make some of them go away by using prepared statements.
>> Does the query in your test involve many partitions/tables?
>>
>> % time seconds usecs/call calls errors syscall
>> ------ ----------- ----------- --------- --------- ----------------
>> 32.50 143.010306 7 21044095 lseek
>> 26.21 115.354045 14 8144577 read
>> 6.18 27.185578 16 1669889 10 sendto
>> 5.29 23.300584 57 407528 fdatasync
>> 4.93 21.709522 9 2313529 824174 recvfrom
>> 3.31 14.547568 19 765897 write
>> 2.73 12.007486 14 867088 14494 epoll_wait
>> 2.18 9.597460 15 659871 84097 futex
>> 1.85 8.147759 14 567414 close
>> 1.77 7.767832 18 437656 11319 open
>>
>> The other results had 1 usec lseek(), and much fewer of them relative
>> to the number of reads and writes. BTW, are you comparing v10 and v11
>> on the same hardware, kernel, filesystem? Just wondering if there
>> could be some change in syscall overhead on different kernel patch
>> levels or something like that: we see 7 usec vs 1 usec in those two
>> files (though I have no idea how reliable these times are) and if
>> we're going to call it 21 million times at some point it might
>> matter...
>>
>> --
>> Thomas Munro
>> https://enterprisedb.com
>>
>
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:46 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-07 08:39 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-12 09:49 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-13 03:20 ` Thomas Munro <thomas.munro@gmail.com>
0 siblings, 0 replies; 18+ messages in thread
From: Thomas Munro @ 2019-03-13 03:20 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Tue, Mar 12, 2019 at 10:49 PM Nicola Contu <nicola.contu@gmail.com> wrote:
> Il giorno gio 7 mar 2019 alle ore 09:39 Nicola Contu <nicola.contu@gmail.com> ha scritto:
>> So the first file is on Postgres11.2 on a test server (and where I compare 10 vs 11)
>> The second file, is our preprod machine running Postgres 11.2 (different hardware etc, it is a VM). I know that could be confusing, but I just wanted to compare that too because if you see the two files there's a lot of difference between the two machines.
>> And they are both running CentOS 7.
>>
>> So at this point I have two problems. One inside the machine between Postgres 10 and 11 and another problem on the preprod (similar to prod) with a lot of lseek.
So we still don't know what is different between 10 and 11. We'll
need some more evidence to understand that. We know that perf said 11
was spending more time making syscalls, but we haven't seen any
syscall measurement from the 10 system so we don't know what those
supposed extra syscalls are. Also, backing up a bit, have you
compared the query plan to see if it's the same, and can we please see
it?
As for the preprod/lots-of-lseek system, I don't know, it seems there
are even more unknown variables there... if you can say more about
the virtualisation technology you're using, perhaps someone who knows
more about that would have some ideas. Besides apparently slower
syscalls, one factor that is unexplained is why that system is calling
lseek() more times per query (but you said there may be other work
happening on the server, so who knows).
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
* Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Re: Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
@ 2019-03-07 03:25 ` Thomas Munro <thomas.munro@gmail.com>
1 sibling, 0 replies; 18+ messages in thread
From: Thomas Munro @ 2019-03-07 03:25 UTC (permalink / raw)
To: Nicola Contu <nicola.contu@gmail.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Ray O'Donnell <ray@rodonnell.ie>; pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>; Alessandro Aste <Alessandro.aste@gtt.net>
On Wed, Mar 6, 2019 at 11:14 PM Nicola Contu <nicola.contu@gmail.com> wrote:
> Here is the strace as requested for pg11
How does it compare to v10 running the same test?
--
Thomas Munro
https://enterprisedb.com
^ permalink raw reply [nested|flat] 18+ messages in thread
end of thread, other threads:[~2019-03-13 03:20 UTC | newest]
Thread overview: 18+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 15:01 Performance comparison between Pgsql 10.5 and Pgsql 11.2 Nicola Contu <nicola.contu@gmail.com>
2019-03-01 16:01 ` Ray O'Donnell <ray@rodonnell.ie>
2019-03-02 19:41 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-04 12:13 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-04 13:45 ` Imre Samu <pella.samu@gmail.com>
2019-03-04 13:53 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-04 14:22 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-03-04 16:01 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-04 20:54 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-05 15:22 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-05 16:47 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-06 10:14 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-06 11:12 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-07 03:46 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-07 08:39 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-12 09:49 ` Nicola Contu <nicola.contu@gmail.com>
2019-03-13 03:20 ` Thomas Munro <thomas.munro@gmail.com>
2019-03-07 03:25 ` Thomas Munro <thomas.munro@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox