🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11169

copy tables between databases

#11169
From: D.v.Witzleben
Date: Fri, 06 Dec 2002 16:46
34 lines
2217 bytes
Hi

I build the following application:

CENTRAL-APP: They are able to Insert/Modify (not delete) Item-Data (table
ITEM). Then this data has to be send to the shops via 64K Modem.

SHOPS-APP: They receive ITEM-Table with new items, sell products into the
SOLD-Table, and are only able to read the ITEM-table.

I figured following solutions:

1: Replication on record-basis for table ITEM through delphi / IBX, works
fine.
   PROBLEM: It takes 3-5 hours a day. Also the destination DB grows
extremely in size.

2: Export table ITEM with Delphi/BDE/Batchmove into ITEM.DBF, import into
SHOP-APP the same way.
  PROBLEM: The destination DB grows extremely in size, when you close it, it
seems to hang, after a while it does close.

3: "Create table itemexternal external file ITEMEXTERNAL.TXT" in Interbase,
insert data with insert into itemexternal select * from item. In the
SHOPS-APP there is no internal ITEM-table, I use the external
ITEMEXTERNAL-table directly for read-purposes. Works very fine.
  PROBLEM: No BLOB-DATA! Also I can't copy the file while someone is working
on the DB, since it's locked.

Question: Any idea on problem 1-3?

Thanks,

Dietrich
Technical Details
Message-ID: <3df0d44d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,c3b2366d6a3e9489,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-06 09:00:05 PST
Reply-To: "D.v.Witzleben" <info@witzleben-edv.de>
From: "D.v.Witzleben" <info@witzleben-edv.de>
Newsgroups: borland.public.interbase.sql
Subject: copy tables between databases
Date: Fri, 6 Dec 2002 17:46:04 +0100
Lines: 36
Organization: WITZLEBEN EDV
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300
NNTP-Posting-Host: 217.230.83.7
Message-ID: <3df0d44d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1039193165 217.230.83.7 (6 Dec 2002 08:46:05 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail