中文字幕第五页-中文字幕第页-中文字幕韩国-中文字幕最新-国产尤物二区三区在线观看-国产尤物福利视频一区二区

Cloudera5.2安裝MySQLDatabase及my.cnf配置的過程

本篇內容主要講解“Cloudera5.2安裝MySQL Database及my.cnf配置的過程”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強。下面就讓小編來帶大家學習“Cloudera5.2安裝MySQL Database及my.cnf配置的過程”吧!

錫林浩特ssl適用于網站、小程序/APP、API接口等需要進行數據傳輸應用場景,ssl證書未來市場廣闊!成為創新互聯建站的ssl證書銷售渠道,可以享受市場價格4-6折優惠!如果有意向歡迎電話聯系或者加微信:028-86922220(備注:SSL證書合作)期待與您的合作!

[mysqld]
transaction-isolation = READ-COMMITTED
# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links = 0

key_buffer = 16M
key_buffer_size = 32M
max_allowed_packet = 32M
thread_stack = 256K
thread_cache_size = 64
query_cache_limit = 8M
query_cache_size = 64M
query_cache_type = 1

max_connections = 550

#log_bin should be on a disk with enough free space. Replace '/var/lib/mysql/mysql_binary_log' with an appropriate path for your system.
#log_bin=/var/lib/mysql/mysql_binary_log
#expire_logs_days = 10
#max_binlog_size = 100M

# For MySQL version 5.1.8 or later. Comment out binlog_format for older versions.
binlog_format = mixed

read_buffer_size = 2M
read_rnd_buffer_size = 16M
sort_buffer_size = 8M
join_buffer_size = 8M

# InnoDB settings
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit  = 2
innodb_log_buffer_size = 64M
innodb_buffer_pool_size = 4G
innodb_thread_concurrency = 8
innodb_flush_method = O_DIRECT
innodb_log_file_size = 512M

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

    http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cm_ig_mysql.html#cmig_topic_5_5

全文如下:

  1. Move old InnoDB log files /var/lib/mysql/ib_logfile0 and /var/lib/mysql/ib_logfile1 out of /var/lib/mysql/ to a backup location.

  2. Determine the location of the option file, my.cnf.

  3. Update my.cnf so that it conforms to the following requirements:Here is a typical option file:

    • Small clusters (fewer than 50 hosts) - You can store more than one database (for example, both the Activity Monitor and Service Monitor) on the same host. If you do this, you should:

    • Large clusters (more than 50 hosts) - Do not store more than one database on the same host. Use a separate host for each database/host pair. The hosts need not be reserved exclusively for databases, but each database should be on a separate host.

    • Put each database on its own storage volume.

    • Allow 100 maximum connections for each database and then add 50 extra connections. For example, for two databases, set the maximum connections to 250. If you store five databases on one host (the databases for Cloudera Manager Server, Activity Monitor, Reports Manager, Cloudera Navigator, and Hive Metastore), set the maximum connections to 550.

    • To prevent deadlocks, set the isolation level to read committed.

    • Configure the InnoDB engine. Cloudera Manager will not start if its tables are configured with the MyISAM engine. (Typically, tables revert to MyISAM if the InnoDB engine is misconfigured.) To check which engine your tables are using, run the following command from the MySQL shell:

      mysql> show table status;
    • The default settings in the MySQL installations in most distributions use conservative buffer sizes and memory usage. Cloudera Management Service roles need high write throughput because they might insert many records in the database. Cloudera recommends that you set the innodb_flush_method property to O_DIRECT.

    • Set the max_connections property according to the size of your cluster:

    • Binary logging is not a requirement for Cloudera Manager installations. Binary logging provides benefits such as MySQL replication or point-in-time incremental recovery after database restore. Examples of this configuration follow. For more information, see The Binary Log.

到此,相信大家對“Cloudera5.2安裝MySQL Database及my.cnf配置的過程”有了更深的了解,不妨來實際操作一番吧!這里是創新互聯網站,更多相關內容可以進入相關頻道進行查詢,關注我們,繼續學習!

本文題目:Cloudera5.2安裝MySQLDatabase及my.cnf配置的過程
網頁地址:http://m.2m8n56k.cn/article12/gegpgc.html

成都網站建設公司_創新互聯,為您提供品牌網站建設做網站虛擬主機微信公眾號App開發域名注冊

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:[email protected]。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

營銷型網站建設
主站蜘蛛池模板: 国产欧美一区二区三区久久 | 久久99精品热在线观看15 | 国产区在线免费观看 | 国产精品亚洲成在人线 | 精品国产乱码久久久久久一区二区 | 97在线观看免费视频 | 久久国产美女免费观看精品 | 欧美日韩亚洲综合在线一区二区 | 欧美一级免费观看 | 成年人网站黄 | 国产日韩一区二区三区在线播放 | 华人黄网站| 一级大黄美女免费播放 | 国产一区二区三区精品久久呦 | 婷婷久久久五月综合色 | 亚洲高清在线看 | 成人毛片手机版免费看 | 伊人不卡 | 亚洲成人黄色网址 | 欧洲freexxxx性| 韩国三级大全久久网站 | aa级毛片毛片免费观看久 | 日本特爽特黄特刺激大片 | 韩国理伦一级毛片 | 一级毛片视频播放 | 亚洲国产最新在线一区二区 | 美女张开腿让男人 | 色吊丝在线观看国产 | 免费看特级淫片日本 | 精品视频在线观看 | 国产精品久久久久久搜索 | 亚洲线精品一区二区三区 | 在线视频 自拍 | 综合九九 | 国产日韩美国成人 | 国产高颜值露脸在线观看 | 一级毛片在线视频 | 在线精品亚洲 | 一级女性生活片 | 日韩欧美特级毛片 | 中国一级毛片特级毛片 |