Forum Discussion

arpost's avatar
arpost
Icon for Post Prodigy rankPost Prodigy
5 years ago
Solved

Do pipelines replicate data or just metadata about the source dataset?

I'm interested in using the new Deployment Pipelines feature but want to be sure I'm correct in my understanding of the nature of pipelines. When I deploy via a pipeline from a Dev workspace, I see t...
  • jeffshieldsdev's avatar
    jeffshieldsdev
    5 years ago

    The intent is you only use the prod workspace for consumption...dev is for development and test is for testing.  All downstream dataflows, datasets and reports should always be consuming from the prod workspace.  Only promote to prod what has been tested.

     

    There no additional cost associated with storing data in all three environments--depending on your data source there may be other costs associated with extraction, but using pipelines enables you to test without overwriting prod.

     

    An option to limit data is to create a parameter is in your dataset (like "DevelopmentMode", and set to "dev", "test", or "prod").  Have your queries check this parameter and when "dev" only import a small numer of rows (I use 10), if "test" then import a medium-high amount (I use 10,000), and if "prod" or blank, don't impose a filter at all.

     

    You can then assign deployment rules to set the parameter in each stage's Workspace in the pipeline settings.