Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Mirrored Server for real-time computations?
anacedent wrote:
> (Pete Cresswell) wrote: >
> > > Here is an idea which may or may not work for you. > I will stipulate that the initial computations are "intensive". > Through the use of triggers when a value changes, you "back out" > the old value & "update" using the new value; which ideally would > have successfully recompute the metric by doing two mathmatical > operations. > > HTH & YMMV
In .NET there is a DataSet object which is an in memory mirror of what amounts to a view on a table or tables. It's realized in XML but is able to manipulated much as database table would be. You can create indexes on it, relate DataSets to one another, perform computations etc, but it all happens on another server acting as a client to Oracle.
It would perhaps take some of the computation load from the database and put it on a middle tier (it's a maybe, because you would have to refresh the datasets or add to them, causing recurring selects but you have the option to only get changes to the underlying tables rather than the whole tables. From there you ought to be able to push it out to where you need it.
Possibly store the results of the computations in some intermediate file format suitable for data loading, which can occur at database-convenient intervals and times if you need that history.
HTH td Received on Sun Jun 27 2004 - 02:04:39 CDT