bitsCN.com
win环境下mysql5.5.34x64社区版所有变量的默认值
my.ini文件内容:
[mysqld]port = 3307basedir=D:/wamp2/mysqltmpdir=D:/wamp2/tmp/sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
变量的默认值:
init_file old_passwords OFFport 3307protocol_version 10server_id 0version 5.5.34version_comment MySQL Community Server (GPL)version_compile_machine x86version_compile_os Win64concurrent_insert AUTOhave_compress YEShave_crypt NOhave_innodb YEShave_openssl DISABLEDhave_query_cache YEShave_symlink YESlarge_files_support ONlocal_infile ONlow_priority_updates OFFlower_case_table_names 1named_pipe OFFnew OFFread_only OFFskip_networking OFFbasedir D:/wamp2/mysqldatadir D:/wamp2/mysql/data/innodb_data_file_path ibdata1:10M:autoextendinnodb_log_group_home_dir ./log_error D:/wamp2/mysql/data/webtest.erropen_files_limit 3009pid_file D:/wamp2/mysql/data/webtest.pidtmpdir D:/wamp2/tmp/innodb_log_buffer_size 8388608innodb_log_file_size 5242880innodb_log_files_in_group 2innodb_log_group_home_dir ./log OFFlog_bin OFFlog_error D:/wamp2/mysql/data/webtest.errlog_slave_updates OFFlog_slow_queries OFFlog_warnings 1max_binlog_cache_size 18446744073709547520max_binlog_size 1073741824max_relay_log_size 0rpl_recovery_rank 0delay_key_write ONdelayed_insert_limit 100delayed_insert_timeout 300delayed_queue_size 1000flush OFFflush_time 1800long_query_time 10.000000low_priority_updates OFFmax_delayed_threads 20max_join_size 18446744073709551615max_seeks_for_key 4294967295max_sort_length 1024max_write_lock_count 4294967295query_alloc_block_size 8192query_prealloc_size 8192range_alloc_block_size 4096slow_launch_time 2thread_cache_size 0expire_logs_days 0max_error_count 64max_length_for_sort_data 1024preload_buffer_size 32768relay_log_purge ONsecure_auth OFFshared_memory OFFshared_memory_base_name MYSQLstorage_engine InnoDBback_log 50connect_timeout 10interactive_timeout 28800max_connect_errors 10max_connections 151max_user_connections 0wait_timeout 28800connect_timeout 10max_allowed_packet 1048576named_pipe OFFnet_read_timeout 30net_retry_count 10net_write_timeout 60skip_networking OFFslave_net_timeout 3600wait_timeout 28800skip_networking OFFskip_show_database OFFinit_connect init_slave log_warnings 1lower_case_table_names 1max_sort_length 1024skip_external_locking ONsql_mode STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTIONtransaction_alloc_block_size 8192transaction_prealloc_size 4096tx_isolation REPEATABLE-READcharacter_set_client latin1character_set_connection latin1character_set_database latin1character_set_results latin1character_set_server latin1character_set_system utf8collation_connection latin1_swedish_cicollation_database latin1_swedish_cicollation_server latin1_swedish_cidate_format %Y-%m-%ddatetime_format %Y-%m-%d %H:%i:%sdefault_week_format 0time_format %H:%i:%sft_boolean_syntax + -><()~*:""&|ft_max_word_len 84ft_min_word_len 4ft_query_expansion_limit 20ft_stopword_file (built-in)max_heap_table_size 16777216max_tmp_tables 32thread_stack 262144tmp_table_size 16777216bulk_insert_buffer_size 8388608innodb_additional_mem_pool_size 8388608innodb_buffer_pool_size 134217728innodb_log_buffer_size 8388608join_buffer_size 131072key_buffer_size 8388608myisam_sort_buffer_size 8388608net_buffer_length 16384read_buffer_size 131072read_rnd_buffer_size 262144sort_buffer_size 2097152binlog_cache_size 32768key_cache_age_threshold 300key_cache_block_size 1024key_cache_pision_limit 100query_cache_limit 1048576query_cache_min_res_unit 4096query_cache_size 0query_cache_type ONhave_innodb YESinnodb_additional_mem_pool_size 8388608innodb_buffer_pool_size 134217728innodb_data_file_path ibdata1:10M:autoextendinnodb_fast_shutdown 1innodb_file_per_table OFFinnodb_flush_log_at_trx_commit 1innodb_flush_method innodb_force_recovery 0innodb_lock_wait_timeout 50innodb_log_buffer_size 8388608innodb_log_file_size 5242880innodb_log_files_in_group 2innodb_log_group_home_dir ./innodb_max_dirty_pages_pct 75innodb_mirrored_log_groups 1innodb_open_files 300innodb_thread_concurrency 0myisam_max_sort_file_size 2146435072myisam_recover_options OFFmyisam_repair_threads 1auto_increment_increment 1auto_increment_offset 1autocommit ONautomatic_sp_privileges ONbig_tables OFFbinlog_direct_non_transactional_OFFbinlog_format STATEMENTbinlog_stmt_cache_size 32768character_set_filesystem binarycharacter_sets_dir D:/wamp2/mysql/share/charsets/completion_type NO_CHAINdefault_storage_engine InnoDBp_precision_increment 4engine_condition_pushdown ONevent_scheduler OFFforeign_key_checks ONgeneral_log OFFgeneral_log_file D:/wamp2/mysql/data/webtest.loggroup_concat_max_len 1024have_csv YEShave_dynamic_loading YEShave_geometry YEShave_ndbcluster NOhave_partitioning YEShave_profiling YEShave_rtree_keys YEShave_ssl DISABLEDhostname webtestignore_builtin_innodb OFFinnodb_adaptive_flushing ONinnodb_adaptive_hash_index ONinnodb_autoextend_increment 8innodb_autoinc_lock_mode 1innodb_buffer_pool_instances 1innodb_change_buffering allinnodb_checksums ONinnodb_commit_concurrency 0innodb_concurrency_tickets 500innodb_data_home_dir innodb_doublewrite ONinnodb_file_format Antelopeinnodb_file_format_check ONinnodb_file_format_max Antelopeinnodb_force_load_corrupted OFFinnodb_io_capacity 200innodb_large_prefix OFFinnodb_locks_unsafe_for_binlog OFFinnodb_max_purge_lag 0innodb_old_blocks_pct 37innodb_old_blocks_time 0innodb_print_all_deadlocks OFFinnodb_purge_batch_size 20innodb_purge_threads 0innodb_random_read_ahead OFFinnodb_read_ahead_threshold 56innodb_read_io_threads 4innodb_replication_delay 0innodb_rollback_on_timeout OFFinnodb_rollback_segments 128innodb_spin_wait_delay 6innodb_stats_method nulls_equalinnodb_stats_on_metadata ONinnodb_stats_sample_pages 8innodb_strict_mode OFFinnodb_support_xa ONinnodb_sync_spin_loops 30innodb_table_locks ONinnodb_thread_sleep_delay 10000innodb_use_native_aio ONinnodb_use_sys_malloc ONinnodb_version 5.5.34innodb_write_io_threads 4keep_files_on_create OFFlarge_page_size 0large_pages OFFlc_messages en_USlc_messages_dir D:/wamp2/mysql/share/lc_time_names en_USlicense GPLlock_wait_timeout 31536000log_bin_trust_function_creators OFFlog_output FILElog_queries_not_using_indexes OFFlower_case_file_system ONmax_binlog_stmt_cache_size 18446744073709547520max_insert_delayed_threads 20max_long_data_size 1048576max_prepared_stmt_count 16382max_sp_recursion_depth 0metadata_locks_cache_size 1024min_examined_row_limit 0multi_range_count 256myisam_data_pointer_size 6myisam_mmap_size 18446744073709551615myisam_stats_method nulls_unequalmyisam_use_mmap OFFold OFFold_alter_table OFFoptimizer_prune_level 1optimizer_search_depth 62optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,engine_condition_pushdown=onperformance_schema OFFperformance_schema_events_waits_10000performance_schema_events_waits_10performance_schema_max_cond_clas80performance_schema_max_cond_inst1000performance_schema_max_file_clas50performance_schema_max_file_hand32768performance_schema_max_file_inst10000performance_schema_max_mutex_cla200performance_schema_max_mutex_ins1000000performance_schema_max_rwlock_cl30performance_schema_max_rwlock_in1000000performance_schema_max_table_han100000performance_schema_max_table_ins50000performance_schema_max_thread_cl50performance_schema_max_thread_in1000plugin_dir D:/wamp2/mysql/lib/plugin/profiling OFFprofiling_history_size 15query_cache_wlock_invalidate OFFrelay_log relay_log_index relay_log_info_file relay-log.inforelay_log_recovery OFFrelay_log_space_limit 0report_host report_password report_port 3307report_user secure_file_priv skip_name_resolve OFFslave_compressed_protocol OFFslave_exec_mode STRICTslave_load_tmpdir D:/wamp2/tmp/slave_max_allowed_packet 1073741824slave_skip_errors OFFslave_transaction_retries 10slave_type_conversions slow_query_log OFFslow_query_log_file D:/wamp2/mysql/data/webtest-slow.logsocket MySQLsql_auto_is_null OFFsql_big_selects ONsql_big_tables OFFsql_buffer_result OFFsql_log_bin ONsql_log_off OFFsql_low_priority_updates OFFsql_max_join_size 18446744073709551615sql_notes ONsql_quote_show_create ONsql_safe_updates OFFsql_select_limit 18446744073709551615sql_slave_skip_counter 0sql_warnings OFFssl_ca ssl_capath ssl_cert ssl_cipher ssl_key stored_program_cache 256sync_binlog 0sync_frm ONsync_master_info 0sync_relay_log 0sync_relay_log_info 0system_time_zone table_definition_cache 400table_open_cache 400thread_concurrency 10thread_handling one-thread-per-connectiontime_zone SYSTEMtimed_mutexes OFFunique_checks ONupdatable_views_with_limit YES
bitsCN.com

MySQL은 GPL 라이센스를 사용합니다. 1) GPL 라이센스는 MySQL의 무료 사용, 수정 및 분포를 허용하지만 수정 된 분포는 GPL을 준수해야합니다. 2) 상업용 라이센스는 공개 수정을 피할 수 있으며 기밀이 필요한 상업용 응용 프로그램에 적합합니다.

MyISAM 대신 InnoDB를 선택할 때의 상황에는 다음이 포함됩니다. 1) 거래 지원, 2) 높은 동시성 환경, 3) 높은 데이터 일관성; 반대로, MyISAM을 선택할 때의 상황에는 다음이 포함됩니다. 1) 주로 읽기 작업, 2) 거래 지원이 필요하지 않습니다. InnoDB는 전자 상거래 플랫폼과 같은 높은 데이터 일관성 및 트랜잭션 처리가 필요한 응용 프로그램에 적합하지만 MyISAM은 블로그 시스템과 같은 읽기 집약적 및 트랜잭션이없는 애플리케이션에 적합합니다.

MySQL에서 외국 키의 기능은 테이블 간의 관계를 설정하고 데이터의 일관성과 무결성을 보장하는 것입니다. 외국 키는 참조 무결성 검사 및 계단식 작업을 통해 데이터의 효과를 유지합니다. 성능 최적화에주의를 기울이고 사용할 때 일반적인 오류를 피하십시오.

MySQL에는 B-Tree Index, Hash Index, Full-Text Index 및 공간 인덱스의 네 가지 주요 인덱스 유형이 있습니다. 1.B- 트리 색인은 범위 쿼리, 정렬 및 그룹화에 적합하며 직원 테이블의 이름 열에서 생성에 적합합니다. 2. HASH 인덱스는 동등한 쿼리에 적합하며 메모리 저장 엔진의 HASH_Table 테이블의 ID 열에서 생성에 적합합니다. 3. 전체 텍스트 색인은 기사 테이블의 내용 열에서 생성에 적합한 텍스트 검색에 사용됩니다. 4. 공간 지수는 지리 공간 쿼리에 사용되며 위치 테이블의 Geom 열에서 생성에 적합합니다.

toreateanindexinmysql, usethecreateindexstatement.1) forasinglecolumn, "createindexidx_lastnameonemployees (lastname);"2) foracompositeIndex를 사용하고 "createDexIdx_nameonemployees (forstName, FirstName);"3)을 사용하십시오

MySQL과 Sqlite의 주요 차이점은 설계 개념 및 사용 시나리오입니다. 1. MySQL은 대규모 응용 프로그램 및 엔터프라이즈 수준의 솔루션에 적합하며 고성능 및 동시성을 지원합니다. 2. SQLITE는 모바일 애플리케이션 및 데스크탑 소프트웨어에 적합하며 가볍고 내부질이 쉽습니다.

MySQL의 인덱스는 데이터 검색 속도를 높이는 데 사용되는 데이터베이스 테이블에서 하나 이상의 열의 주문 구조입니다. 1) 인덱스는 스캔 한 데이터의 양을 줄임으로써 쿼리 속도를 향상시킵니다. 2) B-Tree Index는 균형 잡힌 트리 구조를 사용하여 범위 쿼리 및 정렬에 적합합니다. 3) CreateIndex 문을 사용하여 CreateIndexIdx_customer_idonorders (customer_id)와 같은 인덱스를 작성하십시오. 4) Composite Indexes는 CreateIndexIdx_customer_orderOders (Customer_id, Order_Date)와 같은 다중 열 쿼리를 최적화 할 수 있습니다. 5) 설명을 사용하여 쿼리 계획을 분석하고 피하십시오

MySQL에서 트랜잭션을 사용하면 데이터 일관성이 보장됩니다. 1) STARTTRANSACTION을 통해 트랜잭션을 시작한 다음 SQL 작업을 실행하고 커밋 또는 롤백으로 제출하십시오. 2) SavePoint를 사용하여 부분 롤백을 허용하는 저장 지점을 설정하십시오. 3) 성능 최적화 제안에는 트랜잭션 시간 단축, 대규모 쿼리 방지 및 격리 수준을 합리적으로 사용하는 것이 포함됩니다.


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

Dreamweaver Mac版
시각적 웹 개발 도구

VSCode Windows 64비트 다운로드
Microsoft에서 출시한 강력한 무료 IDE 편집기

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

안전한 시험 브라우저
안전한 시험 브라우저는 온라인 시험을 안전하게 치르기 위한 보안 브라우저 환경입니다. 이 소프트웨어는 모든 컴퓨터를 안전한 워크스테이션으로 바꿔줍니다. 이는 모든 유틸리티에 대한 액세스를 제어하고 학생들이 승인되지 않은 리소스를 사용하는 것을 방지합니다.

드림위버 CS6
시각적 웹 개발 도구
