# Slow segment runtime

**URL:** <https://forum.mautic.org/t/slow-segment-runtime/22816>\
**Category:** Product Support\
**Created:** [February 24, 2022, 4:24pm UTC](https://forum.mautic.org/t/slow-segment-runtime/22816 "2022-02-24T16:24:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![renatocron](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/renatocron/32/6936_2.png) [@renatocron](https://forum.mautic.org/u/renatocron)\
**Post date:** [February 24, 2022, 4:24pm UTC](https://forum.mautic.org/t/slow-segment-runtime/22816/1 "2022-02-24T16:24:18Z")

</div>

My Mautic version is: v3.3.4  
My PHP version is: 7.3.18  
My Database type and version is: mariadb:10.5.10-focal (docker)

I have this segment “foobar-diff” that generates 2004 contacts.  
Very simple filter:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7dfa26f3d141c805fc6f04580e52c49d26f5f297.png)

It’s working but it’s very slow, consume a full cpu core for 10 minutes every time it runs (every 15mins)

The filter is defined as:  
Includes Segments “Foo” with 13170 contacts  
AND Excludes Segments “bar” with 11166 contacts

Maybe related to [Slow segment updates? Try this](https://forum.mautic.org/t/slow-segment-updates-try-this/21496)

There’s any other way to make this run faster? maybe using tags instead of segments?
