Announcement Announcement Module
Collapse
No announcement yet.
Batch Metadata Tables Clean up Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch Metadata Tables Clean up

    I want to delete records from all Batch_XXX tables based on last_updated date in batch_job_execution table. How to Delete data from Spring Batch Metadata tables that are 90 days old. I want to write stored procedure to delete records that are created in spring batch metadata. Can you please let me know the query to do it. I need to delete data that are 90 days old. We are using oracle as DB.

  • #2
    there's no out-of-the-box support to do that in Spring Batch, you'll need to take a look at the batch metadata tables, and create the SQL queries yourself. There's an appendix in the Spring Batch reference documentation about the structure of the tables.

    Comment


    • #3
      Hi,

      Is this anywhere in the spring batch dev pipeline ?
      It would be very useful if this feature is provided out of the box by spring batch.

      Thanks,
      Gayathri

      Comment

      Working...
      X