Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4067882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:18:21+00:00 2026-05-20T16:18:21+00:00

I have a legacy system that has been ported to a modern system and

  • 0

I have a legacy system that has been ported to a modern system and uses berkeley database. It is compiled with open cobol.
In the previous system the serialized fixed data CISAM files were converted one time per day to microsoft database using ACCESS macros in order to be used from a simple web front end.(one way)
I want to create a new web front end and i want data to be real time updated…
The problem is that berkeley database is key value database and doesnt support sql.
So the problem here is
Should i create a web service that provides data to the web front end using Berkeley database ?
OR
Should i synchronize berkeley database with a relational Database (Mysql,postgresql)

In the first case there wouldnt be a synchronization issue.But the problem is that flexibility is very limited… For example sorting by a collumn that it is not indexed requires custom sorting function… Summing some fields requires reading all the record data and then summing manually..

In the second case the simple way is to just read and convert to database . I cant figure out a way to check what has been updated…inserted or deleted.

But i tend more to second method.. using the following algorithm
Check every 5 minutes the file modifation date…
Open files that have been modified… Then get all the keys and compare to cached keys array.
Then loop through each record and check if data hash is the same with cached hash.
Then delete/insert ..

ANy other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:18:22+00:00Added an answer on May 20, 2026 at 4:18 pm

    Why not take the source code to the berkely-db database driven system, and find a way to write a SOAP query and handle it using that application. Now you have a web service that can read this BSDDB directly and you don’t need synchronization.

    Even if you DON’T have the source code for the original application, if you can figure out how to unpack the content of the BSDDB key/value store yourself, you could easily (in Python for example) write a simple web service app that serves up the contents of your BSDDB database using SOAP. I would start by writing a few lines of Python that open up the BSDDB value, and dumps the Key-values, and their associated payloads. (The “Value” values, if you like).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been tasked with making some edits to a legacy system that is
At my place of work we have a legacy document management system that for
I have a situation with a legacy system which uses Java EE Bean Managed
I have a legacy database with a pretty evil design that I need to
I have been tasked with maintaining a legacy unmanaged c++ system. I do not
I have legacy code that has cache implementation that looks like this: long lastUpadate;
I have a C++ code base that has been working for a long time.
Let's say I have a legacy application that, for various reasons, previous developers decided
I have the ability to query a legacy system that returns a .NET DataSet.
Sadly, I have a legacy PHP4 system that I continuously need to add features

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.