---
schema_version: "1"
id: de37b43e685b04fe3b4bff619466b34b5cec0153e8267df20bca821d9d789fd8
title: Managing Stale Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_managing_stale_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_managing_stale_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 64ae4dcff524c22023e31110366fc7314ee57700439ce18ddc3b7599f0bb1224
description: In B2C Commerce, stale data is data that is older than a fresh period that you define. You define a fresh period for each feed. Each time a feed is imported, it resets the fresh period for any products in the feed.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Managing Stale Data

In B2C Commerce, stale data is data that is older than a _fresh_ period that you define. You define a fresh period for each feed. Each time a feed is imported, it resets the fresh period for any products in the feed.

You can safely have a fresh period for data in your feed that isn't volatile and is likely to be similar for each feed. Use this period to retain old data if an import feed isn't imported on schedule. However, if the data in your feed is volatile and likely to be wrong, then consider setting a fresh period that treats stale data differently. If a product isn't included in a specific feed, its fresh period isn't reset.

The handling of undefined or stale data is specific to the search sorting rules, promotion rules, and customer segmentation that uses the data.

For customer segmentation, use rule operators to include or exclude customers with undefined (or stale) attributes. For search sorting rules, define default values to use in place of stale or missing data when calculating the values of dynamic attributes.

Active Data for Products

The active data for products without activity for 366 days is automatically removed from Salesforce B2C Commerce. If the product resumes activity, the historic active data is gone. Active data for the product starts anew as if it's a new product. This is the default behavior. To change this value, open a ticket with Salesforce Support.