related: any high level architecture details on how BlueSky uses SQLite per user?
SQLite simply stores those posts and that signed Merkle tree. The PDS account host server also has another SQLite DB with a list of its accounts.
They have fancier stuff in their appview server and relay server