i have date and month based folder are there thousand & lakhs of file there inside the folder s
what is good approach for that insert in to database in daily based like scheduler or service
i have date and month based folder are there thousand & lakhs of file there inside the folder s
what is good approach for that insert in to database in daily based like scheduler or service
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jayraj ChhayaRank #304 · 8.2K reputationPosted Sep 26, 2025, 7:50 AM EDT
Use a Python scheduler/service that runs daily, reads new files from the date/month folders, and does a bulk insert into MySQL (using
executemanyorLOAD DATA INFILEfor speed). After insertion, move files to an archive to avoid duplicates.