ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 胡永亮/Bob <hu...@neusoft.com>
Subject Re: Re: Some problems in test case which comparing sql query performance between Ignite and Oracle
Date Fri, 21 Oct 2016 01:53:57 GMT
Hi Warm-hearted person,

    Thanks for your help.

    According to your advice, I will query some field not using select *.  I will add the
index in the cache. 

To Vladislav Pyatkov,

    In previous mail, you said "you are always can copy data to another cache (with index)
and drop this", 
    for this, which way should be used? Broadcast message and local node handles local data
copying, right?

To Alexey Kuznetsov,
    I have not created the index in Ignite cache, due to I want to create the index in active
cache, now I know this can't.
    Cluster config:
    <beans xmlns="http://www.springframework.org/schema/beans"
    <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="cacheConfiguration">
                <!-- Partitioned cache example configuration (Atomic mode). -->
                <bean class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="atomicityMode" value="ATOMIC"/>

<!-- Set cache mode. -->
<property name="cacheMode" value="PARTITIONED"/>
<property name="backups" value="0"/>
<property name="memoryMode" value="OFFHEAP_TIERED" />


        <!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. -->
        <property name="discoverySpi">
            <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                  <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
                        <property name="addresses">
                                <!-- In distributed environment, replace with actual host
IP address. -->

    Cache config:
    CacheConfiguration<K, V> ccfg = new CacheConfiguration<>(cacheName);


To Yakov, 

    I have not a real scenario, only test Ignite from simple sql query. 
    I also find the scenario that Ignite is best for in sql query. 


Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies
your system. Thank you.
View raw message