Skip to content

which data was saved in table session Magento 2?

I configured session that would be saved to database in file app/etc/env.php. Now, table session has expanded to large size (~4GB). I want to open my mind which data that Magento saved in table session? Can I modify data before save it to database (remove some default data and add new custom data)?