Re: polling a database
- From: "RB Smissaert" <bartsmissaert@xxxxxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 11:00:40 +0100
How about letting A make a log of any changes (maybe to a text file) and let B pick that up.
It would save searching the whole database.
RBS
<mattia.pascal@xxxxxxxxx> wrote in message news:1177774097.764893.47460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi everybody,
a suggestion, please. I have an application A that modifies the
records of an access database. I should write an application B
(running on the same machine) that monitor these changes, without
modifying application A. I think the only solution is polling the
database and check every record in the table. I realized an
application that reload periodically in memory all the records (I use
an oledbdatareader, stayng always connected) and compares them with
the previous loaded records. Unfortunately the database is very large
and this procedure takes 2s on a Pentium IV. Do you know any better
method or some tips I could use to improve the performances? I tried
using a dataset and working disconnected, but it's slower (3s).
Thanks.
.
- References:
- polling a database
- From: mattia . pascal
- polling a database
- Prev by Date: Re: polling a database
- Next by Date: Command Object and IColumnsRowset
- Previous by thread: Re: polling a database
- Next by thread: Command Object and IColumnsRowset
- Index(es):
Relevant Pages
|
|