Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cognizant
IN
Last activity: 23 May 2023 1:36 EDT
How to make a property not to save in pzpvstream
The scenario here is :
suppose we're having two properties example Name and age on submit of the screen i don't want to save the data in pzpvstream how we can achieve it.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 23 May 2023 1:36 EDT
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
Areteans Tech
AU
@AkshithReddyT Hmm, I would first check if the property value needs to be stored or not, then i will think about optimization. If i dont have to save the property value , I would not optimise the property as well.
Sample use case : Consider on DOB, I have to show Age on the screen. I don't have to store the Property Age in the DB. I can calculate the Age based on DOB anytime. In this case, I will have the Age property and will not save the data in DB and will not optimise it as well .
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Coforge
IN
@vimalchandvyou can do property optimization.
which means exposing a property. It will create a separate column in the database with the name of property that is exposed. And hence this will prevent the property from getting stored into pzpvstream.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/d15abde4-8d7e-492d-9442-356473f3aa5e.png?h=77499dc0&itok=IbfPK4C5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/d15abde4-8d7e-492d-9442-356473f3aa5e.png?h=77499dc0&itok=IbfPK4C5)
Evoke Technologies
US
@vimalchandv I don't think so, even if we optimize or expose it, still the data will be there in pzpvstream as well as in column..!
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
Areteans Tech
AU
@AkshithReddyT In the Property Rule , under Advanced Tab , you can use "do not save the Property Data". try that !!
-
AITHA RAKESH
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/d15abde4-8d7e-492d-9442-356473f3aa5e.png?h=77499dc0&itok=IbfPK4C5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/d15abde4-8d7e-492d-9442-356473f3aa5e.png?h=77499dc0&itok=IbfPK4C5)
Evoke Technologies
US
@uashok93 That option will be there only for un-optimized columns right? So for optimized properties, the data will be there in both the columns right?
Accepted Solution
Updated: 23 May 2023 1:36 EDT
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689977000/008cd202-c922-442b-a8ca-64dee0de7666.jpg?itok=4B9LwqUO)
Areteans Tech
AU
@AkshithReddyT Hmm, I would first check if the property value needs to be stored or not, then i will think about optimization. If i dont have to save the property value , I would not optimise the property as well.
Sample use case : Consider on DOB, I have to show Age on the screen. I don't have to store the Property Age in the DB. I can calculate the Age based on DOB anytime. In this case, I will have the Age property and will not save the data in DB and will not optimise it as well .
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-04/2211affb-2dde-44e3-8331-5357cc046d91.jpg?itok=E4sdXX7Y)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2023-04/2211affb-2dde-44e3-8331-5357cc046d91.jpg?itok=E4sdXX7Y)
Rulesstack Private Limited
IN
Hi @vimalchandv,
Please find the below link for a better understanding
https://docs-previous.pega.com/system-administration/87/optimizing-database-properties
Regards
Mohd Qizer Uddin
-
Marije Schillern