What is the fastest way to load an XML file into MySQL using C#?

后端 未结 8 1051
独厮守ぢ
独厮守ぢ 2020-12-15 09:19

Question

What is the fastest way to dump a large (> 1GB) XML file into a MySQL database?

Data

The data in question is the StackOverflow Creative

8条回答
  •  不思量自难忘°
    2020-12-15 09:41

    Does this help at all? It's a stored procedure that loads an entire XML file into a column, then parses it using XPath and creates a table / inserts the data from there. Seems kind of crazy, but it might work.

提交回复
热议问题