From: Jack Zhu <jzhu@netcom-sys.com>
To: pgsql-admin@postgresql.org
Subject: Emergency questions for new bie
Date: Wed, 12 Apr 2000 16:29:19 -0400
Message-ID: <38F4DC9E.54DC2808@netcom-sys.com> (raw)
Hi,
I'm an Oracle DBA, lately I began a project work on PostgreSQL 6.5.3
for Red Hat Linux 6.0.
Every thing is fine, except:
1.How can I enable PG run as 'no-fsync' mode to improve performance? How
can I check PG is in 'fsync' mode or not?
2. We have a table contain a column which use 'timestamp' data type.
'cause we need both date and time in this column, and don't want to
break it into two columns with 'date' and 'time' data type(if so, we may
have to change thousands of lines code, it origrinally works on Oracle).
But when I tried to create an index on this 'timestamp' column, I got
this error and creating failed: 'Cannot find a default operator class
for type 1296.'
I use this SQL command to create index: create index ind_name on
tab_name(col_name);
Can't I create index on 'timestamp' column? Right now since there's no
index on this column, our app runs very very slow!
THanks a lot!
Jack
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-admin@postgresql.org
Cc: jzhu@netcom-sys.com
Subject: Re: Emergency questions for new bie
In-Reply-To: <38F4DC9E.54DC2808@netcom-sys.com>
References: <38F4DC9E.54DC2808@netcom-sys.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