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 1p2Q3S-0007vn-GI for pgsql-admin@arkaria.postgresql.org; Tue, 06 Dec 2022 04:59:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2Q3R-0000GZ-1R for pgsql-admin@arkaria.postgresql.org; Tue, 06 Dec 2022 04:59:41 +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 1p2Q3Q-0000GP-Nk for pgsql-admin@lists.postgresql.org; Tue, 06 Dec 2022 04:59:40 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p2Q3O-0003w9-B0 for pgsql-admin@lists.postgresql.org; Tue, 06 Dec 2022 04:59:40 +0000 Received: by mail-qk1-x72a.google.com with SMTP id j26so6704793qki.10 for ; Mon, 05 Dec 2022 20:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=8nY9w//kUVIhNrOr87TQ/5KwGy4RT0uc+e7kx9bbFFs=; b=kJREOD3MhV1DwxCcT3VXqR0aZizet4Ap1/LXInFKubMMsU3RuoHzJaCQyC64vTVoHt 3PDi9+CmlvbQrwDqfuu70XfnFXixC7qARg/KLR9sWZgheTzTt5qAWJPsrW+La2LU2XJS 6bBqJYYLUKV2jT+L1eRTj5SC9nuoNMG2S42r9GMZow1pFQYYIGIh1Q7IIAbiWowQ1/WT ARGGiRIqO+Ti2dg9fgXKpA8XiwIDz0niKn80y8n9H1AKQxoMKa+fMY21j66rEa/Bl9/U EDEkQdbfboZAMpZmj4jp3tsCB53Ef6lZEk+e+OuUNmclsIfqyKi6LZiMj1lP8DbFcubt KCOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=8nY9w//kUVIhNrOr87TQ/5KwGy4RT0uc+e7kx9bbFFs=; b=OI9YOBzzJXGodsbcTFtrLsAC05nF7AtjpSxMiKvwAAl2aKYwg3RtDsFjNJe6aeYXr3 2v8+QUUH84GcusJb3QT4Q3o5C/Fc8NWfnYM+sjFbopo3TE3pk+lHjIILaaZKghdm2L18 UwIuRLJrwI/nb9DWOa9lr4X52+fye601tKKePwpuHWoLAHUuSlQ12RiNJnFNLz7nZ0AV k7NQ3lOBCRYeZmS8RLy/Rfy7RSjexQJ5u5UfJdlduCVG00B6omQxgl3SNCiwVkwUhgMk wAzl7rl6xUzYiEmVx4DNj80lfjQHes0utREZe4FgdMPXwDbvXJ1c11BgKKYNEKlnJpgH +oHw== X-Gm-Message-State: ANoB5pkUeWhQP6vVuu8s4yWUBTPEToHx/qOV0zuIpqaam+jmDKlJOcq3 tPsO5jYRT2D1vdIa4+znTmWycPJsOzS8zQ== X-Google-Smtp-Source: AA0mqf5bpkMv7K/ML8I1zrdFJIp5B9u4281deUE9XPu77b+TbDQ1rws0k1DMmS8bOADSMNF6tZ8W+w== X-Received: by 2002:a05:620a:747:b0:6ee:c0c5:a70b with SMTP id i7-20020a05620a074700b006eec0c5a70bmr73814950qki.592.1670302776214; Mon, 05 Dec 2022 20:59:36 -0800 (PST) Received: from [192.168.2.100] (pool-72-79-30-4.nwrknj.east.verizon.net. [72.79.30.4]) by smtp.gmail.com with ESMTPSA id c4-20020a05620a268400b006ec62032d3dsm14097259qkp.30.2022.12.05.20.59.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Dec 2022 20:59:35 -0800 (PST) Content-Type: multipart/alternative; boundary="------------yBQWAe50UdnccJvm5Wat7KLe" Message-ID: <3b9b7eed-b9cd-a796-977b-5ebeff88ec5c@gmail.com> Date: Mon, 5 Dec 2022 23:59:35 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: need suggestion on querying big tables To: pgsql-admin@lists.postgresql.org References: <8c748c20-84bd-ed7b-c10f-35d640c6994b@gmail.com> Content-Language: en-US From: Mladen Gogala In-Reply-To: <8c748c20-84bd-ed7b-c10f-35d640c6994b@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------yBQWAe50UdnccJvm5Wat7KLe Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/5/22 09:45, Ron wrote: > A "just smart enough" user could perform an inadvertent Denial of > Service attack on the database by cranking his session work_mem really > high, no? Well, some of the applications that I've seen during my career could qualify as Denial of Service suicide attack. -- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com --------------yBQWAe50UdnccJvm5Wat7KLe Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 12/5/22 09:45, Ron wrote:
A "just smart enough" user could perform an inadvertent Denial of Service attack on the database by cranking his session work_mem really high, no?

Well, some of the applications that I've seen during my career could qualify as Denial of Service suicide attack.

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com
--------------yBQWAe50UdnccJvm5Wat7KLe--