Re: [PERFORM] help required in design of database

2006-02-13 Thread Markus Schaber
Hi, David, david drummard wrote: > 1) create a new table every time a new feed file comes in. Create table > with indexes. Use the copy command to dump the data into the table. Its faster to obey the following order: - Create the table - COPY the data into the table - Create the indices - ANALY

Re: [PERFORM] help required in design of database

2006-02-10 Thread Steinar H. Gunderson
On Fri, Feb 10, 2006 at 12:20:34PM -0800, david drummard wrote: > 1) create a new table every time a new feed file comes in. Create table with > indexes. Use the copy command to dump the data into the table. > 2) rename the current table to some old table name and rename the new table > to current

[PERFORM] help required in design of database

2006-02-10 Thread david drummard
Hi, I have an unique requirement. I have a feed of 2.5 - 3 million rows of data which arrives every 1/2 an hour. Each row has 2 small string values  (about 50 chars each) and 10 int values. I need searcheability and running arbitrary queries on any of these values. This means i have to create an i