Hi,
Ok the database check works. But now i have an other problem. After a
restart of the jvm with embedded server where clauses in queries not
longer work. For example i create an entry (tuser) and fetch it with a
select:
select tuser where name = "test"
It works, but when i restart the jvm the query returns null. Is the
problem related to the warning of the database check below? Perhaps
it is the same problem like this
https://groups.google.com/forum/?fromgroups#!starred/orient-database/KNj2367Pf-c
one.
> check database -v
Checking database 'db'...
(1) Checking data-clusters. This activity checks if pointers to data
are coherent.
- data-cluster #0 internal -> OK
- data-cluster #1 index -> OK
- data-cluster #2 default -> OK
- data-cluster #3 orole -> OK
- data-cluster #4 ouser -> OK
- data-cluster #5 orids -> OK
- data-cluster #6 tuser -> OK
(2) Checking data chunks integrity. In this phase data segments are
scanned to check the back reference into the clusters.
- data-segment default (id=0) size=2719/2719...
-- found 1 holes:
--- hole #0 offset=2005 size=136
-- checking chunks:
--- chunk #0 offset=0 size=4 -> OK
--- chunk #1 offset=18 size=50 -> OK
--- chunk #2 offset=82 size=132 -> OK
--- chunk #3 offset=228 size=266 -> OK
--- chunk #4 offset=508 size=33 -> OK
--- chunk #5 offset=555 size=33 -> OK
--- chunk #6 offset=602 size=413 -> OK
--- chunk #7 offset=1029 size=841 -> OK
--- chunk #8 offset=1884 size=27 -> OK
--- chunk #9 offset=1925 size=66 -> OK
--- chunk #10 offset=2005 size=892879409 -> WARN: Chunk
default:10 (offset=2005 size=892879409) it's between the holes (hole
#0) even if has no negative recordSize. Jump the content OK
--- chunk #11 offset=2141 size=133 -> OK
--- chunk #12 offset=2288 size=270 -> OK
--- chunk #13 offset=2572 size=133 -> OK
Check of database completed in 16ms:
- Total records checked: 13
- Total chunks checked.: 14
- Warnings.............: 1
- Errors...............: 0