I have a wordpress site with 5k post and each post has average 25 comments. so 125k total nodes have to be added.
I need import those posts and comments into drupal 6 .
I have written a script to import those post/comments into drupal by drupal's cron service.
but the cron service keeps time out. because import 125k nodes one by one is very slow. what can i do to imporve drupal importing speed?
i am use drupal built in node_save(), comment_save() method to do it.
I have not find out a way to use customized SQL query to increase importing speed yet.
I am execute my script through drupals's cron.php, that mean even i have set 'max_execute_time' to unlimited, but that only affects PHP , apache server has it own time out setting.
PS:
comment is not node in drupal, but that mean, there are still a lot of comment_save() be called, that make this importing process very slow.