Results of my 1st test. ALSO Big concerns BELOW
I decided to try accessing the btrieve data via AWARE, using PSQL 12 server and JDBC drivers.
This provides a chance to do a proof of concept to the powers that be without investment all the way into MSSQL, etc.
The builtin filtering/searching seems to work... but at first, I thought there was a problem reading my btrieve data.
I made a query to view "All Order Lines", and when I ran it, I only saw the headings. No data. The query for "All Orders" worked and displayed data fine. I figured something was amiss in the field mapping or something and AIM didn't read the data correctly and just crapped out.
Problem was that it [PSQL engine, I guess] was reading through all 100k recs and if you gave it a minute or two, the data displayed. There was no error after all. In fact, when I view Order Headers, you can see a tiny delay between the heading line display... and then the data appears. But its only like 2 seconds compared to 60 seconds. (This makes sense [a little] if you think about it as AIM displays the Page Navigation arrows, so it somehow knows how many recs are out there and gives you a way to page through them.)
File size is 40k headers with 100k lines.
In reality, FOR WHAT I'M DOING HERE, you wouldn't go hit the full 100k Order Lines file anyway, as you'd only be using the primary key to find the lines on a given order. Thats works fine and fast as you'd expect. I haven't tried any processes to see how long it would take to step through records, update fields, tally or do reporting.
CONCERNS
But if you wanted to just give users access to that Order Lines file, then I'd be concerned with why it takes 60 seconds for the data to come up. Where is this bottleneck coming from? JDBC? PSQL? Sorting required behind the scenes? Dunno. But if I use the built in editing button, where SAVE-CLOSE buttons are on the bottom, when I click CLOSE, it takes 60 seconds AGAIN to go back a screen. (Sure, then make it a popup, thats not the point).
I can only imagine this time would grow with more than 100k recs in the file.
So, part of continuing the Proof of Concept would be figuring out whats causing this delay and putting front and search boxes on to filter that initial hit on the db.
FORTUNATELY, this need isn't to give users search access to millions of rows from a BI perspective - its to lookup historical orders from known values - not just crazy searches through the data.
Work in progress,
jaymer...