My database works fine most of the time, except I need to restart the relational services every few weeks because they stop responding. I ran a consistency check and here are the results. I'm not a Pervasive/Btrieve expert, so I'm not too sure what to do about these problems. Again, the database generally works fine. I searched for information in the Pervasive KB, but could not find much useful information.
==========================
==========
==========
=
Database Check Statistics
==========================
==========
==========
=
Pervasive.SQL Compatibility Mode = 9
Tables Checked = 19
Tables Passed = 7
Tables Failed = 12
Illegal Object Names = 3
Record Length Inconsistencies = 6
Variable Length Column Inconsistencies = 0
Data Type Inconsistencies = 0
Column Overlaps = 0
Full Path (instead of Relative) Table Locations = 0
Table Files Don't Exist = 1
Index Inconsistencies = 41
System Table Inconsistencies = 0
General Dictionary Inconsistencies = 1
==========================
==========
==========
=
Tables That Passed Test
==========================
==========
==========
=
pallet_scan
X$Attrib
X$Occurs
X$Relate
X$Rights
X$User
X$Variant
==========================
==========
==========
=
==========================
==========
==========
=
Problems Detected with Database Definitions
==========================
==========
==========
=
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = Pallet_Carton
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 0
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 1
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 2
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 3
The dictionary does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = Performance
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 0
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 1
The dictionary does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = prioritytable
illegal column name 'timestamp'.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = Product
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 0
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 1
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 2
The dictionary does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = Scale
This table data file doesn't exist.
Table data file = 'SCALE.BTR'
An error occurred while reading statistics from the btrieve data file.
illegal column name 'RELEASE'.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = Shipment_Order
illegal column name 'RELEASE'.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 0
The dictionary does not.
The Data File Index is Not Defined in the Dictionary.
The data file defines index 0 seg 1
The dictionary does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$Field
Index Data Type Inconsistency.
The dictionary index 0 seg 0 indicates 1 (Column = 'Xe$Id')
The data file index 0 seg 0 indicates 14
Index Data Type Inconsistency.
The dictionary index 1 seg 0 indicates 1 (Column = 'Xe$File')
The data file index 1 seg 0 indicates 14
Index Case Flag Inconsistency.
The dictionary index 2 seg 0 indicates case sensitive. = No
Data file index 2 seg 0 indicates case sensitive. = Yes
Index ACS Flag Inconsistency.
The dictionary index 2 seg 0 indicates No
Data file index 2 seg 0 indicates Yes
Index Data Type Inconsistency.
The dictionary index 3 seg 0 indicates 1 (Column = 'Xe$File')
The data file index 3 seg 0 indicates 14
Index Case Flag Inconsistency.
The dictionary index 3 seg 1 indicates case sensitive. = No
Data file index 3 seg 1 indicates case sensitive. = Yes
Index ACS Flag Inconsistency.
The dictionary index 3 seg 1 indicates No
Data file index 3 seg 1 indicates Yes
Index Data Type Inconsistency.
The dictionary index 4 seg 2 indicates 1 (Column = 'Xe$Dec')
The data file index 4 seg 2 indicates 0
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$File
Index Data Type Inconsistency.
The dictionary index 0 seg 0 indicates 1 (Column = 'Xf$Id')
The data file index 0 seg 0 indicates 14
Index Case Flag Inconsistency.
The dictionary index 1 seg 0 indicates case sensitive. = No
Data file index 1 seg 0 indicates case sensitive. = Yes
Index ACS Flag Inconsistency.
The dictionary index 1 seg 0 indicates No
Data file index 1 seg 0 indicates Yes
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$Index
Index Data Type Inconsistency.
The dictionary index 0 seg 0 indicates 1 (Column = 'Xi$File')
The data file index 0 seg 0 indicates 14
Index Data Type Inconsistency.
The dictionary index 1 seg 0 indicates 1 (Column = 'Xi$Field')
The data file index 1 seg 0 indicates 14
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$Proc
Fixed Record Length Mismatch.
Dictionary indicates length 34
Data file indicates length 0.
Variable Data Type Column Mismatch.
Dictionary indicates that a variable length column exists.
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 0 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 0 seg 1
The data file does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$Trigger
Fixed Record Length Mismatch.
Dictionary indicates length 40
Data file indicates length 0.
Variable Data Type Column Mismatch.
Dictionary indicates that a variable length column exists.
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 0 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 0 seg 1
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 1
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 2
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 1
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 2
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 3
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 4
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 2 seg 5
The data file does not.
++++++++++++++++++++++++++
++++++++++
++++++++++
+
Table Name = X$View
Fixed Record Length Mismatch.
Dictionary indicates length 22
Data file indicates length 0.
Variable Data Type Column Mismatch.
Dictionary indicates that a variable length column exists.
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 0 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 0
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 1
The data file does not.
Dictionary Index Not Defined in Data File.
Dictionary defines index 1 seg 2
The data file does not.
==========================
==========
==========
=
Start Free Trial