-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Julian Qian wrote: > I would like us to understand the write patterns of Sqlite.
It looks like the 4 bytes is some sort of header for each database page. Your trace seems to be of the Android emulator rather than your application (there are no syncs or fcntl). If you want to see why each write happens then attach to the process using a debugger and put a breakpoint on the relevant VFS write routine (eg unixWrite for Unix/Linux systems). Examining the backtrace will then tell you which code is responsible. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIq2/OmOOfHg372QQRAh8JAJ4qIC6pVttNXdoykgNmw+jLz7kI0ACfboOZ DpaOfJx08KVNMRUZSnnx3vE= =QFie -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users