473,765 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PostgreSQL Database Forum

PostgreSQL ORDBMS database - Ask questions about PostgreSQL development, administration replication, clustering, connection pooling, tables, indexes, databases, performance, SQL, queries and more.
6
5,045
thread by: Randall Smith | last post Nov 23 '05 by: Randall Smith
I am going to sync a schema in postgres with one in an oracle db. The tables are simple, but there are 200 of them. I would like to try to keep the sync lag < 1 minute. Here is my idea. Please critique/suggest. 1. Set up stored proc on oracle that records a INSERT, UPDATE, DELETE SQL action taken on a table into a log table. 2. Program...
0
1,211
thread by: Sim Zacks | last post Nov 23 '05 by: Sim Zacks
I reconfigured the redhat startup script for postgresql to work with version 8 and that is working fine. I thought I could put autovacuum in the startup script and that didn't cause any problems, but it didn't turn on and I had to start it manually. Does anyone know why it didn't catch? I was watching the bootup and it seemed that the...
0
2,502
thread by: Sim Zacks | last post Nov 23 '05 by: Sim Zacks
I reconfigured the redhat startup script for postgresql to work with version 8 and that is working fine. I thought I could put autovacuum in the startup script and that didn't cause any problems, but it didn't turn on and I had to start it manually. Does anyone know why it didn't catch? I was watching the bootup and it seemed that the...
0
922
thread by: Keow Yeong Huat Joseph | last post Nov 23 '05 by: Keow Yeong Huat Joseph
unsubscribe from postgresql maillist
0
4,357
thread by: Keow Yeong Huat Joseph | last post Nov 23 '05 by: Keow Yeong Huat Joseph
unsubscribe from postgresql maillist
6
9,227
thread by: M.A. Oude Kotte | last post Nov 23 '05 by: Paul Tillotson
Hi All, I hope this is the correct mailing list for this question. But neither postgresql.org nor google could help me out on this subject. I did find one disturbing topic on the mailing list archives (http://archives.postgresql.org/pgsql-admin/2000-05/msg00032.php), but since it was quite old I'm posting my question anyway. I'm writing...
0
2,328
thread by: Steve Crawford | last post Nov 23 '05 by: Steve Crawford
I'm still mulling the best way to handle this situation. I have a table that describes work to be processed. This table includes a description of the work as well as priority and scheduling information (certain records can only be handled by certain client processes or at particular times of the day or week). I have several hundred client...
0
1,850
thread by: Steve Crawford | last post Nov 23 '05 by: Steve Crawford
I'm still mulling the best way to handle this situation. I have a table that describes work to be processed. This table includes a description of the work as well as priority and scheduling information (certain records can only be handled by certain client processes or at particular times of the day or week). I have several hundred client...
23
3,771
thread by: Randall Nortman | last post Nov 23 '05 by: Steve Crawford
I assume I'm not the first person to have encountered this, but I couldn't find anything in the FAQ or on the mailing lists recently. My apologies if this is already documented somewhere... My application logs data to a Postgres table continuously (once every 15 seconds), maintaining a persistent connection. Each datum is logged with a...
6
2,232
thread by: John Fabiani | last post Nov 23 '05 by: Alvaro Herrera
Hi, First I'm trying to move a MySQL database to Postgres. I have to emulate a MySQL sql statement - ''Describe tablename' which in general is '\d tablename' from psql. If I use '-E' my 7.3.x provides three sql statements and by 7.4.x produces four statements. But what I want is a single SQL statement that produces the following: ...
10
3,568
thread by: Eric E | last post Nov 23 '05 by: Eric E
Hi all, I am using an Access client linked to a PG 7.4 server via ODBC. I have a stored proc on the server that inserts rows into a table.particular table, accomplished via an INSERT within the body of the stored proc. The procedure does not explicitly commit this data, as no transactions are invoked. The problem is that Access will not...
6
2,107
thread by: Alex P | last post Nov 23 '05 by: Bruno Wolff III
Will there be a release 7.4.7 in the future? When can the production release of 8 be expected? thanks Alex ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
2
2,416
thread by: Alex P | last post Nov 23 '05 by: Richard Huxton
Hi, I have a problem I dont really know how to solve except for writing a function. I have a table with prices; SecCode| Price | PriceDate -------+------------+----------- A0001 | 13.10 | 2004-10-30
6
3,225
thread by: Alex P | last post Nov 23 '05 by: Richard Huxton
Hi, when creating a query with a subselect SELECT name, (SELECT max(pop) FROM cities WHERE cities.state = states.name) AS max_pop FROM states; then it is not possible to sort after max_pop or use max_pop in a function or a CASE. am I dont anything wrong or is this meant to be the case?
4
4,826
thread by: Katsaros Kwn/nos | last post Nov 23 '05 by: Katsaros Kwn/nos
Hi! I want to parse a query (SFW) and create new queries: one for each table referenced, if that possible. I've written a function for this in the Query struct level after parse&rewrite (not very general ofcourse :-)) but I would like to know whether there is any code written for this purpose at any level. Are there any algorithms for this?...
0
964
thread by: Alex P | last post Nov 23 '05 by: Alex P
Will there be a release 7.4.7 in the future? When can the production release of 8 be expected? thanks Alex ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
0
945
thread by: Alex P | last post Nov 23 '05 by: Alex P
Hi, when creating a query with a subselect SELECT name, (SELECT max(pop) FROM cities WHERE cities.state = states.name) AS max_pop FROM states; then it is not possible to sort after max_pop or use max_pop in a function or a CASE. am I dont anything wrong or is this meant to be the case?
0
1,066
thread by: Alex P | last post Nov 23 '05 by: Alex P
Hi, I have a problem I dont really know how to solve except for writing a function. I have a table with prices; SecCode| Price | PriceDate -------+------------+----------- A0001 | 13.10 | 2004-10-30
10
4,545
thread by: Eric | last post Nov 23 '05 by: Tino Wildenhain
Is there something to interface postgreSQL with QMail to store mails in pgsql instead of using mbox or maildir? Or maybe it's not a good idea to do that? I think there is some adavantages... ---------------------------(end of broadcast)---------------------------
0
967
thread by: Katsaros Kwn/nos | last post Nov 23 '05 by: Katsaros Kwn/nos
Hi! I want to parse a query (SFW) and create new queries: one for each table referenced, if that possible. I've written a function for this in the Query struct level after parse&rewrite (not very general ofcourse :-)) but I would like to know whether there is any code written for this purpose at any level. Are there any algorithms for this?...
6
3,011
thread by: Joolz | last post Nov 23 '05 by: Joolz
Hi everyone, When importing a bunch of data (> 85000 rows) I get an error I can't explain. The table into which I'm importing has a unique clause on (code, bedrijf). The rows in the source-table are unique in this aspect, yet when I do the import I get this "ERROR: duplicate key violates unique constraint "werknemer_bedrijf_key". I...
9
2,160
thread by: Joseph Shraibman | last post Nov 23 '05 by: Tom Lane
I have a table that is usually really small (currently 316 rows) but goes through spasams of updates in a small time window. Therefore I have a vacuum full run every hour on this table. Last night one of these vacuum fulls deadlocked with a query on this table. Both were stuck doing nothing until I did a kill -INT on the backends doing...
0
1,121
thread by: Ed L. | last post Nov 23 '05 by: Ed L.
What is the conventional wisdom about routine reindexing with 7.4.6 and 8.0? Is it still considered an important maintenance task? If so, how frequently is it needed? Ed ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
0
1,290
thread by: Eric E | last post Nov 23 '05 by: Eric E
Hi all, I am using an Access client linked to a PG 7.4 server via ODBC. I have a stored proc on the server that inserts rows into a table.particular table, accomplished via an INSERT within the body of the stored proc. The procedure does not explicitly commit this data, as no transactions are invoked. The problem is that Access will not...
0
1,175
thread by: Jim C. Nasby | last post Nov 23 '05 by: Jim C. Nasby
Is there any way to determine the last time statistics were analyzed on a given table? -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.