pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Apitz <guru@unixarea.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Is data import from Oracle table to Postgres table in Ora2pg consecutive or random?
Date: Tue, 12 Sep 2023 14:26:23 +0200
Message-ID: <ZQBY77SKarCfnhFM@pureos> (raw)
In-Reply-To: <20230912121919.zo74rbdhflpgp2eq@hjp.at>
References: <CAM2ukh+iP-bFOm=5YpZQka9uyZ6JHtmnYojPCvCD1Vavv5_kaA@mail.gmail.com>
	<20230912121919.zo74rbdhflpgp2eq@hjp.at>

El día martes, septiembre 12, 2023 a las 02:19:19 +0200, Peter J. Holzer escribió:

> > - Or can we add additional parameters to the ora2pg.conf file to control this
> > process and ensure that the data is imported sequentially, following the
> > primary key from smallest to largest?

AFAIK, a simple SELECT in PostgreSQL without an ORDER BY will return the rows
in random order.

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub





view thread (6+ messages)  latest in thread

Message-ID: <ZQBY77SKarCfnhFM@pureos>
Permalink:  ../ZQBY77SKarCfnhFM@pureos/
Also on:    postgresql.org/message-id/ZQBY77SKarCfnhFM@pureos

 · 

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: guru@unixarea.de
  Subject: Re: Is data import from Oracle table to Postgres table in Ora2pg consecutive or random?
  In-Reply-To: <ZQBY77SKarCfnhFM@pureos>
  References: <CAM2ukh+iP-bFOm=5YpZQka9uyZ6JHtmnYojPCvCD1Vavv5_kaA@mail.gmail.com> <20230912121919.zo74rbdhflpgp2eq@hjp.at> <ZQBY77SKarCfnhFM@pureos>

* 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