Emergency questions for new bie

From: Jack Zhu <jzhu(at)netcom-sys(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Emergency questions for new bie
Date: 2000-04-12 20:29:19
Message-ID: 38F4DC9E.54DC2808@netcom-sys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2000-04-13 02:05:06 Re: Emergency questions for new bie
Previous Message The Hermit Hacker 2000-04-12 15:49:54 Re: Need some shmget advice