Inserts rows into a table using different workers in parallel
Usage of ./paralsql:
-addr string
IP address of immudb server
-db string
Name of the database to use (default "defaultdb")
-debug
log level: debug
-pass string
Password for authenticating to immudb (default "immudb")
-port int
Port number of immudb server (default 3322)
-rows int
Rows to be inserted by a worker (default 1000)
-txsize int
Transaction size (default 256)
-user string
Username for authenticating to immudb (default "immudb")
-workers int
Number of workers (default 1)
Copyright 2021 CodeNotary, Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.