Applies to:
PcVue version 8.10 onwards. |
||
|
||
Summary:
This article explains why the file “ProjectName_DatabaseName_TableName.hds” in the Databases directory contains records. |
||
|
||
Details:
.hds files are created in the directory containing the PcVue databases at startup if the database initialization is done properly (Database status check at startup). There is a file for each table in the database. These files are used to store records when the HDS is no longer able to access the database. These files are used as a buffer. They are pushed into the database in masked time. These files are filled in the following cases:
These files should be temporary and occasional. If you observe a constant evolution of these files, your system is not stable. Filling mechanism These .hds files are not limited in size. We can see in the traces (HDS.log files) these files are filled when HDS calls the function SaveInvalidRecord: These files are un-stacked when calling the function RecordAscii. The RecordAscii function is started each time the project starts and every 30 seconds for 3 seconds if the file is not empty: If RecordAscii is followed by the RecoverInvalidRecord function, it means that the file has been emptied: Problem Sometimes the .hds files increase in size. The problem is that your database is too often occupied by other treatments. Two hypotheses:
Resolution If the file gets very big, it may be that the HDS cannot open the file (Windows file size limitation) and therefore the file cannot be un-stacked into the database. You can follow the procedure below to workaround this issue.
Then, for each smaller file:
|
||
|
||
|
Created on: 10 Jul 2013 Last update: 13 May 2024