English Chinese (Traditional)
If using the Cacti Performance Booster and choosing a memory storage engine, you have to be careful to flush your Performance Booster buffer before the system runs out of memory table space. This is done two ways, first reducing the size of your output column to just the right size. This column is in the tables poller_output, and poller_output_boost. The second thing you can do is allocate more memory to memory tables. We have arbitrarily chosen a recommended value of 10%% of system memory, but if you are using SSD disk drives, or have a smaller system, you may ignore this recommendation or choose a different storage engine. You may see the expected consumption of the Performance Booster tables under Console -> System Utilities -> View Boost Status. 如果使用Cacti Performance Booster並選擇內存存儲引擎,則必須小心在系統內存表空間耗盡之前刷新Performance Booster緩衝區。這有兩種方法,首先將輸出列的大小減小到恰當的大小。此列位於表poller_output和poller_output_boost中。您可以做的第二件事是為內存表分配更多內存。我們已經任意選擇了10 %%系統內存的推薦值,但如果您使用的是SSD磁盤驅動器,或者係統較小,則可以忽略此建議或選擇其他存儲引擎。您可能會在Console - > System Utilities - > View Boost Status下看到Performance Booster表的預期消耗。
When executing subqueries, having a larger temporary table size, keep those temporary tables in memory. 執行子查詢時,臨時表大小較大時,請將這些臨時表保留在內存中。
When using InnoDB storage it is important to keep your table spaces separate. This makes managing the tables simpler for long time users of %s. If you are running with this currently off, you can migrate to the per file storage by enabling the feature, and then running an alter statement on all InnoDB tables. 使用InnoDB存儲時,將表空間分開是很重要的。這使得對於%s的長時間用戶來說,管理表更簡單。如果您當前正在運行此服務,則可以通過啟用該功能,然後在所有InnoDB表上運行alter語句來遷移到每個文件存儲。
When using innodb_file_per_table, it is important to set the innodb_file_format to Barracuda. This setting will allow longer indexes important for certain Cacti tables. 使用innodb_file_per_table時,將innodb_file_format設置為Barracuda非常重要。此設置將允許更長的索引對某些Cacti表很重要。
If your tables have very large indexes, you must operate with the Barracuda innodb_file_format and the innodb_large_prefix equal to 1. Failure to do this may result in plugins that can not properly create tables. 如果表的索引很大,則必須使用梭子魚的innodb_file_format和innodb_large_prefix等於1的操作。否則可能導致插件無法正確創建表。
InnoDB will hold as much tables and indexes in system memory as is possible. Therefore, you should make the innodb_buffer_pool large enough to hold as much of the tables and index in memory. Checking the size of the /var/lib/mysql/cacti directory will help in determining this value. We are recommending 25%% of your systems total memory, but your requirements will vary depending on your systems size. InnoDB將盡可能多地保存系統內存中的表和索引。因此,你應該使innodb_buffer_pool足夠大,以便在內存中保存盡可能多的表和索引。檢查/ var / lib / mysql / cacti目錄的大小將有助於確定此值。我們建議您的系統總內存佔25 %%,但您的要求會因係統大小而異。
This settings should remain ON unless your Cacti instances is running on either ZFS or FusionI/O which both have internal journaling to accomodate abrupt system crashes. However, if you have very good power, and your systems rarely go down and you have backups, turning this setting to OFF can net you almost a 50% increase in database performance. 除非您的Cacti實例在ZFS或FusionI / O上運行,並且兩者都具有內部日記功能以適應突然的系統崩潰,否則此設置應保持為ON。但是,如果您的電源非常好,並且系統很少宕機並且有備份,那麼將此設置設置為OFF可以使數據庫性能提高近50%。
This is where metadata is stored. If you had a lot of tables, it would be useful to increase this. 這是存儲元數據的地方。如果你有很多表,那麼增加它會很有用。
Rogue queries should not for the database to go offline to others. Kill these queries before they kill your system. Rogue查詢不應該讓數據庫脫機到其他人。在殺死您的系統之前殺死這些查詢。
Maximum I/O performance happens when you use the O_DIRECT method to flush pages. 使用O_DIRECT方法刷新頁面時,會發生最大I / O性能。
Setting this value to 2 means that you will flush all transactions every second rather than at commit. This allows %s to perform writing less often. 將此值設置為2意味著您將每秒刷新所有事務而不是提交。這允許%s更少地執行寫入。
With modern SSD type storage, having multiple io threads is advantageous for applications with high io characteristics. 使用現代SSD類型存儲,具有多個io線程對於具有高io特性的應用是有利的。
As of %s %s, the you can control how often %s flushes transactions to disk. The default is 1 second, but in high I/O systems setting to a value greater than 1 can allow disk I/O to be more sequential 從%s%s開始,您可以控制%s將事務刷新到磁盤的頻率。默認值為1秒,但在高I / O系統中設置為大於1的值可以允許磁盤I / O更順序
With modern SSD type storage, having multiple read io threads is advantageous for applications with high io characteristics. Depending on your MariaDB/MySQL versions, this value can go as high as 64. But try to keep the number less than your total SMT threads on the database server. 使用現代SSD類型存儲,具有多個讀取io線程對於具有高io特性的應用是有利的。
With modern SSD type storage, having multiple write io threads is advantageous for applications with high io characteristics. Depending on your MariaDB/MySQL versions, this value can go as high as 64. But try to keep the number less than your total SMT threads on the database server. 使用現代SSD類型存儲,具有多個寫入io線程對於具有高io特性的應用是有利的。
%s will divide the innodb_buffer_pool into memory regions to improve performance for versions of MariaDB less than 10.5. The max value is 64, but should not exceed more than the number of CPU cores/threads. When your innodb_buffer_pool is less than 1GB, you should use the pool size divided by 128MB. Continue to use this equation up to the max the number of CPU cores or 64. %s會將innodb_buffer_pool劃分為內存區域以提高性能。最大值為64.當你的innodb_buffer_pool小於1GB時,你應該使用池大小除以128MB。繼續使用此公式,最大值為64。
%s will divide the innodb_buffer_pool into memory regions to improve performance for versions of MySQL upto and including MySQL 8.0. The max value is 64, but should not exceed more than the number of CPU cores/threads. When your innodb_buffer_pool is less than 1GB, you should use the pool size divided by 128MB. Continue to use this equation up to the max of the number of CPU cores or 64. %s會將innodb_buffer_pool劃分為內存區域以提高性能。最大值為64.當你的innodb_buffer_pool小於1GB時,你應該使用池大小除以128MB。繼續使用此公式,最大值為64。
If you have SSD disks, use this suggestion. If you have physical hard drives, use 200 * the number of active drives in the array. If using NVMe or PCIe Flash, much larger numbers as high as 100000 can be used. 如果您有SSD磁盤,請使用此建議。如果您有物理硬盤驅動器,請使用200 *陣列中的活動驅動器數量。如果使用NVMe或PCIe閃存,可以使用高達100000的更大數字。
If you have SSD disks, use this suggestion. If you have physical hard drives, use 2000 * the number of active drives in the array. If using NVMe or PCIe Flash, much larger numbers as high as 200000 can be used. 如果您有SSD磁盤,請使用此建議。如果您有物理硬盤驅動器,請使用2000 *陣列中的活動驅動器數量。如果使用NVMe或PCIe Flash,則可以使用高達200000的更大數字。
If you have SSD disks, use this suggestion. Otherwise, do not set this setting. 如果您有SSD磁盤,請使用此建議。否則,請勿設置此設置。