RE: Table Corruption

RE: Table Corruption in Paradox Tables topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Corruption   RE Table   RE Table Corruption  
Moderator
Steven.G
Myrtle Beach, SC USA

is the "corruption" just the indexes? is the table size more than 1/2 the max, for that block size?

query out the data to a temp table.. run tutility or chimney sweep on it.. export to ascii.. make a new table from scratch.. import the ascii.. run tutility or chimney sweep on it.. add the indexes, pack the table

literally, do it all from scratch

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17402, 2 replies and Parent is 17400
Thread Started 1/23/2019 11:24:02 AM
Location=Myrtle Beach, SC USA 
Joined=9/23/2016   MB Posts=463  
Moderator
Steven.G
Myrtle Beach, SC USA

> Please confirm this statement
" is the table size more than 1/2 the max, for that block " <

32k blocks, table has a max size of 2 gig.. sec indexes become disfunctional if the table is over 1 gig.. this particular table is only 86 meg, so no issue

> I will work on your steps,  However I dont have Chimney Sweep,   but I might have the tutility. <

tutility is the built in repair tool.. CS catches some advanced stuff, sometimes, that tutility doesn't.. an actual Repair catches many things that Verify doesn't even see.. it's all art, not science, unfortunately

in this case, what are the actual symtoms and/or error messages in the app that become the source of the problem?

in this case, other than the stupid "low ascii" errors, what errors does Verify give you?

> However,  I don't see how this is any different than taking a virgin copy of the table and inserting the records,  which has been done. <

if there's a bad pointer in the file, or a bad block on the disk, the ascii export process will often be "cleaner" than simply adding the records from the bad table to the empty table

if there's a "bad block" error in Verify, or something similar, and it's' still there after you go thru all the hoops I suggested, now you'll know you're doing the same "rinse and repeat" that won't go away

yes, I've seen that happen.. recently, I had a table like that.. trial and error, narrowed it down to one block of data.. added a record that split the block, the error moved to the new block.. deleted the new record, packed the table, it moved back.. deleted the "offending record", the next record error'd out.. kids, don't try this at home :-)

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17404 (Level 2) and Parent is 17400
Reply Posted 1/23/2019 1:20:13 PM
Location=Myrtle Beach, SC USA 
Joined=9/23/2016   MB Posts=463  
Most Recent Post
Moderator
Steven.G
Myrtle Beach, SC USA

a Short in a compound key can cause corrpution, in any block size.. but especially in 32k block

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #18474 (Level 3) and Parent is 17400
Reply Posted 4/8/2021 5:08:27 AM
Location=Myrtle Beach, SC USA 
Joined=9/23/2016   MB Posts=463  
www.prestwood.com For service: 916-726-5675
or support@prestwood.com
Copyright (C) Prestwood IT Solutions.
All Rights Reserved.
Printed 7/11/2025