<s>
ObjectDatabase++	B-Application
(	O
ODBPP	O
)	O
is	O
an	O
embeddable	O
object-oriented	B-Application
database	I-Application
designed	O
for	O
server	O
applications	O
that	O
require	O
minimal	O
external	O
maintenance	O
.	O
</s>
<s>
It	O
is	O
written	O
in	O
C++	B-Language
as	O
a	O
real-time	O
ISAM	B-Application
level	O
database	O
with	O
the	O
ability	O
to	O
auto	O
recover	O
from	O
system	O
crashes	O
while	O
maintaining	O
database	O
integrity	O
.	O
</s>
<s>
Features	O
of	O
ODBPP	O
include	O
:	O
full	O
multi-process	O
and	O
multi-thread	O
transaction	O
control	O
,	O
auto	O
real-time	O
database	O
recovery	O
,	O
hierarchical	O
object	O
data	O
design	O
,	O
native	O
code	O
and	O
script	O
access	O
,	O
static	O
hash	B-Algorithm
index	I-Algorithm
on	O
object	O
IDs	O
,	O
numerous	O
supported	O
index	O
methods	O
including	O
full-text	O
and	O
biometric	O
pattern	O
matching	O
.	O
</s>
<s>
ODBPP	O
supports	O
objects	O
that	O
are	O
hierarchical	O
in	O
design	O
,	O
similar	O
to	O
XML	B-Protocol
,	O
JSON	B-General_Concept
or	O
serialized	O
PHP	B-Application
.	O
</s>
<s>
It	O
is	O
this	O
hierarchical	O
object	O
that	O
separates	O
object	B-Application
databases	I-Application
from	O
their	O
relational	O
cousins	O
and	O
it	O
is	O
the	O
process	O
of	O
keeping	O
the	O
entire	O
object	O
in	O
one	O
record	O
rather	O
than	O
spreading	O
it	O
out	O
over	O
multiple	O
tables	O
that	O
give	O
object	B-Application
databases	I-Application
the	O
distinction	O
from	O
the	O
relational	O
model	O
.	O
</s>
<s>
SQL	B-Language
databases	I-Language
based	O
on	O
this	O
design	O
would	O
create	O
joins	B-Language
that	O
would	O
reconnect	O
the	O
entire	O
relation	O
back	O
together	O
,	O
suffering	O
performance	O
limitations	O
.	O
</s>
<s>
In	O
the	O
object	B-Application
database	I-Application
design	O
,	O
instead	O
of	O
using	O
multiple	O
tables	O
to	O
store	O
a	O
data	O
object	O
,	O
it	O
is	O
stored	O
in	O
one	O
a	O
single	O
record	O
.	O
</s>
<s>
This	O
memory	O
file	O
can	O
be	O
destroy	O
when	O
the	O
OS	O
starts	O
without	O
interfering	O
with	O
the	O
database	O
integrity	O
,	O
and	O
is	O
only	O
used	O
for	O
IPC	B-Operating_System
purposes	O
.	O
</s>
<s>
The	O
transaction	O
starts	O
in	O
the	O
memory	O
file	O
,	O
before	O
been	O
written	O
in	O
one	O
update	O
to	O
the	O
log	O
file	O
,	O
once	O
the	O
transaction	O
has	O
the	O
protection	O
with	O
the	O
transaction	O
secured	O
in	O
the	O
log	O
file	O
,	O
the	O
ODBMS	B-Application
then	O
able	O
to	O
update	O
the	O
index	O
and	O
table	O
files	O
.	O
</s>
<s>
The	O
entire	O
commit	O
process	O
can	O
be	O
executed	O
concurrently	O
with	O
multiple	O
transactions	O
committing	O
simultaneously	O
and	O
is	O
greatly	O
benefited	O
by	O
using	O
a	O
solid-state	B-Device
drive	I-Device
,	O
although	O
the	O
process	O
of	O
caching	O
the	O
entire	O
transaction	O
in	O
the	O
memory	O
file	O
and	O
only	O
committing	O
to	O
the	O
drive	O
at	O
the	O
end	O
does	O
help	O
reduce	O
the	O
entire	O
transaction	O
time	O
and	O
is	O
comparable	O
to	O
non-flushing	O
DBMS	B-General_Concept
.	O
</s>
<s>
Contrary	O
to	O
some	O
of	O
the	O
earlier	O
object	B-Application
database	I-Application
models	O
,	O
as	O
an	O
ISAM	B-Application
level	O
database	O
ODBPP	O
supports	O
a	O
large	O
variety	O
of	O
indexes	O
.	O
</s>
<s>
All	O
objects	O
within	O
the	O
database	O
are	O
referenced	O
by	O
their	O
object	O
identifier	O
which	O
is	O
itself	O
managed	O
via	O
a	O
static	O
hash	B-Algorithm
index	I-Algorithm
.	O
</s>
<s>
A	O
static	O
hash	B-Algorithm
index	I-Algorithm
is	O
simply	O
an	O
array	O
index	O
where	O
the	O
location	O
containing	O
the	O
address	O
of	O
the	O
object	O
is	O
deduced	O
by	O
taking	O
the	O
ID	O
value	O
,	O
multiplying	O
it	O
by	O
12	O
and	O
adding	O
an	O
offset	O
value	O
.	O
</s>
<s>
This	O
ability	O
to	O
move	O
objects	O
within	O
the	O
file	O
at	O
any	O
time	O
also	O
imposes	O
the	O
need	O
to	O
access	O
the	O
via	O
the	O
index	O
,	O
while	O
SQL	B-Language
databases	I-Language
may	O
scan	O
through	O
all	O
records	O
by	O
scanning	O
the	O
file	O
from	O
beginning	O
to	O
the	O
end	O
,	O
the	O
real-time	O
compaction	O
prohibits	O
this	O
style	O
of	O
access	O
.	O
</s>
<s>
One	O
of	O
the	O
features	O
of	O
ODBPP	O
over	O
the	O
standard	O
DBMS	B-General_Concept
is	O
that	O
data	O
stored	O
within	O
hierarchical	O
object	O
can	O
also	O
be	O
indexed	O
.	O
</s>
<s>
Spatial	B-Library
indexes	O
are	O
used	O
to	O
allow	O
searching	O
on	O
both	O
two	O
-	O
and	O
three-dimensional	O
coordinates	O
spaces	O
.	O
</s>
<s>
ODBPP	O
also	O
supports	O
sets	O
of	O
spatial	B-Library
data	O
that	O
represent	O
key	O
points	O
of	O
both	O
two	O
and	O
three	O
dimension	O
objects	O
such	O
as	O
finger	O
print	O
or	O
human	O
faces	O
.	O
</s>
<s>
These	O
sets	O
are	O
indexed	O
via	O
a	O
Spatial	B-Library
index	O
which	O
allow	O
for	O
group	O
searching	O
.	O
</s>
<s>
These	O
indexes	O
are	O
a	O
combination	O
of	O
the	O
B+	O
Tree	O
and	O
an	O
bucket	O
overflow	O
,	O
where	O
a	O
text	O
string	O
is	O
broken	O
up	O
into	O
its	O
individual	O
tokens	O
and	O
indexed	O
into	O
a	O
B+	O
Tree	O
and	O
since	O
multiple	O
object	O
will	O
have	O
the	O
same	O
token	O
value	O
,	O
the	O
ID	O
is	O
stored	O
in	O
a	O
bucket	O
overflow	O
(	O
similar	O
to	O
dynamic	O
hashing	B-Algorithm
.	O
</s>
<s>
The	O
full	O
text	O
search	O
query	B-Language
also	O
provide	O
set	O
logic	O
functions	O
to	O
reduce	O
the	O
search	O
results	O
to	O
a	O
number	O
that	O
is	O
usable	O
.	O
</s>
<s>
ODBPP	O
has	O
been	O
designed	O
to	O
function	O
in	O
both	O
a	O
procedural	O
style	O
and	O
encapsulated	O
object	O
C++	B-Language
style	O
.	O
</s>
<s>
The	O
equivalent	O
TScript	B-Application
example	O
of	O
reading	O
an	O
object	O
from	O
the	O
database	O
that	O
has	O
the	O
name	O
"	O
FooName	O
"	O
is	O
as	O
follows	O
.	O
</s>
<s>
ObjectDatabase++	B-Application
is	O
also	O
exposed	O
via	O
COM	B-Application
wrapper	O
class	O
'	O
ODBPPLib.ODBPP	O
'	O
.	O
</s>
<s>
The	O
equivalent	O
C#	B-Application
example	O
of	O
reading	O
an	O
object	O
from	O
the	O
database	O
that	O
has	O
the	O
name	O
"	O
FooName	O
"	O
is	O
as	O
follows	O
.	O
</s>
