|
1 | 1 | { |
| 2 | + "README" : [ |
| 3 | + "This JSON document represents the main configuration options.", |
| 4 | + "Please, be mindful, read each option's description before setting its value." |
| 5 | + ], |
| 6 | + |
2 | 7 | "source_description" : [ |
3 | 8 | "Connection parameters to your MySQL database", |
4 | 9 | "Please ensure, that you have defined all parameters properly.", |
|
13 | 18 | "password" : "0123456789" |
14 | 19 | }, |
15 | 20 |
|
16 | | - "max_pool_size_source_description" : [ |
17 | | - "Maximal amount of simultaneous connections to your MySQL database during migration" |
18 | | - ], |
19 | | - "max_pool_size_source" : 10, |
20 | | - |
21 | 21 | "target_description" : [ |
22 | 22 | "Connection parameters to your PostgreSQL database", |
23 | 23 | "Please ensure, that you have defined all parameters properly.", |
|
32 | 32 | "password" : "0123456789" |
33 | 33 | }, |
34 | 34 |
|
35 | | - "max_pool_size_target_description" : [ |
36 | | - "Maximal amount of simultaneous connections to your PostgreSQL database during migration" |
| 35 | + "max_db_connection_pool_size_description" : [ |
| 36 | + "Maximal amount of simultaneous connections to your MySQL and PostgreSQL servers.", |
| 37 | + "For example: 10 means, that nmig will create a pool of 10 connections to MySQL server", |
| 38 | + "and 10 connections to PostgreSQL server.", |
| 39 | + "20 connections to both servers." |
37 | 40 | ], |
38 | | - "max_pool_size_target" : 10, |
39 | | - |
40 | | - "pipe_width_description" : [ |
41 | | - "Maximal amount of data-chunks, processed in a single 'DataPipe' iteration.", |
42 | | - "Note: 'pipe_width' should not be greater than 'max_pool_size_target'." |
43 | | - ], |
44 | | - "pipe_width" : 10, |
45 | | - |
46 | | - "max_loader_processes_description" : [ |
47 | | - "Each 'DataPipe' iteration processed by a separate process (o.s. thread).", |
48 | | - "max_loader_processes is a maximal amount of simultaneously running loader processes.", |
49 | | - "If not supplied, then max_loader_processes will be equals to one." |
50 | | - ], |
51 | | - "max_loader_processes" : 1, |
| 41 | + "max_db_connection_pool_size" : 10, |
52 | 42 |
|
53 | 43 | "loader_max_old_space_size_description" : [ |
54 | 44 | "V8 memory limit of the loader process.", |
55 | | - "Possible values are: any number, representing memory limit (in MB),", |
56 | | - "or DEFAULT, representing V8 default limit for your current hardware." |
| 45 | + "Possible values are:", |
| 46 | + "1. any number, representing memory limit (in MB).", |
| 47 | + "2. 'DEFAULT', representing V8 default memory limit for your current hardware." |
57 | 48 | ], |
58 | 49 | "loader_max_old_space_size" : "DEFAULT", |
59 | 50 |
|
|
64 | 55 | "encoding" : "utf8", |
65 | 56 |
|
66 | 57 | "schema_description" : [ |
67 | | - "schema - a name of the schema, that will contain all migrated tables.", |
| 58 | + "A name of the schema, that will contain all migrated tables.", |
68 | 59 | "If not supplied, then a new schema will be created automatically." |
69 | 60 | ], |
70 | 61 | "schema" : "public", |
71 | 62 |
|
72 | 63 | "data_chunk_size_description" : [ |
73 | | - "During migration each table's data will be split into chunks of data_chunk_size (in MB).", |
74 | | - "If not supplied, then 1 MB will be used as a default." |
| 64 | + "During migration each table's data will be split into chunks not larger than data_chunk_size (in MB).", |
| 65 | + "If not supplied, then 10 MB will be used as a default." |
75 | 66 | ], |
76 | | - "data_chunk_size" : 1, |
| 67 | + "data_chunk_size" : 10, |
77 | 68 |
|
78 | 69 | "no_vacuum_description" : [ |
79 | | - "PostgreSQL VACUUM reclaims storage occupied by dead tuples. VACUUM is a very time-consuming procedure.", |
| 70 | + "PostgreSQL VACUUM reclaims storage occupied by dead tuples.", |
| 71 | + "VACUUM is a very time-consuming procedure.", |
80 | 72 | "By default, VACUUM will be performed automatically after migration (recommended)", |
81 | 73 | "This behavior can be disabled for tables, included into the list (Array) below.", |
82 | 74 | "Table names, included into the list below should be names, you use in your source database (MySQL)." |
|
96 | 88 | "migrate_only_data" : false, |
97 | 89 |
|
98 | 90 | "delimiter_description" : [ |
99 | | - "Specifies the character that separates columns within each record.", |
| 91 | + "Specifies the character, that separates columns within each record.", |
100 | 92 | "This must be a single one-byte character.", |
101 | 93 | "The default is comma." |
102 | 94 | ], |
103 | 95 | "delimiter" : ",", |
104 | 96 |
|
105 | 97 | "enable_extra_config_description" : [ |
106 | | - "In order to enable the additional configuration options - set this parameter true." |
| 98 | + "In order to enable the additional configuration options, placed at extra_config.json", |
| 99 | + " - set this parameter true." |
107 | 100 | ], |
108 | 101 | "enable_extra_config" : false |
109 | 102 | } |
0 commit comments