Subject | Re: [IBO] Optimizing TIBOTable inserts |
---|---|
Author | kgdonn |
Post date | 2006-07-03T14:39:26Z |
> I appreciate your detailed description but I'd have to say that Iwould need
> to know a lot more about your project and your code base to makereally
> usefull directions on this matter.to do some
> That said - If you haven't worked with interfaces much you'd need
> reading first.table to
> I would start looking at
> > procedure ReadIntoTableWithFields(var f: file; table:
> > TLWPortableTable; extraFields: TExtraFields);
> and thinking along the lines of where you can make the switch from
> query. You could write the implementation of this procedure suchthat the
> first thing it does is translate the properties of a table into thedirectly more
> properties of a query.
> then you call
> > procedure ReadIntoTableWithFields(var f: file; query:
> > TLWPortableQuery; extraFields: TExtraFields);
> Thus you have the interface... you can call the second proc
> often as your code base matures. This first call may requiremodification to
> pass additional propertiesin the first instance.IBOsets and
> I would also think along the lines of abandoning reliance on the
> move to IB_sets in the same steps.Thanks for the input Alan. I've actually used interfaces a great
>
> Alan
>
deal in my work; I just didn't see a good fit for them in this
particular case. I thought I might be missing something. I think
the most difficult part of the challenges I've faced is that I can't
entirely leave TTable/Paradox behind. I've got some users of the
system (which consists of over 200 separate dpr files) that have
third-party systems that interact with the Paradox database.
Converting them to Firebird will have to be a coordinated effort
with the developers of the other system, and that has to be planned
and then budgeted and then put out to bid and then contracted, yada-
yada-yada; it could literally take years. I would be genuinely
surprised if it gets underway in less than a year. TTable/Paradox
will be in my life for a good long while yet. In the meantime, I've
got to make the codebase happy to compile against either
TTable/Paradox or IBO at the flip of a $DEFINE.
kd