Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fEF0N-0001QO-JS for pgsql-general@arkaria.postgresql.org; Thu, 03 May 2018 14:14:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fEF0L-0005en-Tn for pgsql-general@arkaria.postgresql.org; Thu, 03 May 2018 14:14:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fEF0L-0005ed-Gl for pgsql-general@lists.postgresql.org; Thu, 03 May 2018 14:14:41 +0000 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fEF0E-0003qT-B4 for pgsql-general@postgresql.org; Thu, 03 May 2018 14:14:41 +0000 Received: by mail-it0-x230.google.com with SMTP id 70-v6so15551245ity.2 for ; Thu, 03 May 2018 07:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=5w17h5JACPCkNYzZ8iDPQYSGcjsq7oLrVT0GvDVNVAU=; b=j/6nWKXSGcOkv9DFIZaKBbqQ9itoYyjx7NQVxJfVe+GDQkLYdRC/PyKrVG2Rrc2lHw etOYxF5DkYqdcNt42P7TbwUX8dtXXS/YK7qxy7x99xysn6yJN/SopUSLEOTkY7Ftc7U3 jEvU3lIxrPjn+gVQtcm7ghXEZebUSMsmYY7BSWu31c0tcK5As8OxhFfRbWfffW2B92Ao dZVfnozCH6Z6BgsD6wsfEH9OAMPSkMTHGzA/3BrnAOEOrnHD7hwxvZhz9R1LTrLq3GfZ eXYI9D5TL3NkpHNLpmbnp0pb/k55apKszW83V6Qd+5x8Umg27Z7Sts19UI7f0h0S4Oax hRQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=5w17h5JACPCkNYzZ8iDPQYSGcjsq7oLrVT0GvDVNVAU=; b=nGzV8hy2ATg1iVfRMfckVfHVNEtTCEuaxY3iOvcomej2Wc876niAQdrOLajLfP6oUp gRYpJsQ3+dYjwyFHnJD8ayag04j1GiZd+ZgE0n6QLu8S6yqkB8lPX2x3Xk8A5qkFS8Ux oxbi/vgeNgV7aTC3p+iBFbBUu7jdibp5nGMvU2xzNQg5A0emcy8UqpPnZD9ysl7Nj9QZ E69ucFI42FfW+MPM8nDU0L6BrfJlxlR1OpsJlKAkersNFO9wkjt4hIQm7Y0G6hxhhHfV N8IKjwPU8/Vz76xMPqtHHvLoMb2tCfw4mBvmNFrGmUIk9vCHVVd5to/0+f8Ctp9GkiM5 Uh3Q== X-Gm-Message-State: ALQs6tAUm6J/W6Gab7KvZzqDJAWALAGkr/G8KLmbflAvQDkh6qtbTTCT RdwyOhhpnxzwVXAlmWk8Hrl/g9efHDY= X-Google-Smtp-Source: AB8JxZrRHvZI7g/Vas7ay7FC/0rdMbznYEVK51hOLrj6icV8fciEAgbwfupL4CFHApNpiGzpdEJLyQ== X-Received: by 2002:a24:694b:: with SMTP id e72-v6mr25565125itc.38.1525356872151; Thu, 03 May 2018 07:14:32 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id o137-v6sm5524314ioe.3.2018.05.03.07.14.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 07:14:31 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id A013F800E1C; Thu, 3 May 2018 09:14:30 -0500 (CDT) Date: Thu, 3 May 2018 09:14:30 -0500 From: Justin Pryzby To: pgsql-general@postgresql.org Subject: relkind='p' has no pg_stat_user_tables Message-ID: <20180503141430.GA28019@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I (finally) realized that my script for ANALYZEing parents of table hierarchies every month or so was looping around the same parent tables every night due to no stats for date of last last analysis. I guess that's deliberate/known and maybe related to relkind='p' having no relfilenode. Is there any good workaround other than making stampfiles or making my own "last analyzed" table? Thanks, Justin