In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Refresh
The operation record in the translog is not purged, and the translog is emptied only after the data is written to disk from the filesystem cache.
Execute refresh manually: call _ refresh to implement memory-> file system caching immediately, so that documents can be searched immediately. # single indexPOST / twitter/_refresh# multiple indexPOST / index01,index02/_refresh# all indexPOST / _ refresh reference figure
Fresh
The process of writing to disk from filesystem cache is flush.
Manual execution of fresh:# single indexPOST / twitter/_fresh# multiple indexPOST / index01,index02/_fresh# all indexPOST / _ fresh conditions for triggering fresh each shard of 1:es performs a flush operation every 30 minutes; 2: when the translog file size is larger than 512MB, flush;3 is initiated: every time index, bulk, delete, update is completed, flush translog is triggered to disk Core configuration item: 1:index.translog.flush_threshold_ops: a flush is performed when many operations occur. The default is unlimited. 2:index.translog.flush_threshold_size: a flush operation occurs when the size of the translog reaches this value. The default is 512mb. 3:index.translog.flush_threshold_period: if no flush operation is performed within the specified time interval, a forced flush operation will be performed. The default is 30m. 4:index.translog.interval: how often will translog be checked to perform a flush operation.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.