|
|
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Доброе время суток. PostgreSQL 9.1.12 x64 на SLES11 SP3 на Citrix XenServer 6.2 SP1 Есть такое вот огорчение - перестали на ходу сливаться бэкапы базы через pg_dump и pg_dumpall. При попытке сделать pg_dump с удаленного хоста часть таблиц сливается, потом получаю вот такое (pg_dump версии 9.3.3): pg_dump: dumping contents of table encalctransportusagehr pg_dump: Dumping the contents of table "encalctransportusagehr" failed: PQgetResult() failed. pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY net.encalctransportusagehr (code, salarymonthdriver, normworktimemonth, salaryhourdriver, salarychargehourdriver, salarytotalhourdriver, costmachine, amortizationyearmachin, amortizationhourmachin, fuelexpensesmachine, costtotalhourmachine, modify_time, planrefcode, tktransportrefcode, productioncosts, profitrate, costperkilometer, commentperkilometer) TO stdout; Если делать локально (клиент 9.1.12), ошибка выглядит так: pg_dump: dumping contents of table enact2humen pg_dump: SQL command failed pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY net.enact2humen (code, oredernum, tabnumber, fio, salary, timemonth, salaryhours, timework, payswork, domain_info, modify_time, humenkindrefcode, actrefcode, timeobjectwork, timedelivery, timeworkfact, daysmonth, bonus, salaryhoursbonus, paysworkbonus, payworkcou) TO stdout; pg_dump: *** aborted because of error Сбивается постоянно на разных таблицах. Если делать ту же процедуру в вечернее время после перезагрузки сервера(когда людей мало работает), ошибок не возникает. База достаточно нагруженная, около 500 коннектов в дневное время и около 100 в ночное, днем нормально видеть порядка 10-20 активных сессий. Проблема появилась только в последнее время, раньше такого не наблюдалось. В чем причина и как устранить, подскажите... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 12:46:05 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
этим ошибкам должны соответствовать определенные ошибки в логе постгреса, и они могут быть более подробные. попробуйте поискать и скиньте если что найдете. и переходите уже на бэкапы через pg_basebackup (на крайний случай rsync), оно чуть сложнее в настройке, но восстановление с них гибче и разнообразнее. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 13:21:19 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
В логах постгреса поискать пробовал - пусто. pg_basebackup делает бэкап кластера целиком, мне же нужно каждую ночь и по требованию в течении дня одну схему разливать по нескольким тестовым серверам, чтоб разработчики имели актуальную площадку для игр. Причем один из тестовых серверов имеет версию 9.3(тестируем смену версии). pg_basebackup сделать этого не позволит, или позволит с использованием бубна и заячьей лапки(например поднять промежуточный сервер, ч которого по тестовым серверам все и разносить, но ресурсы не резиновые, к сожалению). Так что вариант с исправлением pg_dump очень желателен. Кстати, спасибо за предложение, буду использовать для простого резервирования. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 15:36:05 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
да в вашем случае pg_dump предпочтительней Алексей ФилипповВ логах постгреса поискать пробовал - пусто. проверьте statement_timeout (должно быть по умолчанию 0), поставьте log_min_messages = 'DEBUG2' и попробуйте снова снять бэкап, и после ошибки надо вновь заглянуть в лог ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 16:13:58 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Собственно вот: oblbase postgres [local] pg_dump 2014-02-25 15:11:33 EET 2014-02-25 15:12:38 EET 3309 ОШИБКА: выполнение оператора отменено по запросу пользователя oblbase postgres [local] pg_dump 2014-02-25 15:11:33 EET 2014-02-25 15:12:38 EET 3309 ОПЕРАТОР: COPY net.aaa_umc_rest (rest_purpose_type_id, party_id, div_code, div_name, nn, mat_name, bal_sch, mu_name, nameostatok, aq, sm, rest_purpose_id, party_date) TO stdout; oblbase postgres [local] pg_dump 2014-02-25 15:11:33 EET 2014-02-25 15:12:38 EET 3309 ОТМЕТКА: не удалось послать данные клиенту: Обрыв канала 2014-02-24 20:01:14 EET 2014-02-25 15:12:38 EET 2409 ОТЛАДКА: процесс сервера (PID 3309) завершился с кодом выхода 0 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 17:14:49 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Алексей Филиппов, нет ли ошибок в dmesg/syslog/messages которые соответствуют времени завала pg_dump? еще покажите что sysctl vm.overcommit_memory (так догадка) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 19:35:26 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
в /var/log/messages ничего нет(если это имелось в виду под dmesg/syslog/messages, если нет, то подскажите где конкретно смотреть) vm.overcommit_memory = 0 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 20:05:31 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Алексей Филипповв /var/log/messages ничего нет(если это имелось в виду под dmesg/syslog/messages, если нет, то подскажите где конкретно смотреть) выполните команду dmesg -T (если будет ошибка, опустите -T) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.02.2014, 20:44:45 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Вот результаты dmesg (опция -T выдает ошибку) [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.0.76-0.11-xen (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) [ 0.000000] Command line: root=/dev/xvda3 console=ttyS0 xencons=ttyS maxcpus=16 maxcpus=1 resume=/dev/xvda1 splash=silent crashkernel=256M-:128M showopts console=ttyS0 xencons=ttyS maxcpus=32 [ 0.000000] Xen-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 0000000fe0000000 (usable) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] last_pfn = 0xfe0000 max_arch_pfn = 0x80000000 [ 0.000000] last_pfn = 0x100000 max_arch_pfn = 0x80000000 [ 0.000000] initial memory mapped : 0 - 00000000 [ 0.000000] init_memory_mapping: 0000000000000000-0000000100000000 [ 0.000000] 0000000000 - 0100000000 page 4k [ 0.000000] kernel direct mapping tables up to 0xffffffff @ [mem 0x09791000-0x09f95fff] [ 0.000000] init_memory_mapping: 0000000100000000-0000000fe0000000 [ 0.000000] 0100000000 - 0fe0000000 page 4k [ 0.000000] kernel direct mapping tables up to 0xfdfffffff @ [mem 0x09f96000-0x116d2fff] [ 0.000000] RAMDISK: 0089d000 - 0183d000 [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00fe0000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00fe0000 [ 0.000000] On node 0 totalpages: 16646144 [ 0.000000] free_area_init_node: node 0, pgdat ffffffff8072a580, node_mem_map ffff880fa8700000 [ 0.000000] DMA zone: 56 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 4040 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 14280 pages used for memmap [ 0.000000] DMA32 zone: 1030200 pages, LIFO batch:31 [ 0.000000] Normal zone: 213248 pages used for memmap [ 0.000000] Normal zone: 15384320 pages, LIFO batch:31 [ 0.000000] Ignoring crashkernel command line, parameter will be supplied by xen [ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:32 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 18 pages/cpu @ffff880fa0200000 s41088 r8192 d24448 u131072 [ 0.000000] pcpu-alloc: s41088 r8192 d24448 u131072 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 [ 0.000000] pcpu-alloc: [0] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [ 0.000000] Swapping MFNs for PFN 742 and fa0205 (MFN 1024c02 and 1d5ada) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16418560 [ 0.000000] Kernel command line: root=/dev/xvda3 console=ttyS0 xencons=ttyS maxcpus=16 maxcpus=1 resume=/dev/xvda1 splash=silent crashkernel=256M-:128M showopts console=ttyS0 xencons=ttyS maxcpus=32 [ 0.000000] bootsplash: silent mode. [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes) [ 0.000000] Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes) [ 0.000000] allocated 532676608 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Software IO TLB disabled [ 0.000000] Memory: 64767556k/66584576k available (4174k kernel code, 0k absent, 1817020k reserved, 3222k data, 436k init) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] nr_pirqs: 256 [ 0.000000] NR_IRQS:38912 nr_irqs:2624 16 [ 0.000000] Xen reported: 2400.084 MHz processor. [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [ttyS0] enabled [ 0.080005] Calibrating delay using timer specific routine.. 4857.89 BogoMIPS (lpj=9715789) [ 0.080012] pid_max: default: 32768 minimum: 301 [ 0.080060] Security Framework initialized [ 0.080078] AppArmor: AppArmor initialized [ 0.080106] Mount-cache hash table entries: 256 [ 0.080220] Initializing cgroup subsys cpuacct [ 0.080230] Initializing cgroup subsys memory [ 0.080248] Initializing cgroup subsys devices [ 0.080249] Initializing cgroup subsys freezer [ 0.080251] Initializing cgroup subsys net_cls [ 0.080253] Initializing cgroup subsys blkio [ 0.080259] Initializing cgroup subsys perf_event [ 0.080354] SMP alternatives: switching to UP code [ 0.104517] Brought up 1 CPUs [ 0.104620] devtmpfs: initialized [ 0.104855] print_constraints: dummy: [ 0.124736] Time: 165:165:165 Date: 165/165/65 [ 0.124795] NET: Registered protocol family 16 [ 0.124919] SMP alternatives: switching to SMP code [ 0.168848] Brought up 32 CPUs [ 0.172076] PCI: Fatal: No config space access function found [ 0.172088] PCI: setting up Xen PCI frontend stub [ 0.173407] bio: create slab <bio-0> at 0 [ 0.173728] ACPI: Interpreter disabled. [ 0.173728] vgaarb: loaded [ 0.173728] suspend: event channel 99 [ 0.176025] xen_mem: Initialising balloon driver. [ 0.176068] Unable to read sysrq code in control/sysrq [ 0.176157] PCI: System does not support PCI [ 0.176157] PCI: System does not support PCI [ 0.176157] NetLabel: Initializing [ 0.176159] NetLabel: domain hash size = 128 [ 0.176162] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.176178] NetLabel: unlabeled traffic allowed by default [ 0.176186] Switching to clocksource xen [ 0.195294] AppArmor: AppArmor Filesystem Enabled [ 0.195315] pnp: PnP ACPI: disabled [ 0.196064] Switched to NOHz mode on CPU #22 [ 0.196068] Switched to NOHz mode on CPU #4 [ 0.196071] Switched to NOHz mode on CPU #0 [ 0.196082] Switched to NOHz mode on CPU #3 [ 0.196088] Switched to NOHz mode on CPU #30 [ 0.196091] Switched to NOHz mode on CPU #31 [ 0.196095] Switched to NOHz mode on CPU #2 [ 0.196098] Switched to NOHz mode on CPU #6 [ 0.196103] Switched to NOHz mode on CPU #7 [ 0.196111] Switched to NOHz mode on CPU #12 [ 0.196129] Switched to NOHz mode on CPU #13 [ 0.196142] Switched to NOHz mode on CPU #9 [ 0.196152] Switched to NOHz mode on CPU #15 [ 0.196161] Switched to NOHz mode on CPU #5 [ 0.196170] Switched to NOHz mode on CPU #14 [ 0.196177] Switched to NOHz mode on CPU #16 [ 0.196194] Switched to NOHz mode on CPU #29 [ 0.196207] Switched to NOHz mode on CPU #27 [ 0.196215] Switched to NOHz mode on CPU #10 [ 0.196222] Switched to NOHz mode on CPU #17 [ 0.196230] Switched to NOHz mode on CPU #20 [ 0.196242] Switched to NOHz mode on CPU #8 [ 0.196255] Switched to NOHz mode on CPU #1 [ 0.196262] Switched to NOHz mode on CPU #18 [ 0.196269] Switched to NOHz mode on CPU #19 [ 0.196275] Switched to NOHz mode on CPU #21 [ 0.196284] Switched to NOHz mode on CPU #26 [ 0.196304] Switched to NOHz mode on CPU #24 [ 0.196311] Switched to NOHz mode on CPU #23 [ 0.196317] Switched to NOHz mode on CPU #25 [ 0.196326] Switched to NOHz mode on CPU #11 [ 0.196336] Switched to NOHz mode on CPU #28 [ 0.196677] PCI: max bus depth: 0 pci_try_num: 1 [ 0.197435] NET: Registered protocol family 2 [ 0.197700] IP route cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.198848] TCP established hash table entries: 262144 (order: 10, 4194304 bytes) [ 0.199365] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.199489] TCP: Hash tables configured (established 262144 bind 65536) [ 0.199493] TCP reno registered [ 0.199501] UDP hash table entries: 32768 (order: 9, 2097152 bytes) [ 0.199748] UDP-Lite hash table entries: 32768 (order: 9, 2097152 bytes) [ 0.200444] NET: Registered protocol family 1 [ 0.200451] PCI: CLS 32 bytes [ 0.200487] Unpacking initramfs... [ 0.210577] Freeing initrd memory: 16000k freed [ 0.215720] Initialise module verification [ 0.215962] audit: initializing netlink socket (disabled) [ 0.215975] type=2000 audit(1393264788.212:1): initialized [ 0.244838] VFS: Disk quotas dquot_6.5.2 [ 0.244949] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.245067] msgmni has been set to 32519 [ 0.245888] alg: No test for stdrng (krng) [ 0.245910] Asymmetric key parser 'x509' registered [ 0.245998] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.246146] io scheduler noop registered [ 0.246151] io scheduler deadline registered [ 0.246286] io scheduler cfq registered (default) [ 0.246525] Non-volatile memory driver v1.3 [ 0.246623] Xen virtual console successfully installed as ttyS0 [ 0.246666] Fixed MDIO Bus: probed [ 0.246691] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 1.260550] i8042: No controller found [ 1.260604] mousedev: PS/2 mouse device common for all mice [ 1.260834] EFI Variables Facility v0.08 2004-May-17 [ 1.261248] TCP cubic registered [ 1.261260] Registering the dns_resolver key type [ 1.261321] Loading module verification certificates [ 1.261345] MODSIGN: Loaded cert 'SUSE Linux Enterprise Secure Boot Signkey: 3fb077b6cebc6ff2522e1c148c57c777c788e3e7' [ 1.261358] MODSIGN: Loaded cert 'SUSE Linux Enterprise Secure Boot Signkey: 3fb077b6cebc6ff2522e1c148c57c777c788e3e7' [ 1.261368] registered taskstats version 1 [ 1.261467] Magic number: 1:252:3141 [ 1.261487] XENBUS: Device with no driver: device/vbd/51728 [ 1.261489] XENBUS: Device with no driver: device/vbd/51744 [ 1.261491] XENBUS: Device with no driver: device/vbd/51712 [ 1.261492] XENBUS: Device with no driver: device/vif/0 [ 1.261494] XENBUS: Device with no driver: device/vif/1 [ 1.261771] Freeing unused kernel memory: 436k freed [ 1.261948] Write protecting the kernel read-only data: 6968k [ 1.383096] blkfront: device/vbd/51728: ring-pages=1 nr_ents=32 [ 1.385031] blkfront: device/vbd/51744: ring-pages=1 nr_ents=32 [ 1.387464] blkfront: device/vbd/51712: ring-pages=1 nr_ents=32 [ 1.387974] xen-vbd: registered block device major 202 [ 1.388021] blkfront: xvdb: barrier: enabled [ 1.388914] xvdb: xvdb1 [ 1.389475] Setting capacity to 251658240 [ 1.389479] xvdb: detected capacity change from 0 to 128849018880 [ 1.390290] blkfront: xvdc: barrier: enabled [ 1.390999] xvdc: xvdc1 [ 1.392774] blkfront: xvda: barrier: enabled [ 1.398496] xvda: xvda1 xvda2 xvda3 [ 1.501976] Initialising virtual ethernet driver. [ 1.632590] SCSI subsystem initialized [ 1.633973] emc: device handler registered [ 1.647303] hp_sw: device handler registered [ 1.661022] alua: device handler registered [ 1.674703] rdac: device handler registered [ 1.679211] udev: starting version 147 [ 2.091683] kjournald starting. Commit interval 15 seconds [ 2.092200] EXT3-fs (xvda3): using internal journal [ 2.092209] EXT3-fs (xvda3): mounted filesystem with ordered data mode [ 3.280762] udev: starting version 147 [ 6.348733] Adding 5243900k swap on /dev/xvda1. Priority:-1 extents:1 across:5243900k SS [ 20.361424] EXT3-fs (xvda3): using internal journal [ 20.439430] device-mapper: uevent: version 1.0.3 [ 20.439621] device-mapper: ioctl: 4.23.0-ioctl (2012-07-25) initialised: dm-devel@redhat.com [ 79.512708] loop: module loaded [ 79.567985] kjournald starting. Commit interval 15 seconds [ 79.568352] EXT3-fs (xvda2): using internal journal [ 79.568360] EXT3-fs (xvda2): mounted filesystem with ordered data mode [ 79.585415] kjournald starting. Commit interval 15 seconds [ 79.585692] EXT3-fs (xvdb1): using internal journal [ 79.585697] EXT3-fs (xvdb1): mounted filesystem with ordered data mode [ 79.595297] kjournald starting. Commit interval 15 seconds [ 79.595520] EXT3-fs (xvdc1): using internal journal [ 79.595524] EXT3-fs (xvdc1): mounted filesystem with ordered data mode [ 2230.424822] RPC: Registered named UNIX socket transport module. [ 2230.424829] RPC: Registered udp transport module. [ 2230.424833] RPC: Registered tcp transport module. [ 2230.424835] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2230.488552] FS-Cache: Loaded [ 2230.550993] FS-Cache: Netfs 'nfs' registered for caching ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 11:45:51 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
и в dmesg все хорошо. раз валится pg_dump (а не коннект в базе), значит надо ковырять его. вобщем пока навскидку есть два варианта: первый, запустить pg_dump с опцией -v (возможно что вы его уже пробовали?) второй вариант для мазохистов и искателей приключений, запустить локально pg_dump под strace (ни в коем случае по сети), например так # strace -f -s 2048 -etrace='!gettimeofday,clock_gettime' 2>&1 pg_dump <pg_dump_opts> |tee -a strace.pg_dump.out по сути можно обойтись без tee т.к. самое интересное мы должны увидеть в последних строках. когда pg_dump завалится, приложите сюда 100 последних строк ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 12:10:06 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
daevyпервый, запустить pg_dump с опцией -v (возможно что вы его уже пробовали?) В самом первом посте именно с опцией -v листинг и приведен. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 12:28:47 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
strace -f -s 2048 -etrace='!gettimeofday,clock_gettime' 2>&1 pg_dump -v -b -C -f p03.pg_dump_tar oblbase sendto(3, "Q\0\0\0020SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation FROM pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid = t.oid WHERE a.attrelid = '4162626'::pg_catalog.oid AND a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum\0", 561, MSG_NOSIGNAL, NULL, 0) = 561 poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "T\0\0\1\261\0\17attnum\0\0\0\4\341\0\6\0\0\0\25\0\2\377\377\377\377\0\0attname\0\0\0\4\341\0\2\0\0\0\23\0@\377\377\377\377\0\0atttypmod\0\0\0\4\341\0\t\0\0\0\27\0\4\377\377\377\377\0\0attstattarget\0\0\0\4\341\0\4\0\0\0\27\0\4\377\377\377\377\0\0attstorage\0\0\0\4\341\0\v\0\0\0\22\0\1\377\377\377\377\0\0typstorage\0\0\0\4\337\0\26\0\0\0\22\0\1\377\377\377\377\0\0attnotnull\0\0\0\4\341\0\r\0\0\0\20\0\1\377\377\377\377\0\0atthasdef\0\0\0\4\341\0\16\0\0\0\20\0\1\377\377\377\377\0\0attisdropped\0\0\0\4\341\0\17\0\0\0\20\0\1\377\377\377\377\0\0attlen\0\0\0\4\341\0\5\0\0\0\25\0\2\377\377\377\377\0\0attalign\0\0\0\4\341\0\f\0\0\0\22\0\1\377\377\377\377\0\0attislocal\0\0\0\4\341\0\20\0\0\0\20\0\1\377\377\377\377\0\0atttypname\0\0\0\0\0\0\0\0\0\0\31\377\377\377\377\377\377\0\0attoptions\0\0\0\0\0\0\0\0\0\0\31\377\377\377\377\377\377\0\0attcollation\0\0\0\0\0\0\0\0\0\0\32\0\4\377\377\377\377\0\0D\0\0\0d\0\17\0\0\0\0011\0\0\0\4code\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1t\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010D\0\0\0f\0\17\0\0\0\0012\0\0\0\6islast\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1f\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010D\0\0\0u\0\17\0\0\0\0013\0\0\0\10dateedit\0\0\0\0016\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1f\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\36timestamp(6) without time zone\377\377\377\377\0\0\0\0010D\0\0\0k\0\17\0\0\0\0014\0\0\0\vmodify_time\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1t\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010D\0\0\0s\0\17\0\0\0\0015\0\0\0\23estimateitemrefcode\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1f\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010D\0\0\0m\0\17\0\0\0\0016\0\0\0\rstatusrefcode\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1f\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010D\0\0\0k\0\17\0\0\0\0017\0\0\0\vtyperefcode\0\0\0\2-1\0\0\0\2-1\0\0\0\1p\0\0\0\1p\0\0\0\1f\0\0\0\1f\0\0\0\1f\0\0\0\0018\0\0\0\1d\0\0\0\1t\0\0\0\20double precision\377\377\377\377\0\0\0\0010C\0\0\0\rSELECT 7\0Z\0\0\0\5T", 65536, 0, NULL, NULL) = 1218 write(2, "pg_dump: ", 9pg_dump: ) = 9 write(2, "finding the columns and types of table \"enestimateitemtype\"\n", 60finding the columns and types of table "enestimateitemtype" ) = 60 sendto(3, "Q\0\0\0020SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation FROM pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid = t.oid WHERE a.attrelid = '4162629'::pg_catalog.oid AND a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum\0", 561, MSG_NOSIGNAL, NULL, 0) = 561 poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN}]) recvfrom(3, "E\0\0\0\227S\320\222\320\220\320\226\320\235\320\236\0C57P01\0M\320\267\320\260\320\272\321\200\321\213\321\202\320\270\320\265 \320\277\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\321\217 \320\277\320\276 \320\272\320\276\320\274\320\260\320\275\320\264\320\265 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260\0Fpostgres.c\0L2903\0RProcessInterrupts\0\0", 65536, 0, NULL, NULL) = 152 poll([{fd=3, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=3, revents=POLLIN|POLLERR|POLLHUP}]) recvfrom(3, 0x697ad0, 65536, 0, 0, 0) = -1 ECONNRESET (Connection reset by peer) open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en_US.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en_US.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en_US/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en.UTF-8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en.utf8/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/en/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en/LC_MESSAGES/libpq5-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) close(3) = 0 write(2, "pg_dump: ", 9pg_dump: ) = 9 write(2, "SQL command failed\n", 19SQL command failed ) = 19 write(2, "pg_dump: ", 9pg_dump: ) = 9 write(2, "Error message from server: \320\222\320\220\320\226\320\235\320\236: \320\267\320\260\320\272\321\200\321\213\321\202\320\270\320\265 \320\277\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\321\217 \320\277\320\276 \320\272\320\276\320\274\320\260\320\275\320\264\320\265 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n", 266Error message from server: ВАЖНО: закрытие подключения по команде администратора server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. ) = 266 write(2, "pg_dump: ", 9pg_dump: ) = 9 write(2, "The command was: SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation FROM pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid = t.oid WHERE a.attrelid = '4162629'::pg_catalog.oid AND a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum\n", 573The command was: SELECT a.attnum, a.attname, a.atttypmod, a.attstattarget, a.attstorage, t.typstorage, a.attnotnull, a.atthasdef, a.attisdropped, a.attlen, a.attalign, a.attislocal, pg_catalog.format_type(t.oid,a.atttypmod) AS atttypname, array_to_string(a.attoptions, ', ') AS attoptions, CASE WHEN a.attcollation <> t.typcollation THEN a.attcollation ELSE 0 END AS attcollation FROM pg_catalog.pg_attribute a LEFT JOIN pg_catalog.pg_type t ON a.atttypid = t.oid WHERE a.attrelid = '4162629'::pg_catalog.oid AND a.attnum > 0::pg_catalog.int2 ORDER BY a.attrelid, a.attnum ) = 573 write(2, "pg_dump: ", 9pg_dump: ) = 9 write(2, "*** aborted because of error\n", 29*** aborted because of error ) = 29 exit_group(1) = ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 12:33:34 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
вот тут происходит крах recvfrom(3, "E\0\0\0\227S\320\222\320\220\320\226\320\235\320\236\0C57P01\0M\320\267\320\260\320\272\321\200\321\213\321\202\320\270\320\265 \320\277\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\321\217 \320\277\320\276 \320\272\320\276\320\274\320\260\320\275\320\264\320\265 \320\260\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200\320\260\0Fpostgres.c\0L2903\0RProcessInterrupts\0\0", 65536, 0, NULL, NULL) = 152 смущает ProcessInterrupts. сколько весит полный лог? можете его пожать и отправить мне на почту? перед тем как стали появляться ошибки сожет было обновление софта? может обновили постгрес, системные библиотеки (glibc), ядро? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 12:40:50 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Итак. С месяц назад переехали с виртуализации VMWare ESXi 5.1 на Citrix XenServer 6.2 SP1. За два дня до написания поста обновил PostgreSQL с 9.1.11 на 9.1.12. Ошибки на тот момент уже присутствовали. Кажется, при переезде с одной витуализации на другую также было обновление ПО - обновили SLES11 с SP2 на SP3, и PostgreSQL с 9.1.7 на 9.1.11. На VMWare похожих проблем было 1-2 раза за всю историю эксплуатации, это порядка 3-х лет. С ними не разбирался - передернешь сервер и проблема уходит, а смоделировать ее не получалось. Лог сейчас отправлю. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 12:58:02 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Лог другого процесса pg_dump - тот выводил прямо на консоль, так что не сохранился. Повторю команду: strace -f -s 2048 -etrace='!gettimeofday,clock_gettime' 2>&1 pg_dump -v -b -C -f p03.pg_dump_tar oblbase | tee -a pg_dump.log Письмо с логом ушло. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 13:12:20 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
ага, письмо получил и удивился что данные отличаются, причем во втором случае уже ошибка связанная в broken pipe давайте так, запустите strace pg_dump как и раньше, только добавьте туда опцию -t для фиксации времени и запустите второй strace, но его уже натравите на бэкенд постгреса в котором выполняется дамп, его можно увидеть в таблице процессов, он светится там с командой COPY. команда будет выглядеть примерно так strace -p PID. В обоих случаях у strace опустите флаги "-f" и "-s 4096", -etrace оставьте. также пожмите оба лога и вышлите мне. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 13:43:47 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Команда первая: strace -t -f -s 2048 -etrace='!gettimeofday,clock_gettime' 2>&1 pg_dump -v -b -C -f p03.pg_dump_tar oblbase | tee -a pg_dump.1.log Команда вторая (отставание от первой по времени запуска около 10 секунд, потрачено на выяснение pid): strace -t -f -s 2048 -p 2291 -etrace='!gettimeofday,clock_gettime' 2>&1 | tee -a pg_dump.2.log Логи отправляю. Попытаюсь получить лога аналогичный первому случаю, когда процесс оборвался быстро. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 16:11:56 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
один из системных вызовов (sendto) постгресового процесса во время отправки данных завершается с ERESTARTSYS (To be restarted). После чего получает SIGINT, далее процесс обрывается на следующей порции отправки данных (postgres.c\0L2971\0RProcessInterrupts), дальше интересней 14:05:26 sendto(7, "08+02\nd\0\0\00054162680\t1017186202\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170471\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357 \t1017170472\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170473\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170474\t2014-02-03 11:14:31.290308+02\ nd\0\0\00054162357\t1017170479\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170480\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170477\t2014-02-03 1 1:14:31.290308+02\nd\0\0\00054162357\t1017170478\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170471\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t101717 0473\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170479\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170472\t2014-02-03 11:14:31.290308+02\nd\0\0\0 0054162357\t1017170474\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162357\t1017170480\t2014-02-03 11:14:31.290308+02\nd\0\0\00054162863\t1017036579\t2014-02-03 11:14:31. 290308+02\nd\0\0\00044162885\t240612410\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162885\t240612410\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162863\t240258460\t2014- 02-03 11:14:44.945637+02\nd\0\0\00044162680\t240887079\t2014-02-03 11:14:44.945637+02\nd\0\0\00044163279\t240317820\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162885\t2 40603072\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162885\t240603072\t2014-02-03 11:14:44.945637+02\nd\0\0\00044163498\t240045680\t2014-02-03 11:14:44.945637+02\nd\0\0 \00044163498\t240045680\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162863\t240253127\t2014-02-03 11:14:44.945637+02\nd\0\0\00044162863\t240258460\t2014-02-03 11:14:44.9 45637+02\nd\0\0\00044163279\t502537481\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162601\t507646207\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162363\t501428818\t2014-0 2-03 11:18:14.940654+02\nd\0\0\00044162863\t501543598\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t504833707\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t50 4833708\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t504833709\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t504833710\t2014-02-03 11:18:14.940654+02\nd\0\0\ 00044162357\t504833711\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t504833712\t2014-02-03 11:18:14.940654+02\nd\0\0\00044162357\t504833721\t2014-02-03 11:18:14.94 0654+02\nd\0\0\00044162357"..., 8192, 0, NULL, 0) = ? ERESTARTSYS (To be restarted) 14:05:26 --- SIGINT (Interrupt) @ 0 (0) --- 14:05:26 rt_sigreturn(0x7f360925b430) = 44 sendto(7, "2357\t240796131\t2014-02-03 11:02:58.367707+02\nE\0\0\0\246S\320\236\320\250\320\230\320\221\320\232\320\220\0C57014\0M\320\262\321\213\320\277\320\276\320\273\320\275\320\265\320\275\320\270\320\265 \320\276\320\277\320\265\321\200\320\260\321\202\320\276\321\200\320\260 \320\276\321\202\320\274\320\265\320\275\320\265\320\275\320\276 \320\277\320\276 \320\267\320\260\320\277\321\200\320\276\321\201\321\203 \320\277\320\276\320\273\321\214\320\267\320\276\320\262\320\260\321\202\320\265\320\273\321\217\0Fpostgres.c\0L2971\0RProcessInterrupts\0\0", 212, 0, NULL, 0) = 212 посгрес шлет какую-то последовательность - "Z\0\0\0\5E", а пгдамп в ответ делает нормальный выход - "X\0\0\0\4" т.е. это "\q". 14:05:26 sendto(7, "Z\0\0\0\5E", 6, 0, NULL, 0) = 6 14:05:26 recvfrom(7, "X\0\0\0\4", 8192, 0, NULL, NULL) = 5 ну и дальше мы уже знаем процесс постгреса завершается, пгдамп вываливает ошибку: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя вот что, увеличьте буферы (и сетевые тоже на всякий случай) и повторите попытку sysctl -w net.unix.max_dgram_qlen = 1024 sysct -w net.core.rmem_max=512000 sysct -w net.core.wmem_max=512000 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 17:34:13 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Попробовал. Без перезагрузки с применением параметров через редактирование sysctl.conf и последующим sysctl -p. strace не делал, просто pg_dump. То же самое. strace делать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 17:46:21 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
увы, пока нет вариантов, видно что постгресовому процесу прилетает SIGINT, вот вопрос кто, что и откуда... если несложно, повторите на почту два параллельных strace'а (pg_dump + postgres'овый бэкенд с COPY), c опциями -tt -d может что-то покажет. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2014, 18:42:22 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
strace -tt -d -f -s 2048 -etrace='!gettimeofday,clock_gettime' 2>&1 pg_dump -v -b -C -f p03.pg_dump_tar oblbase | tee -a pg_dump.1.log strace -tt -d -f -s 2048 -p 26699 -etrace='!gettimeofday,clock_gettime' 2>&1 | tee -a pg_dump.2.log Логи отправил. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2014, 12:36:33 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
все то же самое((( скажите, вы говорили что сбивается на разных таблицах, а в логах все время на одной и той же - bucardo.bucardo_delta, попробуйте сдампить её отдельно? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2014, 14:01:40 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Не дампится postgres@p03:/u04/work> pg_dump -v -f b.dmp -t bucardo.bucardo_delta oblbase ... pg_dump: dumping contents of table bucardo_delta pg_dump: SQL command failed pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY bucardo.bucardo_delta (tablename, rowid, txntime) TO stdout; pg_dump: *** aborted because of error Сразу следом: pg_dump -v -f b.dmp oblbase ... pg_dump: restoring data for table "bucardo_delta" pg_dump: dumping contents of table bucardo_delta pg_dump: restoring data for table "bucardo_delta_targets" pg_dump: dumping contents of table bucardo_delta_targets pg_dump: restoring data for table "bucardo_sequences" pg_dump: dumping contents of table bucardo_sequences pg_dump: restoring data for table "bucardo_track" pg_dump: dumping contents of table bucardo_track pg_dump: restoring data for table "bucardo_truncate_trigger" pg_dump: dumping contents of table bucardo_truncate_trigger pg_dump: restoring data for table "bucardo_truncate_trigger_log" pg_dump: dumping contents of table bucardo_truncate_trigger_log pg_dump: restoring data for table "aaa" pg_dump: dumping contents of table aaa pg_dump: restoring data for table "aaa_operost" pg_dump: dumping contents of table aaa_operost pg_dump: restoring data for table "aaa_plan_code" pg_dump: dumping contents of table aaa_plan_code pg_dump: restoring data for table "aaa_rest" pg_dump: dumping contents of table aaa_rest pg_dump: restoring data for table "aaa_tmaterials" pg_dump: dumping contents of table aaa_tmaterials pg_dump: restoring data for table "aaa_umc_rest" pg_dump: dumping contents of table aaa_umc_rest pg_dump: SQL command failed pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY net.aaa_umc_rest (rest_purpose_type_id, party_id, div_code, div_name, nn, mat_name, bal_sch, mu_name, nameostatok, aq, sm, rest_purpose_id, party_date) TO stdout; pg_dump: *** aborted because of error Сразу следом: postgres@p03:/u04/work> pg_dump -v -f b.dmp -t bucardo.bucardo_delta oblbase ... pg_dump: dumping contents of table bucardo_delta pg_dump: SQL command failed pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY bucardo.bucardo_delta (tablename, rowid, txntime) TO stdout; pg_dump: *** aborted because of error И следом (в схеме нет таблицы bucardo_delta) postgres@p03:/u04/work> pg_dump -v -f b.dmp -n net oblbase pg_dump: dumping contents of table endeliverytime pg_dump: SQL command failed pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу пользователя pg_dump: The command was: COPY net.endeliverytime (code, deliverytimeplan, commentgen, domain_info, modify_time, deliverykindcode, humenitemrefcode, deliverytimefact) TO stdout; pg_dump: *** aborted because of error ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2014, 15:39:34 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Наверное я с нуля переставлю ОС и PostgreSQL и залью туда базу. Посмотрим, может дело в каких-то проблемах которые устраняться после таких манипуляций... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2014, 15:41:51 |
|
||
|
pg_dump: Error message from server: ОШИБКА: выполнение оператора отменено по запросу поль
|
|||
|---|---|---|---|
|
#18+
Алексей Филиппов, а у Вас разные сообщения бывают, иногда: Код: plaintext Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2014, 15:53:01 |
|
||
|
|

start [/forum/topic.php?fid=53&msg=38572231&tid=1998816]: |
0ms |
get settings: |
6ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
161ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 197ms |
| total: | 431ms |

| 0 / 0 |
