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 1lqE0C-00048W-LF for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 12:05:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqE0B-0000kY-Hb for pgsql-general@arkaria.postgresql.org; Mon, 07 Jun 2021 12:05:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqE0B-0000kQ-5k for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 12:05:07 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lqE04-00082f-Tn for pgsql-general@lists.postgresql.org; Mon, 07 Jun 2021 12:05:06 +0000 Received: by mail-wr1-x42d.google.com with SMTP id a11so15432928wrt.13 for ; Mon, 07 Jun 2021 05:05:00 -0700 (PDT) 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=CxhWjgXd3AGc7258EuCBHDb4d8PnNpwNNZ7sGr6uFGo=; b=j3CM/stPUY/gNHx1g62wGkwBuyXeEiBNeBUUjPsIUF0mtnOmNIc6chJfXMM6ll/eDt svbfZDgFII2QAh/kcvlfzT8+nc79Oy6urHBlEjGtr0NoV+QEoBR8TgwVr+9RPjkj2fXG eTVuFM57YSta6lMaoyTK7KjCkaZOHByRWmQzFSWhrhNz4j5rO2kx7fNCqgI96aIrHXGr 842VWzO2GEP1+9s6yFfjSzUI993cSrXlJTWNvnpz9B0+WY40wzzEBDQZXqij/7b00ASi xpqzcgk3HcXs9/ay2AzFUh5i86PYWY2SrMBvlyBsSg4BujG1tPP7ZXBNstc6nJ3x6ruI RppA== 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=CxhWjgXd3AGc7258EuCBHDb4d8PnNpwNNZ7sGr6uFGo=; b=fSWeCEb/WrF8v2lRU6Ma3DDdEfGZJzfqjbsdYu1dLEIKhnZCC6xJYeBYr/aKLyQFSo NbVG8yENJ2qm8PFiCXDjUlCepBIWGJdgaRzrwL5gMpj92StYtoNNtQkcbA36A/pgIXBU H8lxdLEfErx+foqbfzJbbrrY3BBjcMc6d7DErgzRsCjI+wVKoq5hLdwfjYsPPXZ9Keqn R8d4xc/QzDBiVUfHUtFEC9ETIf64QsfkpYwb/CDnnRgEvk/Tfe8b3dBNUcuiOmN7SASQ gslmeEuI1aBEcnbmBrDM53VcadDjUtnjPhVJygGJg3fg/PaQ+aWpPjIa/yJ8wGjCrIHN GZFA== X-Gm-Message-State: AOAM530b65L2Xxmrd4HQSd8pcSNYlGnlcd4gV6Zn1H+lJ84+48YIN5+G 2Ow2d2QkpQJkkPLvxSlF03GSvg== X-Google-Smtp-Source: ABdhPJwdu6oqt30s1mwC+dhPs3x21l+dhzRq75Zo3nA76vIerXIzzAWnlEk/QLVb1dWmSL9P955LZQ== X-Received: by 2002:a05:6000:186a:: with SMTP id d10mr17298328wri.41.1623067498923; Mon, 07 Jun 2021 05:04:58 -0700 (PDT) Received: from localhost.localdomain (217-149-172-244.nat.highway.telekom.at. [217.149.172.244]) by smtp.gmail.com with ESMTPSA id b8sm13826285wmd.35.2021.06.07.05.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 05:04:58 -0700 (PDT) Message-ID: <1134292be1b2c9e33e6bd6dd0c0fd53a565403ce.camel@cybertec.at> Subject: Re: base directory size getting increased From: Laurenz Albe To: Atul Kumar , pgsql-general Date: Mon, 07 Jun 2021 14:04:57 +0200 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: Archived-At: Precedence: bulk On Mon, 2021-06-07 at 16:11 +0530, Atul Kumar wrote: > I have a query from which I am trying to export the data into a csv > file(around 10 lakhs record) but when I am doing so the base sub > directory size of data directory is getting increased. > > can someone help me in telling 'why base sub directory size is getting > increased'? > > my postgres version is 9.6. Based on the little information you gave us, it could be one of - temporary files that get created by the query - you export the data into the data directory Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com