Working on the binary I/O in the compressed database