Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3MYg-0004wn-Vv for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Apr 2018 14:05:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3MYf-00038N-2z for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Apr 2018 14:05:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3LpJ-0000MB-Pv for pgsql-bugs@lists.postgresql.org; Tue, 03 Apr 2018 13:18:17 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f3Lp5-0007i8-85 for pgsql-bugs@lists.postgresql.org; Tue, 03 Apr 2018 13:18:12 +0000 Received: by mail-lf0-x244.google.com with SMTP id q5-v6so20118020lff.12 for ; Tue, 03 Apr 2018 06:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=437LWwBrUb8RHTV4hPbIrv7reRTlupz7t6V1xH6rJog=; b=pAaO9+mfXAq0+n3icNDIMyfM2ONMPaPi9lDyEvxRp/RfKmaYJUx4dzHpIyylc7s/bm 1He/d+9CPeCyuYDh0Ta4qojGc92RcDsGA3pb4KsxG+UZhht0mkcUCc4LX86tfDBJndyW saIZ181ZDnIS68HgpddZ8vr4Ku6gPzdsUIGCk8ANlE6zs+Kv0Bbm0c46yYAD2yu/7c7d ihbIC3S74lvbkVWEiZntr5VdLidWFwBl58j4TzNqA88ulrKK8fDY//NjCvbOpoMBGEa+ iTlKo+jqmhu6rcJZ0Bf9TO6d+xX7DplXUmlVjXHal8IaMR4ivVRmqVHRCEeW7GnUKZYX FYdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=437LWwBrUb8RHTV4hPbIrv7reRTlupz7t6V1xH6rJog=; b=rHvJErcU+JVmJ2IaKGAxZpd+FftO+xWzhzQZIuny6YNUs2Jgf3mpwZaXui8ZX0n3Zg tot8/3Df/KEZNVFdYIYKOLRFPI/pzfdS1XDD96TWOTPBs3AooQlbv+kURqKCOWWHJYSh DX45TY2fRz7QX1HAoWFawGJVYnJwrJKy5MRqS4j/FKY5Fas7YMB/mn1RQVOvZ084aWuo JWLUTUzYCmjQqWMStfzJF92dnKsXoRSZLV0izFjT2vvkSHWpHbj+0ahDQ9STOnj1cKti YPecdNiWsvNDgQZdEEtLbew3vVeqmtGCTazunugm6sMEOh3FpRnJ7XNFpO1zVAHGm2tr BYFw== X-Gm-Message-State: ALQs6tAl/tRE2zz2rKs2jdSDvRdX/G2bgzuuhdT3ldRQ6oPS/HI1+DJ3 NFepzkw9CQO1cZfo/hAFF2/fUVwP X-Google-Smtp-Source: AIpwx4/HFD7GZgVQqUQdb7HbFfFBNFznTcb6JwSL9M5pY0SZa7XqCSrSOqzzJb6FAztPlJzcaceHRQ== X-Received: by 10.46.91.21 with SMTP id p21mr8952212ljb.38.1522761480073; Tue, 03 Apr 2018 06:18:00 -0700 (PDT) Received: from [192.168.0.69] ([91.217.67.2]) by smtp.gmail.com with ESMTPSA id p190-v6sm523339lfp.74.2018.04.03.06.17.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 06:17:59 -0700 (PDT) Subject: Re: BUG #15142: ERROR: MultiXactId nnnnn has not been created yet -- apparent wraparound in v9.5 To: Alvaro Herrera , pgsql-bugs@lists.postgresql.org References: <20180403130245.hhrnj5mhapnjvh7f@alvherre.pgsql> From: molofeev Message-ID: Date: Tue, 3 Apr 2018 16:17:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180403130245.hhrnj5mhapnjvh7f@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thank you for reply. Output of pg_controldata: pg_control version number:            942 Catalog version number:               201510051 Database system identifier:           6520087809676833048 Database cluster state:               in production pg_control last modified:             вт, 03-кві-2018 14:43:46 +0300 Latest checkpoint location:           327/D0544BA0 Prior checkpoint location:            327/D03F3D88 Latest checkpoint's REDO location:    327/D0544BA0 Latest checkpoint's REDO WAL file:    0000000100000327000000D0 Latest checkpoint's TimeLineID:       1 Latest checkpoint's PrevTimeLineID:   1 Latest checkpoint's full_page_writes: on Latest checkpoint's NextXID:          0/1564 Latest checkpoint's NextOID:          10750280 Latest checkpoint's NextMultiXactId:  1 Latest checkpoint's NextMultiOffset:  0 Latest checkpoint's oldestXID:        615 Latest checkpoint's oldestXID's DB:   1 Latest checkpoint's oldestActiveXID:  0 Latest checkpoint's oldestMultiXid:   1 Latest checkpoint's oldestMulti's DB: 1 Latest checkpoint's oldestCommitTsXid:0 Latest checkpoint's newestCommitTsXid:0 Time of latest checkpoint:            вт, 03-кві-2018 14:43:23 +0300 Fake LSN counter for unlogged rels:   0/1 Minimum recovery ending location:     0/0 Min recovery ending loc's timeline:   0 Backup start location:                0/0 Backup end location:                  0/0 End-of-backup record required:        no wal_level setting:                    minimal wal_log_hints setting:                off max_connections setting:              100 max_worker_processes setting:         8 max_prepared_xacts setting:           0 max_locks_per_xact setting:           64 track_commit_timestamp setting:       off Maximum data alignment:               8 Database block size:                  8192 Blocks per segment of large relation: 131072 WAL block size:                       8192 Bytes per WAL segment:                16777216 Maximum length of identifiers:        64 Maximum columns in an index:          32 Maximum size of a TOAST chunk:        1996 Size of a large-object chunk:         2048 Date/time type storage:               64-bit integers Float4 argument passing:              by value Float8 argument passing:              by value Data page checksum version:           0 Output of [select datminmxid from pg_database where datname = current_database();]: datminmxid ------------           1 > PG Bug reporting form wrote: > >> My version of software: PostgreSQL 9.5.12 on x86_64-pc-linux-gnu, compiled >> by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609, 64-bit >> When I run updating a table(table size ~100Gb) I got an error. >> For example, vacuum analyze command output: >> ERROR: MultiXactId 7629921 has not been created yet -- apparent >> wraparound >> Autovacuum is on. > Can you please show the output of pg_controldata in this directory? > Also: > select datminmxid from pg_database where datname = current_database(); > for the database where the error occurred. > > Thanks >