Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 7 of 7 total |
Corrupted index definitions |
Tue, Mar 6 2007 7:51 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
First time I've ever had this happen. I've restored from backup so there's not a problem and my question is for curiosity only. If you're busy don't bother replying. The printer on my network started playing silly buggers so I had to turn it off and reboot the PC its connected to. First I closed my app on my PC and it threw a wobbly, no idea why. After sorting the printer out I couldn't log back in as the tables were corrupted. Tried repairing over the network. Didn't work. Repaired on the fileserver. Worked BUT all the index definitions for one table had been wiped. The question is what will cause the index headers to become corrupt to the point where they are wiped? Roy Lambert |
Tue, Mar 6 2007 10:28 AM | Permanent Link |
Dave Harrison | Roy Lambert wrote:
> Tim > > First time I've ever had this happen. I've restored from backup so there's not a problem and my question is for curiosity only. If you're busy don't bother replying. > > The printer on my network started playing silly buggers so I had to turn it off and reboot the PC its connected to. First I closed my app on my PC and it threw a wobbly, no idea why. After sorting the printer out I couldn't log back in as the tables were corrupted. Tried repairing over the network. Didn't work. Repaired on the fileserver. Worked BUT all the index definitions for one table had been wiped. > > The question is what will cause the index headers to become corrupt to the point where they are wiped? > > Roy Lambert Roy, Prior to printing, could you not run FlushBuffers to write the cache to disk just in case something happens when printing? I suppose you could run FlushBuffers every few minutes to eliminate corrupted files. I think this might help. Dave |
Tue, Mar 6 2007 11:34 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Dave
I'm not too concerned. Its the first time something like this has happened and I've been using DBISAM since V2. Roy Lambert |
Tue, Mar 6 2007 12:44 PM | Permanent Link |
Dave Harrison | Roy Lambert wrote:
> Dave > > > I'm not too concerned. Its the first time something like this has happened and I've been using DBISAM since V2. > > Roy Lambert > Roy, It happened to me just a week ago. No fault of DBISAM, but both of my dual screens went blank and I had to reset the computer. When you're dealing with Windoze and maybe faulty hardware, you actually have to write code to take system failures into account. Sort of like wearing a cup when playing baseball-you gotta protect your assets. Dave |
Tue, Mar 6 2007 12:59 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<<The printer on my network started playing silly buggers so I had to turn it off and reboot the PC its connected to. First I closed my app on my PC and it threw a wobbly, no idea why. After sorting the printer out I couldn't log back in as the tables were corrupted. Tried repairing over the network. Didn't work. Repaired on the fileserver. Worked BUT all the index definitions for one table had been wiped. The question is what will cause the index headers to become corrupt to the point where they are wiped? >> Were the tables written to prior to the shutdown ? With tables that are local, the Windows file system will overwrite portions of the table with junk data if a) the table was written to prior to the blowup, and b) the table was not flushed to disk. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Mar 6 2007 1:23 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
Probably but quite some time before if at all. Roy Lambert |
Wed, Mar 7 2007 11:20 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< Probably but quite some time before if at all. >> Unfortunately, it doesn't matter because the Windows file system appears to literally cache things for several hours in some cases. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |