From d98f80dde3052acae503c589e15b5243afb864b7 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Wed, 30 Sep 2026 07:56:49 +0100 Subject: Compare TPC-C on the SD card with SQLite committing in groups, not each transaction The 90x of 092 was against SQLite's defaults committing each transaction; tuned for the card and grouped as Pure groups, SQLite is 4-11x behind, the bytes it writes a transaction being the difference. --- docs/research/092-tpcc.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/research/092-tpcc.md') diff --git a/docs/research/092-tpcc.md b/docs/research/092-tpcc.md index 247c189..4cac74e 100644 --- a/docs/research/092-tpcc.md +++ b/docs/research/092-tpcc.md @@ -175,6 +175,8 @@ W=1(창고 하나, 초기 행 약 57만), Raspberry Pi 5(4코어), 서버는 코 카드는 상태에 따라 흔들린다. 압축 기록으로 128터미널을 세 번 재니 4,502–6,824건이었다(그 전에는 3,073–5,396건). SQLite FULL은 44–57건이었다. 로그로 옮기기 전(목록을 트리에 두던 때)에는 30초 가운데 16초가 0이었다. 이제는 매초 처리한다. +이 SQLite는 기본 설정으로 트랜잭션마다 커밋했다. SQLite도 카드에 맞게 조율하고 Pure처럼 묶어 커밋하게 한 비교, 그리고 창고 +넷은 [106](106-tpcc-conditions-first.md)에 있다. 차이는 4–11배로 줄고, 남은 것은 거래당 쓰는 바이트다. SQLite의 `synchronous=NORMAL`(WAL 체크포인트 때만 동기화해 전원이 끊기면 최근 커밋을 잃는다)은 초당 36건(1스레드), 372건(4스레드)이다. `OFF`(동기화 없음)는 8,941건이다. Pure는 내구성을 낮추지 않고도 NORMAL의 12배다. -- cgit v1.2.3