B-Trees vs LSM Trees: Comparison and Trade-Offs