wso2 das清除配置-不工作?

wso2 das清除配置-不工作?,wso2,wso2-das,Wso2,Wso2 Das,WSO2DAS版本:3.0.1 我在查看了最低高可用性部署文档后设置了WSO2DAS。 () 以及使用mariaDB的DAS产品。 mariaDB有两个数据库(WSO2_分析_事件_存储_数据库、WSO2_分析_处理的_数据_存储_数据库) 数据库中的表具有请求api后的数据 最后。我在查看清除数据文档后设置了清除配置。 () 更改了属性内的配置,如下所示 <analytics-dataservice-configuration> <!-- The name of the

WSO2DAS版本:3.0.1

我在查看了最低高可用性部署文档后设置了WSO2DAS。 ()

以及使用mariaDB的DAS产品。 mariaDB有两个数据库(WSO2_分析_事件_存储_数据库、WSO2_分析_处理的_数据_存储_数据库) 数据库中的表具有请求api后的数据

最后。我在查看清除数据文档后设置了清除配置。 ()

更改了属性内的配置,如下所示

<analytics-dataservice-configuration>
   <!-- The name of the primary record store -->
   <primaryRecordStore>EVENT_STORE</primaryRecordStore>
   <!-- Analytics Record Store - properties related to record storage implementation -->
   <analytics-record-store name="EVENT_STORE">
      <implementation>org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore</implementation>
      <properties>
            <property name="datasource">WSO2_ANALYTICS_EVENT_STORE_DB</property>
            <property name="category">large_dataset_optimized</property>
      </properties>
   </analytics-record-store>
   <analytics-record-store name = "PROCESSED_DATA_STORE">
      <implementation>org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore</implementation>
      <properties>
            <property name="datasource">WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</property>
            <property name="category">large_dataset_optimized</property>
      </properties>
   </analytics-record-store>
   <!-- The data indexing analyzer implementation -->
   <analytics-lucene-analyzer>
    <implementation>org.apache.lucene.analysis.standard.StandardAnalyzer</implementation>
   </analytics-lucene-analyzer>
   <!-- The number of index data replicas the system should keep, for H/A, this should be at least 1, e.g. the value 0 means
        there aren't any copies of the data -->
   <indexReplicationFactor>1</indexReplicationFactor>
   <!-- The number of index shards, should be equal or higher to the number of indexing nodes that is going to be working,
        ideal count being 'number of indexing nodes * [CPU cores used for indexing per node]' -->
   <shardCount>6</shardCount>
   <!-- The amount of index data (in bytes) to be processed at a time by a shard index worker. Minimum value is 1000. -->
   <shardIndexRecordBatchSize>20971520</shardIndexRecordBatchSize>
   <!-- The interval in milliseconds, which a shard index processing worker thread will sleep during index processing operations. This setting
        along with the 'shardIndexRecordBatchSize' setting can be used to increase the final index batched data amount the indexer processes
        at a given time. Usually, higher the batch data amount, higher the throughput of the indexing operations, but will have a higher latency
        of record insertion to indexing. Minimum value of this is 10, and a maximum value is 60000 (1 minute). -->
   <shardIndexWorkerInterval>1500</shardIndexWorkerInterval>
   <!-- Data purging related configuration -->
   <analytics-data-purging>
      <!-- Below entry will indicate purging is enable or not. If user wants to enable data purging for cluster then this property
       need to be enable in all nodes -->
      <purging-enable>true</purging-enable>
      <cron-expression>0 50 11 * * ?</cron-expression>
      <!-- Tables that need include to purging. Use regex expression to specify the table name that need include to purging.-->
      <purge-include-tables>
         <table>.*</table>
         <!--<table>.*jmx.*</table>-->
      </purge-include-tables>
      <!-- All records that insert before the specified retention time will be eligible to purge -->
      <data-retention-days>365</data-retention-days>
   </analytics-data-purging>
</analytics-dataservice-configuration>

活动商店
org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore
WSO2\u分析\u事件\u存储\u数据库
大型数据集优化
org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRecordStore
WSO2\u分析\u处理的\u数据\u存储\u数据库
大型数据集优化
org.apache.lucene.analysis.standard.StandardAnalyzer
1.
6.
20971520
1500
真的
0 50 11 * * ?
.*
365
由于签入DAS碳门户组织表格,在清除时间后,数据被删除。 但还有两个数据库(WSO2_ANALYTICS_EVENT_STORE_DB、WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB)的数据

问题是:

清除配置是否覆盖组织表?
还是设置错误?

您能澄清一下您的意思吗

但还有两个数据库(WSO2_ANALYTICS_EVENT_STORE_DB、WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB)的数据

您的意思是您仍然可以在数据库中看到表吗?如果是的话,那是设计的。DAS数据清除只删除早于指定时间的记录,而不删除表本身