pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ertan Küçükoglu <ertan.kucukoglu@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: No primary key table
Date: Fri, 13 Sep 2019 18:34:06 +0300
Message-ID: <901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com> (raw)

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 month days.

End of the month queries will be selecting bulk data from previous month records 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 key won't be used for any purpose for any queries.

We wonder if it maybe a suggested to remove primary key index and column. There is no unique key index on these tables otherwise.

Thanks & regards,
Ertan Küçükoğlu

Sent from my iPhone




view thread (3+ messages)  latest in thread

Message-ID: <901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com>
Permalink:  ../901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com/
Also on:    postgresql.org/message-id/901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ertan.kucukoglu@gmail.com
  Subject: Re: No primary key table
  In-Reply-To: <901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com>
  References: <901B71E4-A06F-448B-A8B4-056558EBDAF5@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox