nmig/config.json
Anatoly Khaytovich 27a9dac6f2 Update config.json
2016-01-25 15:00:49 +02:00

73 lines
2.7 KiB
JSON

{
"source_description" : [
"Connection parameters to your MySQL database",
"Please ensure, that you have defined all parameters properly.",
"Ensure, that details like 'charset' are included (if necessary)."
],
"source" : {
"host" : "localhost",
"port" : 3306,
"database" : "test_db",
"charset" : "UTF8",
"user" : "root",
"password" : "0123456789"
},
"max_pool_size_source_description" : [
"Maximal amount of simultaneous connections to your MySQL database during migration"
],
"max_pool_size_source" : 10,
"target_description" : [
"Connection parameters to your PostgreSQL database",
"Please ensure, that you have defined all parameters properly.",
"Ensure, that details like 'charset' are included (if necessary)."
],
"target" : {
"host" : "localhost",
"port" : 5432,
"database" : "test_db",
"charset" : "UTF8",
"user" : "postgres",
"password" : "0123456789"
},
"max_pool_size_target_description" : [
"Maximal amount of simultaneous connections to your PostgreSQL database during migration"
],
"max_pool_size_target" : 10,
"encoding_description" : [
"JavaScript encoding type.",
"If not supplied, then utf-8 will be used as a default."
],
"encoding" : "utf8",
"schema_description" : [
"schema - a name of the schema, that will contain all migrated tables.",
"If not supplied, then a new schema will be created automatically."
],
"schema" : "test_schema",
"data_chunk_size_description" : [
"During migration each table's data will be split into chunks of data_chunk_size (in MB).",
"If not supplied, then 2 MB will be used as a default."
],
"data_chunk_size" : 2,
"copy_only_description" : [
"During migration each table's data will be split into chunks, and each chunk will be transmitted via COPY protocol.",
"By default, if transmission via COPY fails then current chunk's data will be transmitted via INSERT statments, which may last considerably longer.",
"This behavior can be disabled for tables, included into the list (Array) below."
],
"copy_only" : [],
"no_vacuum_description" : [
"PostgreSQL VACUUM reclaims storage occupied by dead tuples. VACUUM is a very time-consuming procedure.",
"By default, VACUUM will be performed automatically after migration (recommended)",
"This behavior can be disabled for tables, included into the list (Array) below."
],
"no_vacuum" : []
}