PostgreSQL Goes Multi-Model: Graph, Vector, and SQL

A second case study of the clinical trials

Sixing Huang
10 min readSep 18, 2024

--

Photo by Isaac Quesada on Unsplash

A clinical trial is a type of research that evaluates the safety, efficacy, and effectiveness of experimental drugs, medical devices, or procedures in humans. They are crucial for advancing medical knowledge and improving patient outcomes. However, they can be extremely costly. A 2020 study by Moore et al. revealed that the median cost of 101 drug trials was a substantial US$48 million. And one of the major cost factors is the recruitment of enough qualified volunteers. Strict eligibility criteria narrow the potential participant pool, while limited awareness of clinical trials among eligible patients further hampers recruitment efforts.

In my last article Clinical Trial Search with Google Spanner: Graph, SQL, Vector, and LLM All in One Query, I outlined the development of an information system that enables patients to search for valuable data on drugs, diseases, mechanisms of action (MOA), and clinical trials. The system was built on the fully managed, multi-model Google Spanner database. Freed from the constraints of single-model databases, I was able to store data flexibly in a combination of graph, table, and vector formats. This approach simplified the data modeling process, reducing the time, effort, and complexity involved. Furthermore, users could…

--

--

Sixing Huang
Sixing Huang

Written by Sixing Huang

A Neo4j Ninja, German bioinformatician in Gemini Data. I like to try things: Cloud, ML, satellite imagery, Japanese, plants, and travel the world.

No responses yet