remove FILLFACTOR 95. As default 90 is fine for most applications
This commit is contained in:
		
							parent
							
								
									6511a02b37
								
							
						
					
					
						commit
						9b6bfd116a
					
				@ -22,19 +22,19 @@
 | 
			
		||||
--       That why we need to define DESC index explicitly as (ts DESC NULLS LAST)
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_rule_node_debug_event_main
 | 
			
		||||
    ON rule_node_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON rule_node_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_rule_chain_debug_event_main
 | 
			
		||||
    ON rule_chain_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON rule_chain_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_stats_event_main
 | 
			
		||||
    ON stats_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON stats_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_lc_event_main
 | 
			
		||||
    ON lc_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON lc_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_error_event_main
 | 
			
		||||
    ON error_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON error_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
CREATE INDEX IF NOT EXISTS idx_cf_debug_event_main
 | 
			
		||||
    ON cf_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
 | 
			
		||||
    ON cf_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user