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 1njrAb-000776-Ml for pgsql-sql@arkaria.postgresql.org; Wed, 27 Apr 2022 23:34:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1njrAa-0007Vh-30 for pgsql-sql@arkaria.postgresql.org; Wed, 27 Apr 2022 23:34:04 +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 1njrAZ-0007VX-QC for pgsql-sql@lists.postgresql.org; Wed, 27 Apr 2022 23:34:03 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1njrAX-0007aa-OR for pgsql-sql@lists.postgresql.org; Wed, 27 Apr 2022 23:34:02 +0000 Received: by mail-ed1-x52e.google.com with SMTP id z19so3623877edx.9 for ; Wed, 27 Apr 2022 16:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=UST5/BIAo43PHBi4FALo7Zm7cLdCJh4RQfKyYwA5bgI=; b=g/uqu0/KfGLe/UlnAOC6qPvWtqryPhlY/ewjDuetW8whSnadsVs/shFyC3PHzm7mW3 sLJL7m+yM2IW2uf6FG5m94M11+5V5jO7KIgNs3ZB0HTL38jku8+GCUol1hy6H2CiJsre tXEgoNocV34iErhYyajUR6Ht7GzAZk4k1U0+Xm4+P/wOad4zMPLI+sqQyAlptHVU8dYX 6eEAdcOLrd4Cyi9zfsuNdOZHuvhSZZwWl5V/IhE92meQ3//KDhhI2tPK5i1htdRk5V1e 9PuBWONBj2hHbUu1rpIFFrkqta69PkpTMvNfG3TkCZgJjFSvKv3NJnX9IxCPNJyp3b8W MQ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=UST5/BIAo43PHBi4FALo7Zm7cLdCJh4RQfKyYwA5bgI=; b=2psIiMTIHe+TEZHlqHVsvt5jHojaQO7wxQLx+d6neSyx4rRW3Tmnc8Rbf7TQyQK8PW TeyV2gqt2vgkrvVjt+qnKNAY+2w9Ys+gjb/Zi7cJsaVt8QOD9uzo8OvJYTfZnzCAZQfV sVZHarA3Zpk0ocNVXSm4Aer89rczQOcJKEQ7m+5FTxZzmLSMd6poL6Xtefe1HVZ4Oo1b 9arseOw6VhGAtvf6BzCxJVMQlK+cUe5+7cbwLpqYlxqkgGNn+c1BhOLRvfEfK+zLujGG g2iWLBfKpTPda9a1acbBTTM3UN7p+ee74ip90afaaEm5hcKiNrNMEeXUjRcWw5HjPSlk 3XYA== X-Gm-Message-State: AOAM533IoFmWZup9xbYDmsQILUioOnFNGHn/12gU2LKNS9Zv6B5mEd+B 0JxrxMf+p/aXzbNCn/BthGYqI9aXIA4ZcISbcD1zwZld X-Google-Smtp-Source: ABdhPJxZ1WUKP215j/k1HEFZNQylpLGX5BlVdRG6XMCsaJqdAc3MKtFzLtUwaQBGLVik2Mh3ajoYBOM1rcLl/42lyk0= X-Received: by 2002:aa7:de93:0:b0:418:d700:662a with SMTP id j19-20020aa7de93000000b00418d700662amr32770818edv.107.1651102440486; Wed, 27 Apr 2022 16:34:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shaozhong SHI Date: Thu, 28 Apr 2022 00:33:49 +0100 Message-ID: Subject: parallel-processing multiple similar query tasks - any example? To: pgsql-sql Content-Type: multipart/alternative; boundary="00000000000073f9d405ddab3eb3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000073f9d405ddab3eb3 Content-Type: text/plain; charset="UTF-8" multiple similar query tasks are as follows: select * from a_table where country ='UK' select * from a_table where country='France' and so on How best to parallel-processing such types of multiple similar query tasks? Any example available? Regards, David --00000000000073f9d405ddab3eb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable



multiple similar query tasks are = as follows:

select * from a_table where country =3D'= UK'
select * from a_table where country=3D'France'
and so on

How best to parallel-processing = such types of multiple similar query tasks?

Any ex= ample available?

Regards,

David
--00000000000073f9d405ddab3eb3--