Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5ZBs-0000Xa-GS for pgsql-general@arkaria.postgresql.org; Fri, 29 Jan 2021 19:12:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l5ZBr-00030A-AW for pgsql-general@arkaria.postgresql.org; Fri, 29 Jan 2021 19:12:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5ZBq-000303-Ux for pgsql-general@lists.postgresql.org; Fri, 29 Jan 2021 19:12:19 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l5ZBm-0008Cd-NJ for pgsql-general@postgresql.org; Fri, 29 Jan 2021 19:12:17 +0000 Received: by mail-wr1-x433.google.com with SMTP id c4so7208984wru.9 for ; Fri, 29 Jan 2021 11:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Dp66FJpE24k5gn5QR0HwYqfOI5Hcif32KOwII0h8hg0=; b=nE7o4s0aAxAWb0OgIkROHdb+VfsSTwc/ZOryV8BMcdvlqeopB39CF6bAwDsQTAgzwA oscKHP4tQiJ+Cf5NhTD1fl60zzOpuxqU2URhtFWq3Bzf+AM1dtgPbEPHA7t8fbDG+FhF G8ZS8juXsXmklO8BJ3x0F3vRpr/eOAb6W7bPI6O0L786RHXWTnUxLpXHDccyEIkcm4AA wOqvHS/HtuwSG9CUc1bFCNAOsW5N39nlO3IgyQtqvd3FaxubJj9o8SMLLdiHVKDqLo6o HJLuD+i5g6jZgq+GWsZmikfd25xZDFPbfZx7GHRVr3vTfbioyTxMSwuqBDq1JU7uQ5L0 qpsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Dp66FJpE24k5gn5QR0HwYqfOI5Hcif32KOwII0h8hg0=; b=B0K7GwZ/58uK3Dz9HcmijE0im9ThLUns5vC+5gk0YaMhpP6Vx/h7cNc75fzkp8We/M 4vVdqOry2W4BXd781NRfwTWZgE6/44cMiEdfCW4z63YbXTm38qBOOzpL28CeT9aBWzeP sHIG7XW/BM1jx87mSNS8+luAKlthCE53er1BYvjrAuHvcHF9lF6ksgMEAferMmjo9LKm upqZHhAJkMGtY190BiTTtG0l2WHlMye0NOoJrfkPece7ZlO9QP8IdGpPKwm5QDwAiPG1 TovPD+lvZMNZEHcVRSxIGVZ5IfcY3EiFCOfpPLuochm0TIXBVSt/eNMG8/ixeTm3R371 0s0Q== X-Gm-Message-State: AOAM533/YnBYzE8b4WPO+YVlI5gVFKEGhnLvh3a4bhYLycsz5xB61mLp bv9P373u/4Wh7Atekr/UC8RCnw== X-Google-Smtp-Source: ABdhPJymrJWYlc5vasXjc6Mkb3yXU6B1ah3brUk1xnEqEzcEFotlDdpX/gUscWw3dqukN6VABwx2yQ== X-Received: by 2002:a5d:51c8:: with SMTP id n8mr6352300wrv.18.1611947532265; Fri, 29 Jan 2021 11:12:12 -0800 (PST) Received: from localhost.localdomain (91-115-146-146.adsl.highway.telekom.at. [91.115.146.146]) by smtp.gmail.com with ESMTPSA id x25sm11262243wmk.20.2021.01.29.11.12.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 11:12:11 -0800 (PST) Message-ID: <68f1b81a26a8ca96f1b64c673d4dfd6d903af5f6.camel@cybertec.at> Subject: Re: AW: running vacuumlo periodically From: Laurenz Albe To: "Zwettler Markus (OIZ)" , "pgsql-general@postgresql.org" Date: Fri, 29 Jan 2021 20:12:10 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, 2021-01-29 at 15:44 +0000, Zwettler Markus (OIZ) wrote: > I run "vacuumlo" in batches (-l) which worked well. > > I found table "pg_catalog.pg_largeobjects" to be massively bloated afterwards. Sure, that deletes entries from that table. > I tried "vacuum full pg_catalog.pg_largeobjects" but run out of diskspace (although having 250G diskspace free; database size = 400G). > > Question: > Will "vacuum full pg_catalog.pg_largeobjects" need less diskspace when "maintenance_work_mem" is increased? No, it won't. It will just be faster. That sounds like your database consists almost exclusively of large objects... Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com