Pengujian Perfoma UUID Sebagai Primary Key Pada Database PostgreSQL Dan MongoDB

The selection of a primary key is crucial in database management, as it impacts database performance and scalability. This study aims to evaluate one of the trending types of primary keys among developers — UUID. The evaluation is conducted on two different databases, PostgreSQL and MongoDB, using auto-increment and MongoDB’s ObjectId as comparisons. The testing involves importing data from a CSV file and processing it in parallel to assess the efficiency of each primary key in handling data insertion. The results show that auto-increment has advantages in terms of speed and smaller storage size compared to UUID, especially in MongoDB. In PostgreSQL, the speed difference is not as significant, but auto-increment remains more efficient in storage usage. This study provides valuable insights for developers in selecting the appropriate primary key based on system performance requirements.

Authors

Institutions

Publication Details

Journal
Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi)
Published
2025-07-14
DOI
https://doi.org/10.35870/jtik.v9i4.3878
Primary Topic
Decision Support System Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Pengujian Perfoma UUID Sebagai Primary Key Pada Database PostgreSQL Dan MongoDB

Sri Winarso Martyas Edi, Muhamad Kamal Shamlan
Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi)
Decision Support System Applications
article

Pengujian Perfoma UUID Sebagai Primary Key Pada Database PostgreSQL Dan MongoDB

Sri Winarso Martyas Edi, Muhamad Kamal Shamlan
article en

Abstract

The selection of a primary key is crucial in database management, as it impacts database performance and scalability. This study aims to evaluate one of the trending types of primary keys among developers — UUID. The evaluation is conducted on two different databases, PostgreSQL and MongoDB, using auto-increment and MongoDB’s ObjectId as comparisons. The testing involves importing data from a CSV file and processing it in parallel to assess the efficiency of each primary key in handling data insertion. The results show that auto-increment has advantages in terms of speed and smaller storage size compared to UUID, especially in MongoDB. In PostgreSQL, the speed difference is not as significant, but auto-increment remains more efficient in storage usage. This study provides valuable insights for developers in selecting the appropriate primary key based on system performance requirements.

Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi)Vol. 9(4)
Satya Wacana Christian University (ID)
Openalex Percentile: Top 71%
Decision Support System Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Pengujian Perfoma UUID Sebagai Primary Key Pada Database PostgreSQL Dan MongoDB — Sri Winarso Martyas Edi, Muhamad Kamal Shamlan · Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi) (2025) | TGRS Research Map | TGRS