|
|
Sponsor |
full table...: msg#00126db.postgresql.novice
I have a table that stores a HUGE volume of data every day. I am now running into a problem where when I try to insert data, the remote connection times out because it takes to long... (1 minute) The solution I was going to try, is to break up the table it to one per upload site. (tablename_siteid) as the table name. This could result in there being posably 1000 or more tables in about a years time. Can this cause me any problems? If so, what would be a better answer? current structer: Table "channeldata" Attribute | Type | Modifier ------------+-----------+----------------------- id | integer | not null default nextval cd_id | integer | default 0 s_id | integer | default 0 units | smallint | default 0 datareal | float8 | dataalt | float8 | dataoffset | float8 | default 0 tstamp | timestamp | default now() proposed structer: Table "channeldata_[s_id]" Attribute | Type | Modifier ------------+-----------+----------------------- id | integer | not null default nextval cd_id | integer | default 0 units | smallint | default 0 datareal | float8 | dataalt | float8 | dataoffset | float8 | default 0 tstamp | timestamp | default now() __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Stored Procedures, John Gunther |
|---|---|
| Next by Date: | Re: full table..., Tom Lane |
| Previous by Thread: | Stored Procedures, Donnahoo, George |
| Next by Thread: | Re: full table..., Tom Lane |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|