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 1iDYxB-0005eS-NM for pgsql-admin@arkaria.postgresql.org; Thu, 26 Sep 2019 18:57:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDYxA-0006RZ-I1 for pgsql-admin@arkaria.postgresql.org; Thu, 26 Sep 2019 18:57:24 +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 1iDYxA-0006RS-5w for pgsql-admin@lists.postgresql.org; Thu, 26 Sep 2019 18:57:24 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDYx7-0001FM-GT for pgsql-admin@lists.postgresql.org; Thu, 26 Sep 2019 18:57:23 +0000 Received: by mail-wr1-x442.google.com with SMTP id i1so7214wro.4 for ; Thu, 26 Sep 2019 11:57:21 -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=dO6p2O/uRA05iW48zmE8qeT9FSpGlYpU+0NULfYPp5c=; b=es3bmT2X2c1oyAiiTtIC2ebBZqjlbrLivv4ADygyLXSs7mCLCQhRmqIJH2dHjTrA3q rn4KyR8wgMVTxrzw1Vbt5CmKePIolp7el5gDUxec6a7g0KlO37NGMx32QU7cX7nEzite ia9FQvTriOZVurKlFbVC8+gwZIHZIOI/2vjJ3yBF0pOFL3ydRHppPsEChwDg1UJQ56wi 61R8mio9KxcrfZCTXUpqXErRB0yUlbyAbAIqJo0SMLs8DDueqBH9UTLfFt+mNU2F5VJO qP6EEmXJhEJSuq6QIoCDRQnY4v9mt8Bqr39k+px9EshoOG5JjpWDKmuxMMShRq0nEAho gYqw== 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=dO6p2O/uRA05iW48zmE8qeT9FSpGlYpU+0NULfYPp5c=; b=Mt+mvB4cMQ4LpFKKEXTJzXRMSIzO8556n+WUS1qAOljplzWJ2+lM02xehH+ODK3kKU AmgY6lqCF7QIAdID3IH2IYP8PJF1yYDlKPHAn5CbfN3UhumHpsDBVTwYa2sLDTVHoqEC vsvJIrn+pJGP7NT3KlHynM6IyC6N12lnEGv6jlL0cwVt1d0/BzWsNqzmUYuk90MY2A/D nrhPdjMIQJ6PK/4T8agT2/mkcDLByLdXvmHNn5EcUis03hNUUrcaRF/t2nFHhXj35Snr B0JpwaXPNfRFcw+CuBM+TxPCCAYA9DkE2BgYkB3WcPTWEJxTx1cj6SVxdjcqiZUpEYMh X0Dg== X-Gm-Message-State: APjAAAUXbpEXC3jlZfiyCX7SGMjk7SQpOgRoqYF1IzEN+p5cvNg8vYKh 01ZA/BOHYFQyaT9XavjZZspOp9vvR/c= X-Google-Smtp-Source: APXvYqy4r6zsoHvmKSs0KTmsPh9VBUzdw9yinA+GJCSJ/HXiCAHpElstQKAd3jQYC57QeurPat0FsA== X-Received: by 2002:a05:6000:2:: with SMTP id h2mr3954960wrx.309.1569524240331; Thu, 26 Sep 2019 11:57:20 -0700 (PDT) Received: from localhost.localdomain (mobiledyn-185-69-244-96.mrsn.at. [185.69.244.96]) by smtp.gmail.com with ESMTPSA id h125sm6003941wmf.31.2019.09.26.11.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 11:57:19 -0700 (PDT) Message-ID: <471e8349b8b0839a108ae28c00adb7c2de42d657.camel@cybertec.at> Subject: Re: Better I/O throughput? (was Re: create tablespace - cannot run inside a transaction block) From: Laurenz Albe To: Ron , pgsql-admin@lists.postgresql.org Date: Thu, 26 Sep 2019 20:57:17 +0200 In-Reply-To: <2a5bed6e-9cc2-9832-0588-8b601e00d5e5@gmail.com> References: <1709062667.8516797.1569423052743.ref@mail.yahoo.com> <1709062667.8516797.1569423052743@mail.yahoo.com> <19fd8930b2fcc8f05737b54c8ec847e486dda687.camel@cybertec.at> <2a5bed6e-9cc2-9832-0588-8b601e00d5e5@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2019-09-25 at 14:40 -0500, Ron wrote: > > No, normally you don't create tablespaces in PostgreSQL. > > They are a few use cases for them, but not many. > > Do I/O requests in the Linux kernel get "backlogged" when they all > hit the > same device? Or would you get better throughput (or less latency) > by > spreading the load across multiple devices? Sure, spreading I/O across multiple devices is one use case for tablespaces. But usually this is easier to do by striping a logical volume across several physical volumes at a lower level. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com