Subject Internal Database Image
Author Alexey
Hello, FBTeam developers!
I have read the article "The Interbase On-Disk structure" by Ann W.Harrison
http://community.borland.com/article/0,1410,27151,00.html,.
Great and bright.
But I have some "theoretical" questions about building of "internal
database
image".

Here is the sequence as I can imagine this:

1) Read the header page, find the number of 1st pointer page and go there.
2) While reading the 1st poiter page, build the RDB$Pages.
3) After that, read from RDB$Pages -> proceed with RDB$Relations and so
on -
i.e. building the system tables.

I think that some "trick" here. The RDB$Pages creates the first, but if I
SELECT RDB$RELATION_NAME FROM RBD$RELATION, I can see it! And I can see
RDB$Relations itself!

I suppose, than IB engine builds RDB$Pages, it works with it as non-table
(maybe, as array or something else), and than RDB$RELATIONS created, IB
"legalizes" the RDB$Pages as table (and other RDB$?...) - it just write
down
the records into RDB$Relations. And may be something else. :)

So, is it right idea? I cannot find information about internal database
representation.
Can anybody help me and describe the process of creation of internal
database image? Or give me some urls or docs?
Sincerely,
Alexey Kovyazin,
www.eastview.com