Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Force segments to be run in batch

Avatar

Level 3

I have a series of segments that need to be refreshed each day after batch data loading is completed.  Some of the segments have resolved to be Streaming, some resolved to be Batch, and some resolved to be Edge.  How can I force them to all be batch?  Updating in real-time (or near) is not required.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @DavidSlaw1 ,

Here are the qualification rules for a segment to be evaluated as streaming. If somehow your segments can disqualify any of the below rules, it will be then evaluated as batch.

 

Single eventAny segment definition that refers to a single incoming event with no time restriction.
Single event within a relative time windowAny segment definition that refers to a single incoming event.
Single event with a time windowAny segment definition that refers to a single incoming event with a time window.
Profile onlyAny segment definition that refers to only a profile attribute.
Single event with a profile attributeAny segment definition that refers to a single incoming event, with no time restriction, and one or more profile attributes. Note: The query is immediately evaluated when the event comes. In the case of a profile event, however, it must wait 24 hours to be incorporated.
Single event with a profile attribute within a relative time windowAny segment definition that refers to a single incoming event and one or more profile attributes.
Segment of segmentsAny segment definition that contains one or more batch or streaming segments. Note: If a segment of segments is used, profile disqualification will happen every 24 hours.
Multiple events with a profile attributeAny segment definition that refers to multiple events within the last 24 hours and (optionally) has one or more profile attributes.

 

https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/streaming-segmentation.... 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @DavidSlaw1 ,

Here are the qualification rules for a segment to be evaluated as streaming. If somehow your segments can disqualify any of the below rules, it will be then evaluated as batch.

 

Single eventAny segment definition that refers to a single incoming event with no time restriction.
Single event within a relative time windowAny segment definition that refers to a single incoming event.
Single event with a time windowAny segment definition that refers to a single incoming event with a time window.
Profile onlyAny segment definition that refers to only a profile attribute.
Single event with a profile attributeAny segment definition that refers to a single incoming event, with no time restriction, and one or more profile attributes. Note: The query is immediately evaluated when the event comes. In the case of a profile event, however, it must wait 24 hours to be incorporated.
Single event with a profile attribute within a relative time windowAny segment definition that refers to a single incoming event and one or more profile attributes.
Segment of segmentsAny segment definition that contains one or more batch or streaming segments. Note: If a segment of segments is used, profile disqualification will happen every 24 hours.
Multiple events with a profile attributeAny segment definition that refers to multiple events within the last 24 hours and (optionally) has one or more profile attributes.

 

https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/streaming-segmentation.... 

 

Avatar

Level 2

Hi @DavidSlaw1 , Be it any type of Segment evaluation, every segments gets evaluated once in a day during the Segment batch job execution. By default if your segment has qualified for Streaming or edge then it only gets evaluated in this category only of the source data is qualified as streaming or edge.