📃
Tech White Papers
  • 📃White Papers
  • 🪶Apache
    • Kafka (EN)
      • Kafka Connect
      • Kafka Streams
      • ksqlDB
    • Ignite (TR)
      • Clustering
        • Baseline Topology
      • Thin Clients
      • Data Modeling
        • Data Partitioning
        • Affinity Colocation
      • Memory Architecture
      • Persistence
        • External Storage
        • Swapping
        • Snapshot
        • Disk Compression
        • Persistence Tuning
        • Change Data Capture
      • Cluster Snapshots
      • Data Rebalancing
      • Data Streaming
      • Using Key-Value API
        • Basic Cache Operations
        • Working With Binary Objects
      • Performing Transactions
      • Working with SQL
        • Understanding Schemas
        • Defining Indexes
        • Distributed Joins
      • Distributed Computing
      • Machine Learning
      • Using Continuous Queries
      • Using Ignite Messaging
      • .NET Specific
        • LINQ
        • Serialization
      • Working With Events
        • Events
      • Performance and Troubleshooting
        • Generic Performance Tips
        • Memory and JVM Tuning
        • Persistence Tuning
        • SQL Performance Tuning
        • Thread Pools Tuning
    • Pulsar (TR)
  • 📜Data
    • ClickHouse (TR)
    • QuestDB (TR)
  • Comparison
    • Pulsar vs Kafka
    • ClickHouse vs QuestDB
  • Architectural
    • Microservices
      • Design Principles
      • Design Patterns
Powered by GitBook
On this page

Was this helpful?

  1. Apache
  2. Ignite (TR)
  3. Persistence

Snapshot

03/02/2023

Varsayılan olarak, snapshot’un segmenti, ilgili bir Ignite node’unun çalışma dizininde depolanır. Bu segment, Ignite Persistence'ın veri, index, WAL ve diğer dosyaları tuttuğu aynı depolama ortamını kullanır. Snapshot, persistence dosyaları tarafından halihazırda kullanılan kadar yer kaplayabileceğinden ve disk I/O'yu Ignite Persistence rutinleriyle paylaşarak uygulamalarınızın performansını etkileyebileceğinden, snapshot ve persistence dosyalarını farklı ortamlarda depolamak önerilir.

Persistence dosyalarının depolama dizinlerini değiştirerek veya aşağıda gösterildiği gibi varsayılan snapshotların konumunu geçersiz kılarak Ignite Native Persistence ve Snapshot alma arasındaki bu girişim önlenebilir:

💡 XML config;
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
    <!--
       Sets a path to the root directory where snapshot files will be persisted.
       By default, the `snapshots` directory is placed under the `IGNITE_HOME/db`.
    -->
    <property name="snapshotPath" value="/snapshots"/>

    <property name="cacheConfiguration">
        <bean class="org.apache.ignite.configuration.CacheConfiguration">
            <property name="name" value="snapshot-cache"/>
        </bean>
    </property>

</bean>
PreviousSwappingNextDisk Compression

Last updated 2 years ago

Was this helpful?

🪶