The main postgresql database on the PBX, stores timestamp, contacts, and texts, basically everything as displayed in chat history of each 3CXPhone.
You can't disable this archiving nor have auto delete but one can choose to delete his history at any time from his 3CXPhone / Chat / make selection of conversation(s) / click Delete icon