知识库

手动将配置设置从 Neo4j 2.x 迁移到 Neo4j 3.x

Neo4j 3.0 的主要变化之一是对配置文件及各项配置设置命名规范进行了重构,以使其在未来更具一致性且易于管理。Neo4j 3.0 中提供了一个 config-migrator 工具来协助自动化此过程。然而,对于某些用户而言,这不是一个可行的或理想的选择。针对这些用户,下方的参考表列出了 3.0 版本之前的配置设置名称、新名称,以及相对于旧设置的变更说明。

请注意,Neo4j 3.0 将配置文件 conf/neo4j.propertiesconf/neo4j-server.properties 合并为了单个 conf/neo4j.conf 文件。conf/neo4j-wrapper.conf 中的配置设置名称也发生了更改,但大多数仍保留在该配置文件中(该文件在 Neo4j 3.1 中被合并到了 neo4j.conf)。

3.0 之前名称 3.0 名称 净变更

consistency_check_execution_order

 — 

已移除

consistency_check_report_file

 — 

已移除

dbms.querylog.filename

 — 

派生

ha.cluster_join_timeout

 — 

被 ha.join_timeout 替换

ha.server_type

 — 

合并入 dbms.mode

logging.threshold_for_rotation

 — 

已移除

neo_store

 — 

已移除

org.neo4j.server.database.location

 — 

已移除

org.neo4j.server.db.tuning.properties

 — 

已移除

org.neo4j.server.http.log.config

 — 

已移除

org.neo4j.server.http.unsafe.content_log.enabled

 — 

已移除

org.neo4j.server.properties

 — 

已移除

org.neo4j.server.webadmin.rrdb.location

 — 

已移除

org.neo4j.server.webserver.https.cert.location

 — 

被 dbms.directories.certificates 替换

org.neo4j.server.webserver.https.key.location

 — 

被 dbms.directories.certificates 替换

org.neo4j.server.webserver.https.keystore.location

 — 

已移除

org.neo4j.server.webserver.statistics

 — 

已移除

relationship_grab_size

 — 

已移除

store.internal_log.location

 — 

已移除

wrapper.user

 — 

已移除

dbms.security.allow_outgoing_browser_connections

browser.allow_outgoing_connections

重命名

dbms.browser.credential_timeout

browser.credential_timeout

重命名

dbms.browser.remote_content_hostname_whitelist

browser.remote_content_hostname_whitelist

重命名

dbms.browser.store_credentials

browser.retain_connection_credentials

重命名

cypher_parser_version

cypher.default_language_version

重命名

dbms.cypher.forbid.exhaustive.shortestpath

cypher.forbid_exhaustive_shortestpath

重命名

dbms.cypher.hints.error

cypher.hints_error

重命名

dbms.cypher.min_replan_interval

cypher.min_replan_interval

重命名

dbms.cypher.planner

cypher.planner

重命名

dbms.cypher.statistics_divergence_threshold

cypher.statistics_divergence_threshold

重命名

dbms.active_database

dbms.active_database

 — 

allow_store_upgrade

dbms.allow_format_migration

重命名

node_auto_indexing

dbms.auto_index.nodes.enabled

重命名

node_keys_indexable

dbms.auto_index.nodes.keys

重命名

relationship_auto_indexing

dbms.auto_index.relationships.enabled

重命名

relationship_keys_indexable

dbms.auto_index.relationships.keys

重命名

online_backup_server

dbms.backup.address

重命名

online_backup_enabled

dbms.backup.enabled

重命名

dbms.checkpoint.interval.time

dbms.checkpoint.interval.time

 — 

dbms.checkpoint.interval.tx

dbms.checkpoint.interval.tx

 — 

org.neo4j.server.webserver.address

dbms.connector.*

转换为 dbms.connector.*

org.neo4j.server.webserver.https.enabled

dbms.connector.*

转换为 dbms.connector.*

org.neo4j.server.webserver.https.port

dbms.connector.*

转换为 dbms.connector.*

org.neo4j.server.webserver.port

dbms.connector.*

转换为 dbms.connector.*

 — 

dbms.connector.<n>.address

 — 

 — 

dbms.connector.<n>.enabled

 — 

dbms.connector.<n>.tls.level

dbms.connector.<n>.tls_level

重命名

 — 

dbms.directories.bin

新增

dbms.directories.data

dbms.directories.data

 — 

dbms.security.load_csv_file_url_root

dbms.directories.import

重命名

 — 

dbms.directories.lib

新增

 — 

dbms.directories.logs

新增

metrics.csv.path

dbms.directories.metrics

重命名

dbms.plugin.directory

dbms.directories.plugins

重命名

wrapper.pidfile

dbms.directories.run

转换为目录并重命名

index_background_sampling_enabled

dbms.index_sampling.background_enabled

