Commit b7961100 authored by Donald H. (Donnie) Pinkston, III's avatar Donald H. (Donnie) Pinkston, III
Browse files

Data for exercising B+ trees

parent 1c928de0
No related merge requests found
Showing with 122224 additions and 0 deletions
+122224 -0
The tiny file is best to start with, since it only has 20 rows.
After that, the small_*.sql through huge_*.sql files have data-sets
of varying sizes for exercising the index behavior:
* small_*.sql should only require one leaf page in the index
* large_*.sql should require multiple leaves, but only one inner page
* huge_*.sql should require multiple inner pages and many leaves
Note that some of the data files may take a minute or more to run on
some machines.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
CREATE TABLE test_pk_index (
id INTEGER PRIMARY KEY,
value VARCHAR(20)
);
INSERT INTO test_pk_index VALUES (2, 'X4cg8DxhGa1sQW0HdBp');
INSERT INTO test_pk_index VALUES (19, 'lC6SHstTpkdv8LNWD');
INSERT INTO test_pk_index VALUES (8, 'cOfWN');
INSERT INTO test_pk_index VALUES (16, 'lY0GB4Py62pur1gDid');
INSERT INTO test_pk_index VALUES (11, 'OmuP3ErnoB1KyCk');
INSERT INTO test_pk_index VALUES (14, 'wMvWiyzUKVs');
INSERT INTO test_pk_index VALUES (9, 'ayiYHED3IV1SW0m');
INSERT INTO test_pk_index VALUES (0, '2EX70elUqT4AVR5B6FYW');
INSERT INTO test_pk_index VALUES (10, 'FxIn9fS5B');
INSERT INTO test_pk_index VALUES (15, 'vNZESd');
INSERT INTO test_pk_index VALUES (17, 'bQlNix0EwPz');
INSERT INTO test_pk_index VALUES (4, 'rbUj0');
INSERT INTO test_pk_index VALUES (5, 'PvVeiCmunMdRGyckaAl');
INSERT INTO test_pk_index VALUES (6, 'vlXOgSyBHxWirK');
INSERT INTO test_pk_index VALUES (3, '7UN9FpzJbgmqGSELo0');
INSERT INTO test_pk_index VALUES (12, 'jcaMZvlkW2uJdxImQoF');
INSERT INTO test_pk_index VALUES (13, '4INO7C5mnrej3SwtGXzb');
INSERT INTO test_pk_index VALUES (1, 'mD1XpdVt');
INSERT INTO test_pk_index VALUES (7, 'eRSnEbH6aWiKf');
INSERT INTO test_pk_index VALUES (18, 'HmwJ9U');
QUIT;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment