Subject | Re: [firebird-support] Write into a .fdb file without the overhead of API's |
---|---|
Author | Ann W. Harrison |
Post date | 2005-07-01T16:28:19Z |
Revathy Mahalingam wrote:
and then look at the file ods.h in the src/jrd directory of the CVS
source tree to get the record header format. Look at sqz.cpp for the
record compression code. You probably don't want to create your own
indexes, but if you do, study btr.cpp and btn.cpp.
What you'll find, in the end, is that you've built all the overhead of
the engine and lack only its other useful features like transaction
recovery and concurrency control.
Regards,
Ann
>You can start here: http://www.ibphoenix.com/main.nfs?page=ibp_expert2
> Can anyone tell me what is the raw format of the Firebird database files, so
> that I can directly write into a file without the overhead of the API's
>
>
and then look at the file ods.h in the src/jrd directory of the CVS
source tree to get the record header format. Look at sqz.cpp for the
record compression code. You probably don't want to create your own
indexes, but if you do, study btr.cpp and btn.cpp.
What you'll find, in the end, is that you've built all the overhead of
the engine and lack only its other useful features like transaction
recovery and concurrency control.
Regards,
Ann