重命名

index_sampling_buffer_size

dbms.index_sampling.buffer_size

重命名

index_sampling_update_percentage

dbms.index_sampling.update_percentage

重命名

lucene_searcher_cache_size

dbms.index_searcher_cache_size

重命名

wrapper.java.additional

dbms.jvm.additional

重命名

store.internal_log.level

dbms.logs.debug.level

重命名

store.internal_log.rotation_delay

dbms.logs.debug.rotation.delay

重命名

store.internal_log.max_archives

dbms.logs.debug.rotation.keep_number

重命名

store.internal_log.rotation_threshold

dbms.logs.debug.rotation.size

重命名

 — 

dbms.logs.gc.enabled

从 wrapper.java.additional 转换

 — 

dbms.logs.gc.options

从 wrapper.java.additional 转换

 — 

dbms.logs.gc.rotation.keep_number

从 wrapper.java.additional 转换

 — 

dbms.logs.gc.rotation.size

从 wrapper.java.additional 转换

org.neo4j.server.http.log.enabled

dbms.logs.http.enabled

重命名

 — 

dbms.logs.http.rotation.keep_number

新增

 — 

dbms.logs.http.rotation.size

新增

dbms.querylog.enabled

dbms.logs.query.enabled

重命名

dbms.querylog.max_archives

dbms.logs.query.rotation.keep_number

重命名

dbms.querylog.rotation.threshold

dbms.logs.query.rotation.size

重命名

dbms.querylog.threshold

dbms.logs.query.threshold

重命名

wrapper.java.initmemory

dbms.memory.heap.initial_size

重命名

wrapper.java.maxmemory

dbms.memory.heap.max_size

重命名

dbms.pagecache.memory

dbms.memory.pagecache.size

重命名

dbms.pagecache.swapper

dbms.memory.pagecache.swapper

重命名

org.neo4j.server.database.mode

dbms.mode

重命名

query_cache_size

dbms.query_cache_size

重命名

read_only

dbms.read_only

重命名

dense_node_threshold

dbms.relationship_grouping_threshold

重命名

allow_file_urls

dbms.security.allow_csv_import_from_file_urls

重命名

dbms.security.auth_enabled

dbms.security.auth_enabled

 — 

 — 

dbms.security.ha_status_auth_enabled

 — 

org.neo4j.server.rest.security_rules

dbms.security.http_authorization_classes

重命名

remote_shell_enabled

dbms.shell.enabled

重命名

remote_shell_host

dbms.shell.host

重命名

remote_shell_port

dbms.shell.port

重命名

remote_shell_read_only

dbms.shell.read_only

重命名

remote_shell_name

dbms.shell.rmi_name

重命名

org.neo4j.server.webserver.maxthreads

dbms.threads.worker_count

重命名

org.neo4j.server.transaction.timeout

dbms.transaction_timeout

重命名

keep_logical_logs

dbms.tx_log.rotation.retention_policy

重命名

logical_log_rotation_threshold

dbms.tx_log.rotation.size

重命名

neo4j.ext.udc.enabled

dbms.udc.enabled

重命名

org.neo4j.server.thirdparty_jaxrs_classes

dbms.unmanaged_extension_classes

重命名

wrapper.name

dbms.windows_service_name

重命名

ha.allow_init_cluster

ha.allow_init_cluster

 — 

ha.branched_data_policy

ha.branched_data_policy

 — 

ha.broadcast_timeout

ha.broadcast_timeout

 — 

ha.configuration_timeout

ha.configuration_timeout

 — 

ha.com_chunk_size

ha.data_chunk_size

重命名

ha.default_timeout

ha.default_timeout

 — 

ha.election_timeout

ha.election_timeout

 — 

ha.heartbeat_interval

ha.heartbeat_interval

 — 

ha.heartbeat_timeout

ha.heartbeat_timeout

 — 

ha.cluster_server

ha.host.coordination

重命名

ha.server

ha.host.data

重命名

ha.initial_hosts

ha.initial_hosts

 — 

ha.internal_state_switch_timeout

ha.internal_role_switch_timeout

重命名

ha.join_timeout

ha.join_timeout

 — 

ha.learn_timeout

ha.learn_timeout

 — 

ha.leave_timeout

ha.leave_timeout

 — 

ha.max_concurrent_channels_per_slave

ha.max_channels_per_slave

重命名

ha.paxos_timeout

ha.paxos_timeout

 — 

ha.phase1_timeout

ha.phase1_timeout

 — 

ha.phase2_timeout

ha.phase2_timeout

 — 

ha.pull_apply_batch_size

ha.pull_batch_size

重命名

ha.pull_interval

ha.pull_interval

 — 

ha.state_switch_timeout

ha.role_switch_timeout

重命名

ha.server_id

ha.server_id

 — 

