Deciding whether to use Product Extensions (PX) or Data Sources (DS) / Datamarts is sometimes not easy. This table should help you identify the main differences:
|
Area |
Product Extension |
Data Source / Datamart |
|---|---|---|
|
Needed license for |
Price Setting module |
Analytics module |
|
Designed for big data (e.g. transaction history) |
|
|
|
Designed for frequently changing data |
|
|
|
Can values be edited by the user |
|
|
|
Creating charts |
|
|
|
Data loading – automatic
|
|
|
|
Data loading – manual
|
|
|
|
Data truncation |
|
|
|
Querying from Groovy |
Note: |
|
|
Selecting distinct values |
|
|
|
Aggregation: SUM, AVG, MIN, MAX, COUNT |
|
|
|
Group by |
|
|
|
Joins |
|
|
|
Exists |
Using
|
Using SQL query |
|
Sorting |
|
|
|
Creating database indexes |
Recommendation for the main PX index is (attribute1, attribute2) or potentially (attribute1, attribute2, attribute3). |
|