In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
H2 Console sets the system variable set IGNITE_H2_DEBUG_CONSOLE=true, and when you start IGNITE, an h3 console browser pops up automatically, and you can see the established index and specific data.
Reference https://apacheignite.readme.io/docs/sql-performance-and-debugging
Client programs can add System.setProperty ("IGNITE_QUIET", "false")
SqlFieldsQuery query = new SqlFieldsQuery ("explain [original query]") you can see the SQL execution plan, mainly the use of the index
JMX jconsole can see the basic information of CACHE. The name of JMXBean is: org.apache.[ cacheId] .[ gridName] .memory usage: org.apache.[ cacheId] .memoryMetrics needs to set IGNITE_JMX_PORT.
The remote DEBUG modifies the JVM_OPTS in ignite.bat/ignite.sh:
Set JVM_OPTS=-Xms1g-Xmx1g-server-XX:+AggressiveOpts-XX:MaxMetaspaceSize=256m-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9527
Log level adjustment IGNITE supports log4j, log4j2, slf, etc. You need to copy the ignite-log4j,ignite-log4j2 or ignite-slf4j under the [ignite_home] / libs/optional directory to the libs directory, and then modify the spring configuration file:
...
Java.util.log [ignite_home] / config/java.util.logging.properties. The log is recorded under [ignite_home]\ work\ log\. Reference: https://apacheignite.readme.io/docs/logging
Core log:
Query:
Client IgniteH2Indexing.queryDistributedSqlFields
If (log.isDebugEnabled ()) log.debug ("Parsed query: `" + sqlQry + "` into two step query:" + twoStepQry)
Server GridQueryProcessor.store
If (log.isDebugEnabled ()) log.debug ("Store [cache=" + cacheName + ", key=" + key + ", val=" + val + "]")
REBALANCE:
Server GridDhtPartitionSupplier.handleDemandMessage
If (log.isDebugEnabled) log.debug ("Starting supplying rebalancing [cache=" + grp.cacheOrGroupName () + ", fromNode=" + node.id () + ", partitionsCount=" + d.partitions (). Size () + ", topology=" + d.topologyVersion () + ", updateSeq=" + d.updateSequence () + ", idx=" + idx + "]") If (log.isDebugEnabled ()) log.debug ("Finished supplying rebalancing [cache=" + grp.cacheOrGroupName () + ", fromNode=" + node.id () + ", topology=" + d.topologyVersion () + ", updateSeq=" + d.updateSequence () + ", idx=" + idx + "]")
NETWORK:
Org.apache.ignite.internal.util.nio.GridTcpNioCommunicationClient org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi
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.