The best way of update records in MySQL from XML feed

后端 未结 1 420
轮回少年
轮回少年 2021-01-16 06:02

I am thinking about the best way, how to update my records in table (MySQL) from XML feed. I have database and this database contains the daily offers from several sales por

相关标签:
1条回答
  • 2021-01-16 07:03

    I would import the new xml feeds into a temporary table, keeping the old table active; and then when all imports are successful, you can simply drop the original table and rename the new to be the original. This should result in less downtime, but more importantly it will give you the ability to abort the switch in the event the new import of XML fails on a given night.

    hope that helps.

    0 讨论(0)
提交回复
热议问题