XML parsing, populating database and text indexing
I am trying to populate database by parsing XML files and directly putting the parsed values into database. I have about 1000 XML files and huge text data. I want to use the full-text indexing while I populate the database and I am using the mysql text indexing for this. I want 开发者_StackOverflow社区to know is it a good idea to index while I populate the database or to populate the database first and then index it? Because I think its taking a day to parse a single file and populate the database.
精彩评论