title: Gotchas while bulk loading CouchDB
body: <p>I've got ~15k rows in MSSQL 2005 that I want to migrate into CouchDB, where one row is one document. I have a CLR-UDF that writes <em>n</em> rows to an schema-bound XML file. I have an XSL transform that converts the schema-bound XML to JSON.  </p>
  
  <p>With these existing tools I'm thinking I can go MSSQL to XML to JSON. If I batch <em>n</em> rows per JSON file, I can script cURL to loop through the files and POST them to CouchDB using the bulk API <code>_bulk_docs</code>.</p>
  
  <p>Will this work? Has anybody done a migration like this before? Can you recommend a better way?</p>