How is a SQLite database file structured?
Information about pages:
What kind of important information are in the header page?
What does the schema table contains?
It contains information about the tables, triggers, indexes.
Schema Type can be:
SQL query statement to create this table can be found after the Root Page Number.
What are the four SQLite data types?
What are B-Trees?
Each node of a B-Tree corresponds to a page of the SQL database file.
Name the two types of pages and one main difference?
In general, internal and Leaf pages have the same structure. However, leafe pages do not have the value of the last four byte information, because there is no child page.
Name the x steps of the recovery of deleted records:
Once the scanning of all unallocated areas are completed, the child page is scanned, the scanning repeats for the rest of the pages to complete the recovery process.
What happes in MySQL when a record gets deleted?
When deleting a record SQLite changes the first 2-byte of a cell to the offset value of the next free block, then changes the next 2-byte of a cell with the length of current free block.
Name some tools for SQLite data recovery?