README.md in embulk-output-oracle-0.5.0 vs README.md in embulk-output-oracle-0.5.1

- old
+ new

@@ -3,12 +3,12 @@ Oracle output plugins for Embulk loads records to Oracle. ## Overview * **Plugin type**: output -* **Load all or nothing**: depnds on the mode. see bellow. -* **Resume supported**: depnds on the mode. see bellow. +* **Load all or nothing**: depnds on the mode. see below. +* **Resume supported**: depnds on the mode. see below. ## Configuration - **driver_path**: path to the jar file of the Oracle JDBC driver (string) - **host**: database host name (string, required if url is not set or insert_method is "oci") @@ -17,11 +17,11 @@ - **password**: database login password (string, default: "") - **database**: destination database name (string, required if url is not set or insert_method is "oci") - **url**: URL of the JDBC connection (string, optional) - **table**: destination table name (string, required) - **options**: extra connection properties (hash, default: {}) -- **mode**: "insert", "insert_direct", "truncate_insert", or "replace". See bellow. (string, required) +- **mode**: "insert", "insert_direct", "truncate_insert", or "replace". See below. (string, required) - **insert_method**: see below - **batch_size**: size of a single batch insert (integer, default: 16777216) - **default_timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp into a SQL string. This default_timezone option is used to control the timezone. You can overwrite timezone for each columns using column_options option. (string, default: `UTC`) - **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column. - **type**: type of a column when this plugin creates new tables (e.g. `VARCHAR(255)`, `INTEGER NOT NULL UNIQUE`). This used when this plugin creates intermediate tables (insert, truncate_insert and merge modes), when it creates the target table (insert_direct and replace modes), and when it creates nonexistent target table automatically. (string, default: depends on input column type. `BIGINT` if input column type is long, `BOOLEAN` if boolean, `DOUBLE PRECISION` if double, `CLOB` if string, `TIMESTAMP` if timestamp) @@ -46,16 +46,16 @@ * **replace**: * Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name. * Transactional: Yes. * Resumable: No. -### Insert modes +### Insert methods insert_method supports three options. "normal" means normal insert (default). It requires Oracle JDBC driver. -"direct" means direct path insert. It is faster than 'normal. +"direct" means direct path insert. It is faster than "normal". It requires Oracle JDBC driver too, but the version 12 driver doesn't work (the version 11 driver works). "oci" means direct path insert using OCI(Oracle Call Interface). It is fastest. It requires both Oracle JDBC driver and Oracle Instant Client (version 12.1.0.2.0). You must set the library loading path to the OCI library.