473,395 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Remote updating

Is it possible to have Postgres output changes to tables, i.e.
essentially the WAL log, in the form of SQL statements, that could be
uploaded to another, identical database, on a remote machine.

I have a client that DOES NOT want the whole schema on their website for
the sake of security. Pat will be on the website, part will be on an
office computer.

Both 'mini schemas' will use some common tables, like states, addresses,
etc.

If I could, I would make the changes queue up on the office computer,
and then their local apache server and postgres DB would send up an
update script.

I'm wondering how to keep the two parts of the schemas synchronized.

Is it possible to make a mirrororing system only mirror certain tables
from a schema? Does this sound like a way to go?

Do the writes in the primary master tend to wait until they can
synchronize the slaves before it reflects the changes local to it, i.e.
wait on full commit to all DB's before the transaction is visible?

One other possiblity is that the total data will be pretty small, I
could just upload the entire dataset, with date versioning, and remove
off the end the old ones, 3-4 versions back. I would make all scripts
look at one particular date value in one field saying what the new
version is.

Anyway, thoughts on this appreciated.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #1
1 1350
Dennis,

This may not be much help, but you might want to take a look into The
eRserver Project
http://gborg.postgresql.org/project/...rojdisplay.php

Jordan S. Jones

--
I am nothing but a poor boy. Please Donate..
https://www.paypal.com/xclick/busine...rency_code=USD

Dennis Gearon wrote:
Is it possible to have Postgres output changes to tables, i.e.
essentially the WAL log, in the form of SQL statements, that could be
uploaded to another, identical database, on a remote machine.

I have a client that DOES NOT want the whole schema on their website
for the sake of security. Pat will be on the website, part will be on
an office computer.

Both 'mini schemas' will use some common tables, like states,
addresses, etc.

If I could, I would make the changes queue up on the office computer,
and then their local apache server and postgres DB would send up an
update script.

I'm wondering how to keep the two parts of the schemas synchronized.

Is it possible to make a mirrororing system only mirror certain tables
from a schema? Does this sound like a way to go?

Do the writes in the primary master tend to wait until they can
synchronize the slaves before it reflects the changes local to it,
i.e. wait on full commit to all DB's before the transaction is visible?

One other possiblity is that the total data will be pretty small, I
could just upload the entire dataset, with date versioning, and remove
off the end the old ones, 3-4 versions back. I would make all scripts
look at one particular date value in one field saying what the new
version is.

Anyway, thoughts on this appreciated.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: juglesh | last post by:
at one centraldomain.com, I have central.php, which consists of this: <?php function square($num) { return $num * $num; } ?> at outerdomain.com, I have test.php, which consists of this:...
2
by: Hal Vaughan | last post by:
I think I read something about this and I may just be using the wrong terms in search engines. I thought I read about a process where I could write Java classes that would be stored on a server...
1
by: Jason Cooke | last post by:
I've got a situation where I'm updating a MySQL DB with PHP but because of how the language works I need to do the following. The "main page" will open a remote page where the user will...
4
by: banz | last post by:
Hello I have a problem to resolve: I wrote a Perlscript which caches data from a server (local on my machine) I would like to have a other connection to a remote server but I don't know how to...
4
by: Catherine Jo Morgan | last post by:
I'm making a database using the Developer's Edition. The client will need 2 copies of the runtime edition, one for herself and one for her virtual assistant located in another county. Both of these...
5
by: perspolis | last post by:
Hi all I want to update a remote db on my site. but I don't want to connect to db directly.. How can I do that?? thx
1
by: K Meyer | last post by:
Everything in the deployment works fine with the exception of the address of the database also deployed on the remote server. The string address is found under "oledbconnection" in the ".......
2
by: Chris | last post by:
The situation: We have a remote web server (Server A), where we run our ASP.Net application. There are 3 developers, each working on their pieces of the application and updating Server A...
8
by: robert | last post by:
Hello, I want to put (incrementally) changed/new files from a big file tree "directly,compressed and password-only-encrypted" to a remote backup server incrementally via FTP,SFTP or DAV.... At...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.