NAME

ydb_json_import - import JSON-Files into YottaDB.

SYNOPSIS

ydb_json_import [-v] [-k] [-t] file.json ^global [ subs1 [ subs2 ... ]]

ydb_json_import imports JSON-Files into YottaDB.

ydb_json_import parses the specified JSON-file completely before storing it to the database so only well-formed JSON-files get stored. In JSON-files the empty string is a valid key - you need to enable NULL_SUBSCRIPTS to handle such files or you may get YDB_ERR_NULSUBSC errors.

OPTIONS

-v

Be verbose

-k

Kill the global reference before inserting.

-t

Perform import within a transaction. This may fail with YDB_ERR_TRANS2BIG on huge data-sets. - carefully increasing the GLOBAL_BUFFER_COUNT may help.

EXIT STATUS

On success ydb_json_import returns 0 and non-zero otherwise.

AUTHOR

Copyright (c) 2018,2019 Stefan Traby <stefan@hello-penguin.com>