1 / 22

Postgres and the Genome

Postgres and the Genome. Jeff Pennington Director, Translational Informatics Center for Biomedical Informatics And Department of Pathology The Children’s Hospital Of Philadelphia. Outline. Background Genome analysis in the clinic Application Database DB Tuning. DNA as Data.

Download Presentation

Postgres and the Genome

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Postgres and the Genome Jeff Pennington Director, Translational Informatics Center for Biomedical Informatics And Department of Pathology The Children’s Hospital Of Philadelphia

  2. Outline • Background • Genome analysis in the clinic • Application • Database • DB Tuning

  3. DNA as Data • 4 letter ‘alphabet’ of bases – A T C G • 3,000,000,000 base pairs • Sequence codes for biological function

  4. Mutations

  5. Clinical Mutation = ‘Variant’

  6. Sequencing = 100K – 4M Variants

  7. VARIFY

  8. VARIFY Architecture • Varify Architecture • Three-tier web application • Harvest (http://harvest.research.chop.edu) • Javascript client • Python server using Django ORM • Postgres 9.2

  9. Database • Physical – 9.2, RHEL VM, VMWarew/ storage on host • Round 1 – 4G RAM, 80G disk • Round 2 – 32 G RAM, 250G disk

  10. Tuning • max_connections – too big, • shared_buffers – amount of memory allocated to PG • work_mem – amount of memory available to sort • default_statistics_target – gives the query planner something to work with

  11. Resources • Book: PostgreSQL9.0 High Performance • Ch 5 and 6 • Page 145 • Tools: pg_buffercache • Benchmarking: • \timing • EXPLAIN • log_min_duration_statement = 5000

  12. Tuning Round 1 (4G RAM) • max_connections = 100 • shared_buffers = 1024MB (default 32MB) • work_mem = 200MB (default 1M) • Tried 1G, bad trade-off on count (slow) vs. list (not much faster)

  13. Tuning Round 2 (32G RAM) • max_connections = 100 • shared_buffers = 24576MB (Increased from 1024MB) • work_mem = 150MB (Decreased from 200MB)

  14. Tuning Round 3 • Everything in Round 2 • default_statistics_target = 1000 (default 100)

More Related