Benchmarking
We made performance comparisons for the SAP HANA system at AIR·MS comparing:
- Execution time
- Search time
- Data compression ratio
Execution Time Performance Benchmark
Below is a detailed performance comparison between AIR·MS using SAP HANA and Microsoft SQL Server.
The cohort record count for both was 985,092 records.
Database Systems
AIR·MS on SAP HANA: SAP HANA 2.0 SPS05 on Azure Standard M64s (64 vCPUs with 1024 GiB memory)
Microsoft SQL Server: Microsoft SQL Server Enterprise 2019 Azure Standard L32s v2 (32 vCPUs with 256 GiB memory)
First Run
- AIR·MS on SAP HANA: 174 ms 268 µs
- Microsoft SQL Server: 5 minutes 29 seconds
Second Run
- AIR·MS on SAP HANA: 173 ms 384 µs
- Microsoft SQL Server: 5 minutes 36 seconds
Third Run
- AIR·MS on SAP HANA: 172 ms 193 µs
- Microsoft SQL Server: 5 minutes 36 seconds
Average Execution Time
- AIR·MS on SAP HANA: 173 ms 281 µs
- Microsoft SQL Server: 5 minutes 33 seconds
Example SQL code used to build patient cohort in AIR·MS:
select count(*) from ( select CDMPHI.CONDITION_OCCURRENCE.PERSON_ID, CDMPHI.PERSON.GENDER_SOURCE_VALUE as gender, CDMPHI.PERSON.RACE_SOURCE_VALUE as race, CDMPHI.CONCEPT.CONCEPT_NAME as diagnosis, CDMPHI.CONCEPT.CONCEPT_CODE as icd10, CDMPHI.CONDITION_OCCURRENCE.CONDITION_START_DATE as dx_date from CDMPHI.CONDITION_OCCURRENCE join CDMPHI.CONCEPT_RELATIONSHIP on CDMPHI.CONCEPT_RELATIONSHIP.CONCEPT_ID_2 = CDMPHI.CONDITION_OCCURRENCE.CONDITION_CONCEPT_ID join CDMPHI.CONCEPT on CDMPHI.CONCEPT.CONCEPT_ID = CDMPHI.CONCEPT_RELATIONSHIP.CONCEPT_ID_1 join CDMPHI.PERSON on CDMPHI.PERSON.PERSON_ID = CDMPHI.CONDITION_OCCURRENCE.PERSON_ID where CDMPHI.CONCEPT_RELATIONSHIP.RELATIONSHIP_ID = ‘Maps to’ and CDMPHI.CONCEPT.VOCABULARY_ID like ‘%ICD10%’ and CDMPHI.CONCEPT.CONCEPT_CODE like ‘C34%’) as count
In-Memory Search Benchmark
The following examples show execution time benchmarks for our SAP HANA system.
- AIR.MS in-memory full-text search performance examples
- Number of indexed notes: 86,893,767
Example 1: Show count for notes containing an EXACT search string ‘acute kidney disease’, broken down by gender

0.31 second runtime!
Example 2: Show count for notes containing FUZZY search string ‘acute kidney disease’, broken down by gender

0.39 second runtime!
Example 3: Show results for FUZZY search containing term ‘ulcerative colitis’, and group by Note Type

0.09 second runtime!