ha.lock_read_timeout

ha.slave_lock_timeout

重命名

ha.slave_only

ha.slave_only

 — 

ha.read_timeout

ha.slave_read_timeout

重命名

ha.tx_push_factor

ha.tx_push_factor

 — 

ha.tx_push_strategy

ha.tx_push_strategy

 — 

consistency_check_graph

tools.consistency_checker.check_graph

重命名

consistency_check_indexes

tools.consistency_checker.check_indexes

重命名

consistency_check_label_scan_store

tools.consistency_checker.check_label_scan_store

重命名

consistency_check_property_owners

tools.consistency_checker.check_property_owners

重命名

dbms.cypher.compiler_tracing

unsupported.cypher.compiler_tracing

重命名

dbms.cypher.idp_solver_duration_threshold

unsupported.cypher.idp_solver_duration_threshold

重命名

dbms.cypher.idp_solver_table_threshold

unsupported.cypher.idp_solver_table_threshold

重命名

dbms.cypher.non_indexed_label_warning_threshold

unsupported.cypher.non_indexed_label_warning_threshold

重命名

dbms.cypher.runtime

unsupported.cypher.runtime

重命名

array_block_size

unsupported.dbms.block_size.array_properties

重命名

label_block_size

unsupported.dbms.block_size.labels

重命名

string_block_size

unsupported.dbms.block_size.strings

重命名

dbms.webadmin.enabled

unsupported.dbms.console_module.enabled

重命名

org.neo4j.server.manage.console_engines

unsupported.dbms.console_module.engines

重命名

store.interval.log.rotation

unsupported.dbms.counts_store_rotation_timeout

重命名

dbms.internal.derived.directories.database

unsupported.dbms.directories.database

重命名

版本 (edition)

unsupported.dbms.edition

重命名

ephemeral

unsupported.dbms.ephemeral

重命名

execution_guard_enabled

unsupported.dbms.executiontime_limit.enabled

重命名

org.neo4j.server.webserver.limit.executiontime

unsupported.dbms.executiontime_limit.time

重命名

gc_monitor_threshold

unsupported.dbms.gc_monitor_threshold

重命名

gc_monitor_wait_time

unsupported.dbms.gc_monitor_wait_time

重命名

rebuild_idgenerators_fast

unsupported.dbms.id_generator_fast_rebuild_enabled

重命名

forced_kernel_id

unsupported.dbms.kernel_id

重命名

lock_manager

unsupported.dbms.lock_manager

重命名

store.internal_log.debug_contexts

unsupported.dbms.logs.debug.debug_loggers

重命名

org.neo4j.server.webserver.max.request.header

unsupported.dbms.max_http_request_header_size

重命名

org.neo4j.server.webserver.max.response.header

unsupported.dbms.max_http_response_header_size

重命名

dbms.pagecache.pagesize

unsupported.dbms.memory.pagecache.pagesize

重命名

multi_threaded_schema_index_population_enabled

unsupported.dbms.multi_threaded_schema_index_population_enabled

重命名

record_format

unsupported.dbms.record_format

重命名

dump_configuration

unsupported.dbms.report_configuration

重命名

dbms.security.auth_store.location

unsupported.dbms.security.auth_store.location

重命名

org.neo4j.server.script.sandboxing.enabled

unsupported.dbms.security.script_sandboxing_enabled

重命名

shutdown_transaction_end_timeout

unsupported.dbms.shutdown_transaction_end_timeout

重命名

dbms.tracer

unsupported.dbms.tracer

重命名

transaction_start_timeout

unsupported.dbms.transaction_start_timeout

重命名

neo4j.ext.udc.first_delay

unsupported.dbms.udc.first_delay

重命名

neo4j.ext.udc.host

unsupported.dbms.udc.host

重命名

neo4j.ext.udc.interval

unsupported.dbms.udc.interval

重命名

neo4j.ext.udc.reg

unsupported.dbms.udc.reg

重命名

neo4j.ext.udc.source

unsupported.dbms.udc.source

重命名

org.neo4j.server.webadmin.browser.uri

unsupported.dbms.uris.browser

重命名

org.neo4j.server.webadmin.management.uri

unsupported.dbms.uris.management

重命名

org.neo4j.server.webadmin.data.uri

unsupported.dbms.uris.rest

重命名

experimental.use_read_locks_on_property_reads

unsupported.dbms.use_read_locks_on_property_reads

重命名

unsupported_wadl_generation_enabled

unsupported.dbms.wadl_generation_enabled

重命名

ha.cluster_name

unsupported.ha.cluster_name

重命名

ha.instance_name

unsupported.ha.instance_name

重命名

batch_inserter_batch_size

unsupported.tools.batch_inserter.batch_size

重命名

© . This site is unofficial and not affiliated with Neo4j, Inc.