Delete a lot of records - easy way

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    Delete a lot of records - easy way

    Hello,

    please I would like to ask you if there is any easier and faster way how to delete a lot of records at once? I would like to clear our system data a bit, but there are a lot of records and the only way I am aware of is to select the record via the checkbox then click actions, and then remove records(problem is than I need to click "Show more" and select another page of records and so on. As far as I know, the data will still be present in the SQL database with the attribute deleted=1, right? Is it safe to delete those rows from the database? (if delete = 1, remove).

    Thanks a lot for the tips!
    Have a nice day
    Attached Files
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    Have you tried Select All Results. so you could select all records and perform the Delete action on them. As per you second question it is safe to remove from DB the deleted records but to avoid any issue just let the cleaning job do the job for you. see attached screenshot.
    Attached Files
    Rabii
    Web Dev

    Comment


    • Jakub Grufik
      Jakub Grufik commented
      Editing a comment
      hey rabii, thanks a lot! I ahve not seen this option to select all the records will try it, thanks man!

    • rabii
      rabii commented
      Editing a comment
      You are welcome
      hope it will help
  • macistda
    Member
    • Jul 2022
    • 76

    #3
    If deleting manually please read this post, too.
    Trimming Database Filesize - EspoCRM Open Source Community Forum

    Comment

    Working...