First I did direct import of posts to DB in phpmyadmin. So now I need recount, reindex etc.
Reindex content done, recalculate categories done, recalculate user points done. But when I start Recount posts its work ~300-350 k post (from 650 k ) and I take "A database error occurred."
I try start it in browser without JavaSript, but of course script can't work such long time.
How can I solve it?
And maybe somebody know good varints how do import of Q and A from CSV correctly, with all indexes? Read this https://www.question2answer.org/qa/1222/what-is-the-best-way-for-me-to-upload-lot-of-questions-to-the-db, but as I undestand its for old version and honestly hard for my understend.
TNX
UPD: starting process early morning, when server with minimal load - first part with recalculate votes and flags done, but second with answers and hotness broken again at ~50 000. Is it psible to turn off first part with votes and flags? Wich file have this function?