From: | dinesh kumar <dineshkumar02(at)gmail(dot)com> |
---|---|
To: | M Tarkeshwar Rao <m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Query regarding |
Date: | 2015-11-04 13:00:03 |
Message-ID: | CALnrH7ooDUwVzZe4HHX41ZyQzmv+JuUQiJHFJVjepWESW1Er6w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
On Wed, Nov 4, 2015 at 1:21 AM, M Tarkeshwar Rao <
m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com> wrote:
> Hi all,
>
> We have started to convert some oracle sql scripts and converting them to
> postgres, but facing some issues to create table.
>
> I have some common doubts in create table script ie.
>
> ALTER TABLE employee
> DROP PRIMARY KEY CASCADE;
>
> DROP employee CASCADE CONSTRAINTS;
>
> *CREATE TABLE *employee
> *(*
> * LABEL**_IMP** VARCHAR2(50 BYTE)*
> *)*
> *TABLESPACE DATA**_TB*
> *PCTUSED 0*
> *PCTFREE 10*
>
We need to use FILLFACTOR, which is an opposite setting of PCTFREE.
*INITRANS 1*
> *MAXTRANS 255*
> *STORAGE (*
> * INITIAL 5M*
> * NEXT 5M*
> * MINEXTENTS 1*
> * MAXEXTENTS UNLIMITED*
> * PCTINCREASE 0*
> * BUFFER_POOL DEFAULT*
> * )*
> *LOGGING*
>
Default is LOGGED. We can specify UNLOGGED if we do not want to log trx
into WAL.
> *NOCOMPRESS*
>
Postgres supports column level storage support.
SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
*NOCACHE*
>
> *NOPARALLEL*
> *MONITORING;*
>
>
> I am trying to find replacement for above keywords highlighted in BOLD in
> postgres, but unable to find it on google.
> Could you please let us know if these parameter are managed internally in
> postgres or what are the alternative.
>
> Regards,
> Tarkeshwar
>
>
--
Regards,
Dinesh
manojadinesh.blogspot.com
From | Date | Subject | |
---|---|---|---|
Next Message | Jiří Hlinka | 2015-11-04 13:16:03 | Re: Deadlock detected after pg_repack receives SIGINT |
Previous Message | Thomas Kellerer | 2015-11-04 11:13:35 | Re: Query regarding |