nmig/sample_config.json

62 lines
1.9 KiB
JSON
Raw Normal View History

2015-12-07 07:37:14 +02:00
{
"source_description" : [
2015-12-10 07:54:28 +02:00
"Connection parameters to your MySQL database",
"Please ensure, that you have defined all parameters properly.",
"Ensure, that details like 'charset' are included (if necessary)."
2015-12-07 07:37:14 +02:00
],
2015-12-10 07:54:28 +02:00
"source" : {
"host" : "localhost",
"port" : 3306,
"database" : "test_db",
"charset" : "UTF8",
"user" : "root",
"password" : ""
},
"max_pool_size_source_description" : [
"Maximal amount of simultaneous connections to your MySQL database during migration"
],
"max_pool_size_source" : 10,
2015-12-07 07:37:14 +02:00
"target_description" : [
2015-12-10 07:54:28 +02:00
"Connection parameters to your PostgreSQL database",
"Please ensure, that you have defined all parameters properly.",
"Ensure, that details like 'charset' are included (if necessary)."
2015-12-07 07:37:14 +02:00
],
2015-12-10 07:54:28 +02:00
"target" : {
"host" : "localhost",
"port" : 5432,
"database" : "test_db",
"charset" : "UTF8",
"user" : "postgres",
"password" : "7370142533"
},
"max_pool_size_target_description" : [
"Maximal amount of simultaneous connections to your PostgreSQL database during migration"
],
"max_pool_size_target" : 10,
2015-12-07 07:37:14 +02:00
"encoding_description" : [
2015-12-09 07:56:39 +02:00
"JavaScript encoding type.",
2015-12-07 07:37:14 +02:00
"If not supplied, then utf-8 will be used as a default."
],
"encoding" : "utf-8",
"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" : "",
"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 10 MB will be used as a default."
],
"data_chunk_size" : 2
}