Skip to content

Commit 7f657fd

Browse files
authored
Merge pull request #324 from tidesdb/updates401
minor touch ups
2 parents 0d374c9 + 7914da8 commit 7f657fd

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/content/docs/articles/tidesql-v1-1-0-and-innodb-in-mariadb-12-1-benchmark-analysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ head:
2222

2323
*published on February 2nd, 2026*
2424

25-
I'm always hard at work! With the latest TidesDB 8 release I dove into TideSQL to get it up to par. TideSQL now uses the LSMB+ by default though this can be configured. I ran a few sysbench tests to compare the performance of <a href="https://github.com/tidesdb/tidesql/releases/tag/v1.1.0">TideSQL v1.1.0</a> with InnoDB in MariaDB 12.1.
25+
I'm always hard at work! With the latest TidesDB 8 release I dove into TideSQL to get it up to par. <a target="_blank" href="/reference/tidesql/">TideSQL</a> now uses the LSMB+ by default though this can be configured. I ran a few sysbench tests to compare the performance of <a target="_blank" href="https://github.com/tidesdb/tidesql/releases/tag/v1.1.0">TideSQL v1.1.0</a> with InnoDB in MariaDB 12.1.
2626

2727
The environment used for the benchmark was:
2828
- Intel Core i7-11700K (8 cores, 16 threads) @ 4.9GHz

src/content/docs/reference/tidesql.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ha_tidesdb: public handler
191191
uchar *row_buffer;
192192
uint row_buffer_len;
193193

194-
/* Current row position (for rnd_pos) - pre-allocated buffer */
194+
/* Current row position (for rnd_pos) -- pre-allocated buffer */
195195
uchar *current_key;
196196
size_t current_key_len;
197197
size_t current_key_capacity; /* Pre-allocated capacity */
@@ -580,7 +580,7 @@ TidesDB supports handler cloning for parallel operations:
580580
```cpp
581581
handler *ha_tidesdb::clone(const char *name, MEM_ROOT *mem_root)
582582
{
583-
/* Use base class clone - TidesDB handlers share TIDESDB_SHARE */
583+
/* Use base class clone -- TidesDB handlers share TIDESDB_SHARE */
584584
handler *new_handler = handler::clone(name, mem_root);
585585
if (new_handler)
586586
new_handler->set_optimizer_costs(ha_thd());
@@ -589,9 +589,9 @@ handler *ha_tidesdb::clone(const char *name, MEM_ROOT *mem_root)
589589
```
590590

591591
Handler cloning enables:
592-
- DS-MRR - Uses two handlers (index scan + rnd_pos)
593-
- Parallel query execution - Multiple handlers for concurrent scans
594-
- WITHOUT OVERLAPS - Unique hash key lookups
592+
- DS-MRR · Uses two handlers (index scan + rnd_pos)
593+
- Parallel query execution · Multiple handlers for concurrent scans
594+
- WITHOUT OVERLAPS · Unique hash key lookups
595595

596596
---
597597

@@ -775,7 +775,7 @@ static void tidesdb_update_optimizer_costs(OPTIMIZER_COSTS *costs)
775775
| `key_next_find_cost` | 0.00012 | Merge iterator overhead |
776776
| `disk_read_ratio` | 0.20 | 80% block cache hit rate |
777777
778-
### scan_time() - Full Table Scan Cost
778+
### scan_time() · Full Table Scan Cost
779779
780780
```cpp
781781
IO_AND_CPU_COST ha_tidesdb::scan_time()
@@ -796,7 +796,7 @@ IO_AND_CPU_COST ha_tidesdb::scan_time()
796796
}
797797
```
798798

799-
### read_time() - Index/Point Lookup Cost
799+
### read_time() · Index/Point Lookup Cost
800800

801801
```cpp
802802
IO_AND_CPU_COST ha_tidesdb::read_time(uint index, uint ranges, ha_rows rows)
@@ -1308,9 +1308,9 @@ ulonglong pk_val = my_atomic_add64_explicit(
13081308
| Change buffer | Mutex | Batch secondary index updates |
13091309

13101310
TidesDB's internal components are lockless:
1311-
- Skip lists (memtables) - Lock-free CAS for updates
1312-
- Block manager - Atomic offset allocation
1313-
- Clock cache - Lock-free state machines
1311+
- Skip lists (memtables) · Lock-free CAS for updates
1312+
- Block manager · Atomic offset allocation
1313+
- Clock cache · Lock-free state machines
13141314

13151315
---
13161316

@@ -1332,7 +1332,7 @@ static int tidesdb_commit(THD *thd, bool all)
13321332

13331333
if (ret == TDB_ERR_CONFLICT)
13341334
{
1335-
/* Transaction conflict - tell MySQL to retry */
1335+
/* Transaction conflict -- tell MySQL to retry */
13361336
return HA_ERR_LOCK_DEADLOCK;
13371337
}
13381338
...

0 commit comments

Comments
 (0)