new XPA and Actian gateway
magic9@aquari.com
Hello,
Does anyone know if there is a new gateway for Actian Zen (Pervasive) with the newest version of Magic? I tried to create a file with about 2 billion records with 9.4 and Actian 14 and it did not work. I was told (by Bill at Goldstar) that the only work around is for Magic to make a new gateway for Actian. So did Magic ever release another gateway for Actian (Pervasive) after 9.4? Thanks Andy |
|
David
Hi
As far as I know they did with XPA 4.9 but it's buggy at my latest informations. (don't hang me up) The previous Gateway XPA 4.8 and lower works. I have an installation with 8.3 running on Actian Zen 14, why i'm suprised that 9.4 can't... what failed? |
|
Andy, Magic's Btrieve ISAM gateway hasn't been substantially modified
since at least v9.4. AFAIK, the last real modification happened
sometime in v9, to finally squash an abandoned record lock bug
first identified with Magic's implementation of the Btrieve API's
GetExtended() operation in v7. (You might recall hearing me
chatter from decade to decade about adding "/EXTENDED=N" to the
Btrieve DBMS Properties column.) That the Btrieve ISAM Gateway has
not been significantly altered since way, WAY back is true, again
AFAIK, all the way up to and including the Btrieve ISAM Gateway
installed with Magic xpa v4.8.x. With the general release of Magic
xpa v4.9, however, MSE are now shipping a brand spanking new ISAM
gateway as well, and installed in addition to the legacy Btrieve
ISAM Gateway. This new ISAM gateway implements Actian Zen's new Btrieve
2 API. Indeed a HUGE step forward, the Btrieve 2 API gateway is a version-one product with some known issues. For one, it appears to be flat-out incompatible with Zen 15's Btrieve 2 API — MSE supports the gateway with v14 only so far, but I expect they'll all get sorted out in ensuing service packs. If you opt to install the Btrieve ISAM Gateway with v4.9, you actually get two gateway DLLs, the original Btrieve gateway, now RE-named MGBtrieveAPI1.dll; and the new gateway which inherited the original gateway's file name MGBtrieve.dll. The previous Pervasive SQL gateway remains unchanged. Steven G. Blank
Ξ SGBlank Consulting On 3/2/2023 9:15 AM, magic9@...
wrote:
Hello, |
|
magic9@aquari.com
David, Steven,
Thanks for your replies. If my memory serves me right, it was an index issue. I just started to recreate the table with 9.4 and Actian 14 to get the exact error, and I will post it here when it crashes. Did I understand correctly that if I were to use XPA 4.9 with the new gateway(s) that it would work? Thanks Andy |
|
Andy,
toggle quoted message
Show quoted text
You wrote "Did I understand correctly that if I were to use XPA 4.9 with the new gateway(s) that it would work?" No, that's not what I said. What I said was, the new gateway works with Actian Zen 14 with some known issues. I also said that the legacy gateway also installed with v4.9 most certainly works the same as it has since the prior millennium. But, it sounds to me like you've concluded that you must have the Btrieve 2 API gateway in order to create a file having more than "about 2 billion records." Is that true? There are many, many possibilities, the majority of which have nothing whatsoever to do with which API is used to talk to the MKDE. Steven G. Blank
Ξ SGBlank Consulting On 3/4/2023 6:48 AM, magic9@...
wrote:
David, Steven, |
|
magic9@aquari.com
Steve, |
|
Andy,
toggle quoted message
Show quoted text
From the Zen Control Center Help: 132: The file has reached its size limit The MicroKernel returns this status code in one of the following situations: • The file reached its maximum size. This limit depends on the file version, the page size, and the number of records per page. [emphasis added] See File Size in Advanced Operations Guide for a complete discussion. • An operation attempted to allocate more than the maximum number of page allowed for a data file. • A data file has been in continuous operation for a long period of time, and its delta file exceeds 4 GB. • A single data file segment has reached the operating system file size limit. end quote If you'd like, open a command prompt, change to the location where the "[data] file [that] has reached its size limit," lives, execute BUTIL -STAT on the file, and include the file's statistics (page size, record length, number of indexes, etc.) in your reply. No, this error has nothing whatsoever with the API used to communicate with the MKDE. The MKDE alone handles the disk files and it's the MKDE who's unhappy. As to why this process might take days instead of hours ... to answer that question, I'd need to see the application. It might be as simple as changing a Link Write operation to a Link Create. Or not. As to whether or not Magic's ODBC gateway will connect to MongoDB, that depends entirely on whether or not proper, ODBC-compliant drivers exist for MongoDB and are installed; it does not depend on Magic's ODBC gateway. MSE provide an ODBC Driver Test utility (mgchkdrv.exe) to check for proper ODBC-compliance. Steven G. Blank
Ξ SGBlank Consulting On 3/11/2023 3:37 PM, magic9@...
wrote:
|
|
magic9@aquari.com
Steve,
Page compression is set to on, record compression is set to off, and the page size is set to the maximum, which is 16384. System data remains the default, Add/Retain System Key (DataExchange Setting).
These file settings were recommended by Bill after some discussion years ago.
The page compression reduced performance a bit but also dramatically reduced the file size. Before these settings were implemented the file sizes were too large and unmanageable.
Encrypt table and an access key is also specified in the file properties. The program that creates the file (and which took a week to run) is a simple batch program that reads 1 file with the file settings set to read, share non and no cache,
and link creates each record to another file with write, share none and no cache.
There are 10 batch files like this that are called sequentially. Each reads a file that has about 100 million records.
The new file that is created has 4 indexes. Thanks Andy |
|
John Knickerbocker
Setting the open mode to reindex on the new file will make it run faster, by a lot. Steve, |
|
magic9@aquari.com
Thank you John, I will try that setting.
|
|
magic9@aquari.com
Steve,
toggle quoted message
Show quoted text
The advanced operations guide I have dates back to 2002, is there a new one? Can anyone provide me with the most recent PDF of the Magic Advanced Operation Guide? Thanks Andy On Sat, Mar 11, 2023 at 05:30 PM, Steven Blank wrote: Advanced Operations Guide |
|
AFAIK, Actian doesn't publish PDF documentation anymore, at least I
can't find anything. The Advanced Operations Guide is part of Zen's
online help, accessed through the Zen Control Center:
toggle quoted message
Show quoted text
Steven G. Blank
Ξ SGBlank Consulting On 3/18/2023 4:23 PM, magic9@...
wrote:
Steve, |
|
Hello all, |
|