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 1kahkt-00019V-I7 for pgsql-general@arkaria.postgresql.org; Thu, 05 Nov 2020 16:04:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kahks-0005UP-H7 for pgsql-general@arkaria.postgresql.org; Thu, 05 Nov 2020 16:04:54 +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 1kahks-0005UI-6A for pgsql-general@lists.postgresql.org; Thu, 05 Nov 2020 16:04:54 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kahkq-0007PL-45 for pgsql-general@lists.postgresql.org; Thu, 05 Nov 2020 16:04:53 +0000 Received: by mail-oi1-x233.google.com with SMTP id t16so2150213oie.11 for ; Thu, 05 Nov 2020 08:04:51 -0800 (PST) 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-language; bh=gXVXE7dz78ZFocC4YKy9/BQC5i2kNJbdupmBu80SOX0=; b=cLjecgnaC2YeviJBKo/7r3xJLds7zEWKjbg1Wf8w1Wd1cRIw4k29l6YjQ8Q8QXzHPc K+RFZCEFx9zcK/1XPKEUp0hXCaI9kKZei7Qy/LICeHJ14uDC7gqCnuWyOXVScBBwVUoK HNlqKORonPQwR9AIVzNjiX066VbINXD5nLPfhEbNaKg/tBqX8kIYjWD6AaR22wZGiAaG I8LNGNRAa1K1PIa8530M+bX9B9/Z5js5FB725vVuaYMM5hMpULCfH+cFzSP6M+UoPM2Y CTcCjD16lEONB//XXwpEphcvdJSqh0bCVN90SP35FzcW2fHn4uovZ6asH0fMRtAyado6 vDnQ== 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-language; bh=gXVXE7dz78ZFocC4YKy9/BQC5i2kNJbdupmBu80SOX0=; b=JQf6A270YdMaH82PHtz3CWZ+vTFqPOMiMqz0S/U/vo/NNPvPKtOLA/kckK13Ic8TIU LTHzfPUh1ZbcVoFv/zLVgi2WjH/fha4EGIhW2Ubby8yAMdXlVISp7eMyprV86sAlTg5o cb5AV+Xzd3Zf4DjxC1XLEO7dyzfCdL8a7CAK9CVCzkbvhahfHGKGbvdjHXmIUFDzBdps d+QCS1XUz64GjuwyeW8JHpDyuMyKLXvsNBcr+kQuMEfOhTAzDzogea1ttCIwrKcI6Qbn aWr/f2GwJ/JNMBMN6NCFLoPvUJsmy/09zHMfNLa4xUWLm01etk8cubdf1mAbwi/UEiun urlw== X-Gm-Message-State: AOAM530RG+BMbB/eSKsefty9ynYHwjHmTWCwYZm7AvjZBl/enzm7jdrx I+E5oUqGssUJv1Uem6EM639YswKRUkUV5g== X-Google-Smtp-Source: ABdhPJyo1WLM5Ul2RdxotemUde93rFAI1JDZGP4lipGxv+rrpOdlhmI7ZJaFklT3YQ3we7weERNh0w== X-Received: by 2002:aca:cf0c:: with SMTP id f12mr37917oig.139.1604592289228; Thu, 05 Nov 2020 08:04:49 -0800 (PST) Received: from [192.168.1.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id e3sm425609ooq.0.2020.11.05.08.04.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Nov 2020 08:04:48 -0800 (PST) Subject: Re: precautions/prerequisites to take for specific table To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <49af972e-b140-2913-8723-01b20e1e20b6@gmail.com> Date: Thu, 5 Nov 2020 10:04:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------C8064CA76C7C280B5CED5628" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C8064CA76C7C280B5CED5628 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 11/5/20 7:49 AM, Vasu Madhineni wrote: > Hi All, > > In my organisation a newly built project application team requirement on > tables like have a column (text type), with size can reach around 3 MB, > and 45 million records annually. > > Are there any specific precautions/prerequisites we have to take from DBA > end to handle this type of table. Think about partitioning it by date.   Indexes will be smaller, and archiving become trivial. -- Angular momentum makes the world go 'round. --------------C8064CA76C7C280B5CED5628 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 11/5/20 7:49 AM, Vasu Madhineni wrote:
Hi All,

In my organisation a newly built project application team requirement on tables like have a column (text type), with size can reach around 3 MB, and 45 million records annually. 

Are there any specific precautions/prerequisites we have to take from DBA end to handle this type of table.

Think about partitioning it by date.   Indexes will be smaller, and archiving become trivial.

--
Angular momentum makes the world go 'round.
--------------C8064CA76C7C280B5CED5628--