Solved

Corrupted MDX files in Dbase IV.

Posted on 1997-06-27
7
678 Views
Last Modified: 2013-11-24
I was wondering if anybody else has
 experienced this problem with Dbase IV.

Currently we are running a system using
Dbase IV version 2.0 for DOS.  The network
O/S that we are currently using is IBM's
Warp server.  Our file server has a 133 MHz
Pentium processor.  The standard
workstations that we use have a 100 MHz
pentium processor.

Occasionally we have several users adding
 records to our data files simultaneously.

It seems that whenever we have more than
3 people adding records to the DBFs
(notice I said adding not updating)
the MDX files get corrupted.  

We thought that by converting our system
from Dbase IV ver 1.1 to Dbase IV ver 2.0
we could correct this problem.  We are
unfortunately still having the same difficulty.


If anybody out there has any ideas on how
we can resolve this, I would be very
appreciative.

Thank you.
0
Comment
Question by:SRuli87202
  • 5
  • 2
7 Comments
 

Author Comment

by:SRuli87202
ID: 1025169
Edited text of question
0
 

Author Comment

by:SRuli87202
ID: 1025170
Edited text of question
0
 

Author Comment

by:SRuli87202
ID: 1025171
Edited text of question
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:SRuli87202
ID: 1025172
Edited text of question
0
 
LVL 9

Accepted Solution

by:
cymbolic earned 200 total points
ID: 1025173
As data is updated on these dbase systems, the index pages are sent down to the local pc's, locked on the server, updated and sent back up to be rewritten.  Often there's a whole lot more index page handling than database handling going on under the covers, that's why index pages seem to go south first.  Couple things you should look at:

1) make sure your users aren't getting frustrated and rebooting...this will honk up the best dbase app!
2) Check your app.  Make sure you always open the same files in the same order in all your apps.  This effects the order of locking and writing the index pages, and with multiple simultaneaous users, if it don't happen all in the same sequence with multiple files and index keys, somebody eventually gets stepped on!
0
 
LVL 9

Expert Comment

by:cymbolic
ID: 1025174
Also, for the best toolset in working with dbf files and indexes, get DBFLOOK from Cymbolic Systems.  It's on AOL.COM, and in multiple shareware collections around the planet.  Then register it to get a complete system of utitlities for working with DBF's and large directories of DBF's.  You won't be sorry, I guarentee it!
0
 

Author Comment

by:SRuli87202
ID: 1025175
At this point in time, we are trying a new
approach to addressing this problem.  I have
made a modification to the Entry/Update
screen program so that only one user at a
time can append a new record to the datafile.
This is handled through an on error processing
routine.  So far it looks fairly prommising.
However only time will tell.  Cymbolic did give
me some things to think about though.

Thanks


0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating and Managing Databases with phpMyAdmin in cPanel.
Read about achieving the basic levels of HRIS security in the workplace.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question