VLTEST(1)
π VLTEST(1) π
okay bestie, welcome to vltest, part of the Quick Database Manager family (that's QDBM, and she's iconic). this whole page is the manual for the vltest command, so grab a strawberry drink and let's get into it π
β¨ NAME β¨
vltest β test cases for QDBM Villa. literally just that. a lil test-suite gremlin for the Villa database engine π§
πΈ SYNOPSIS πΈ
vltest write [-int] [-cz|-cy|-cx] [-tune lrecmax nidxmax lcnum ncnum]
[-fbp num] name rnum
vltest read [-int] name
vltest rdup [-int] [-cz|-cy|-cx] [-cc] [-tune lrecmax nidxmax lcnum
ncnum] [-fbp num] name rnum pnum
vltest combo [-cz|-cy|-cx] name
vltest wicked [-c] [-cz|-cy|-cx] name rnum
five little modes, each one its own whole vibe π
π¦ DESCRIPTION π¦
so vltest is a utility for facility test and performance test. what that means in human words: you use it to check a database that was generated by the command, or to measure the execution time of the command. main character energy fr fr β±οΈ
you run it in the following format. name specifies a database name. rnum specifies the number of the records. both of those are load-bearing, don't skip 'em.
π vltest write [-int] [-cz|-cy|-cx] [-tune lrecmax nidxmax lcnum ncnum] [-fbp num] name rnum
store records with keys of 8 bytes. and the way they change? they go 00000001, 00000002, and so on forever, like a little count-up situation β¨
π vltest read [-int] [-vc] name
retrieve all records of the database above. that's it. that's the whole thing. she reads π
π vltest rdup [-int] [-cz|-cy|-cx] [-cc] [-tune lrecmax nidxmax lcnum ncnum] [-fbp num] name rnum pnum
store records with partway duplicated keys using duplicate mode. note the extra pnum β she's built different, she takes one more argument than her sister π«Ά
π vltest combo [-cz|-cy|-cx] name
perform combination test of various operations. it's giving chaos, but make it structured π
π vltest wicked [-c] [-cz|-cy|-cx] name rnum
perform updating operations selected at random. yes, random. yes, "wicked" is the actual name. no cap π
π OPTIONS π
options feature the following. every single one, bestie, i'm not skipping a thing:
-intβ treat keys and values as objects ofint, and use comparing functionVL_CMPINT. basically: int mode, on, slay.-czβ compress leaves in the database with ZLIB. tiny leaves, big savings πΈ-cyβ compress leaves in the database with LZO.-cxβ compress leaves in the database with BZIP2.-vcβ refer to volatile cache. lowkey my fave, it's fast.-ccβ selectVL_DCATorVL_DDUPat random. spin the wheel, choose your destiny π‘-tune lrecmax nidxmax lcnum ncnumβ set tuning parameters. four numbers, one dream.-fbp numβ set the size of the free block pool.-cβ perform comparison test with map of Cabin. (Cabin is a whole other icon, iykyk.)
ok important: this command returns 0 on success, and another on failure. so zero = good, not-zero = we're crying π
also!! the environment variableQDBMDBGFDspecifies the file descriptor to output the history of updating the variabledpecode. yeah,dpecode. it's a debugging thing. set it and you get the receipts π§Ύ
π SEE ALSO π
go read those too, they're the supporting cast and they ate β¨
π AUTHOR π
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. legend behavior, honestly π
and that's the whole page bestie!! this was the VLTEST(1) man page from the Quick Database Manager, dated 2005-06-01 β yeah she's vintage, she's a classic, she's still serving π go write some records, drink some water, and remember: exit status 0 or it's over for you. periodt. ππ¦
π¦ where this page comes from
- debian bookworm: qdbm-util 1.8.78-12+b1 Β· LGPL-2.1-or-later
- debian trixie: qdbm-util 1.8.78-13+b3 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- ubuntu jammy: qdbm-util 1.8.78-11build3 Β· LGPL-2.1-or-later
- ubuntu noble: qdbm-util 1.8.78-12.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: qdbm-util 1.8.78-13build2
- ubuntu resolute: qdbm-util 1.8.78-15 Β· LGPL-2.1-or-later
- ubuntu stonking: qdbm-util 1.8.78-16build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms