Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtxoD-0007jV-QW for pgsql-performance@arkaria.postgresql.org; Wed, 13 Feb 2019 16:54:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtxoC-0005Vx-J1 for pgsql-performance@arkaria.postgresql.org; Wed, 13 Feb 2019 16:54:52 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtxoC-0005Ts-6k for pgsql-performance@lists.postgresql.org; Wed, 13 Feb 2019 16:54:52 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtxo8-0007Vb-Sq for pgsql-performance@lists.postgresql.org; Wed, 13 Feb 2019 16:54:51 +0000 Received: by mail-qt1-x841.google.com with SMTP id j36so3344443qta.7 for ; Wed, 13 Feb 2019 08:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=n9QPGl53krsB99dsoLRZF0xTVTkJ0BftxjKB2QcLuwo=; b=wKmvRp4Vsn6x/n+Aaj97CHaxoDu5AU2kQ6dURDtamgors2MIlvZmM8Pyolt6BmW//8 OVXgc0yBtqJn6Y9YLO/R3IR5bxkmd9ce95agExNdnEsBN2kfCpCrthsG+jTaJIC7njXX OBd6V28bZnNeMThGKHu+6y9nJiV0UlBeYc/yeuPzbDRgFPgwlcDZhei+KOHbF5aoTcsY iqivYZcue4Yra2FshM8tq9jSz+RLBJlJZ9kHFW8vYD1Ra4UdfmBaWc7Tha4NedxxxqZX 9He+Pl7lHNNRe2FuNvu60Hn8+c4VOYjIbLlkWOW4VI5LnFitOhmofUhAx4kzYgU0a6UA 4AGg== 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:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=n9QPGl53krsB99dsoLRZF0xTVTkJ0BftxjKB2QcLuwo=; b=EWvrouPj9u+6xen070biRogYPm7RyYQQXLlXySbtV+8G9+aXrAwzyygaNS4U7//GPc F+0Itt4VKHcpm4WqlmqsK/GLu/sTnku7YEHfcnq3AvWlo4cZ4CaSwIVryTDDF9uoXIZD XI7lcx3VpORmG4f40cdS2IwJ33Q9vbOAhye7DQtkIF0i5oE19mOhDDrvaFrLhQ5YhN0q iGwE46UKJ26siQgkUoOB59+k9C+g7NO0WYrpV86JhzfU048jO+U2ntfIsU4XfEPqfbV0 49bWEbUt2Q/J1jzta61RMAfUAvoo6W0IryS4rEpbTf+AmYZw/LtZckYOIiD9qh7TRw/W mdCQ== X-Gm-Message-State: AHQUAuZ8pLfKKq4TNvqQB6T974jRIuqkpM3kRl8UBwc830ObUEf6FhUh uOgz1vw6zq1kiLRgmE5+oroj1A== X-Google-Smtp-Source: AHgI3IaYUlIy7asZBs8AMpLWb+47BOg5HdDN5Diea13GJuDIfbAt3Y+Cj5sVrRM4XVlNoy5BM//i+g== X-Received: by 2002:a0c:e751:: with SMTP id g17mr1158310qvn.160.1550076887174; Wed, 13 Feb 2019 08:54:47 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id z63sm17914153qkc.42.2019.02.13.08.54.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 08:54:46 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 1935F12395E; Wed, 13 Feb 2019 13:54:45 -0300 (-03) Date: Wed, 13 Feb 2019 13:54:45 -0300 From: Alvaro Herrera To: Mariel Cherkassky Cc: pgsql-performance@lists.postgresql.org Subject: Re: ERROR: unrecognized parameter "autovacuum_analyze_scale_factor" Message-ID: <20190213165445.GA11775@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Feb-13, Mariel Cherkassky wrote: > To be honest, it isnt my db, but I just have access to it ... Well, I suggest you forget the password then :-) > Either way, so I need to change the vacuum_Analyze_scale/threshold for the > original table ? But the value will be too high/low for the original table. > For example if my original table has 30,000 rows and my toasted has > 100,000,000 rows. I want to analyze every 50K records in the toasted (by > the way, sounds legit ?) which is 0.05% of 100m. With this value it means > that every 0.05*30,000=1500 updated/deletes on the original table it will > run analyze on the original table which is very often... > Doesn't it seems a little bit problematic ? Autovacuum considers main table and toast table separately for vacuuming, so nothing you do to the parameters for the main table will affect the vacuuming schedule of the toast table. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services