Closed
Get Data directly using a Report Definition vs through a Data Page
What are the differences or advantages between, getting data directly from a data table using report definitions and getting data using data pages?
In case of getting data directly from a data table, every time you are required to retrieve the data, you should make a DB call and retrieve data from data table. If it is required to retreive data from data table for every work object, there will be those number of calls to DB which will be a preformance impact. To avoid that, Pega introduced a data page, where using load activity, you can retrieve data from data table once and store it in data page.
You can refer this data page any where in application where you wanted data which will not have a DB call and loads data. This data page canbe given scope of Node so that the same data will be used by all work objects and users across the node.