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 1i8naP-0004wn-5y for pgsql-general@arkaria.postgresql.org; Fri, 13 Sep 2019 15:34:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i8naO-0007oP-0c for pgsql-general@arkaria.postgresql.org; Fri, 13 Sep 2019 15:34:12 +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 1i8naN-0007oG-NG for pgsql-general@lists.postgresql.org; Fri, 13 Sep 2019 15:34:11 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i8naL-0004G8-JR for pgsql-general@lists.postgresql.org; Fri, 13 Sep 2019 15:34:11 +0000 Received: by mail-wr1-x42d.google.com with SMTP id g7so32622200wrx.2 for ; Fri, 13 Sep 2019 08:34:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :to; bh=UCq503QaQSLjXHnog6z1DIAni5IZO8usRGXAatrN65s=; b=mld6XDpxhYX5Xf+T2CRvsH0jPmghEeMePe6thJJxfVmmvE0a+RJL6yLKuljhKj7IM2 fo5nlx1nIOm32mVc8ctoFDqAHogRjZV5P7kSTWvDigdw4POQ/TgUV9+YuF8ehinfH3le vPTbx14Wz69ZbXRIMQym90ZBMAHgBrQFoHvxpXVXRYWwpqm7gCjudw9UaJTaYyKfpawU jqxXVo2xd5dqt4JmHEYx8lThQRLy3NMfzh5jC871fSpGzVShcy7GjhHRv7ZNsqTZLPa2 wOhTbscPt/OOyqOxAo6EAsRT35oFZ39U8XUj+GWcYHE0nlGt43eZC1/A9p/4JVrVUQ2O 3PsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:to; bh=UCq503QaQSLjXHnog6z1DIAni5IZO8usRGXAatrN65s=; b=pPJi87wMMZxKG7Gf7nnrdQ4J+k7V4gctsl5M+twPJCDH2C+kJ8rqRwjb58ihKoG0g6 /XR21sfqsa1wqQyXkH6aXhSzyZBfF3xb01oOrtVAiC1UIKlgxHm4ETcoctQIrwmXFTh9 DjxQahUo0A97KxSjwqWhggJPTZMh9QZsYQO9rnyKXk2oUsY1B92zytKHw14iL9pQAOxu iL/SpV3KNrmw90/udM0W/391PaC6K7LQvukTG7/MOPbabGf0HKHBWkhU6hDR4LckOZjI tWzphh4NKDZrv3GiK/EkUs4OyJaaLYOUZi3Hg+gXBVW1LR1hR3GSblWrAzxmxDlkgzGs O2tA== X-Gm-Message-State: APjAAAXfvNd10aNu5IYEOGsLi5DVp5DVF5tVSMDvEJ8v3W2qujsW4lu+ RAte2kEhreHDWaRNxPp86Dn7kf1qH5w= X-Google-Smtp-Source: APXvYqxVGmQMkbrLF5OCCy1e4Ah9Wgyhrh74JdTM/6cT/POE3aPkUSDkzLMmja+xYcynRU6qYd9m1w== X-Received: by 2002:a5d:4742:: with SMTP id o2mr39438837wrs.253.1568388848363; Fri, 13 Sep 2019 08:34:08 -0700 (PDT) Received: from [10.47.228.68] ([151.135.100.131]) by smtp.gmail.com with ESMTPSA id t13sm52073114wra.70.2019.09.13.08.34.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Sep 2019 08:34:07 -0700 (PDT) From: =?utf-8?Q?Ertan_K=C3=BC=C3=A7=C3=BCkoglu?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Fri, 13 Sep 2019 18:34:06 +0300 Subject: No primary key table Message-Id: <901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com> To: pgsql-general@lists.postgresql.org X-Mailer: iPhone Mail (16G102) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, We are using PostgreSQL 10.0 on a Windows VM. There is one database in that server. There are several tables that will be used for data warehouse purposes. There are daily inserts and relatively heavy bulk (whole month data at once)= reads at end of months. Reads will be from several hundred clients and will= be over internet and no local network connection. Daily data saving application check for duplicate entries of a single record= using an sql before each insert. That is only select statement during in mo= nth days. End of the month queries will be selecting bulk data from previous month rec= ords and will filter on GUID field and a varchar(25) field. There is one primary key of a bigint identity column on each table. Primary k= ey won't be used for any purpose for any queries. We wonder if it maybe a suggested to remove primary key index and column. Th= ere is no unique key index on these tables otherwise. Thanks & regards, Ertan K=C3=BC=C3=A7=C3=BCko=C4=9Flu Sent from my iPhone=