# Smf2 import script is running very slow

**URL:** <https://meta.discourse.org/t/smf2-import-script-is-running-very-slow/322651>\
**Category:** Migration\
**Created:** [August 21, 2024, 8:04am UTC](https://meta.discourse.org/t/smf2-import-script-is-running-very-slow/322651 "2024-08-21T08:04:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 21, 2024, 11:21am UTC](https://meta.discourse.org/t/smf2-import-script-is-running-very-slow/322651/6 "2024-08-21T11:21:53Z")

</div>

Unless the users are not getting imported for some reason (they already exist?) then the number it reports is the number importered.

Ah, but if you are running it after the initial import then that number is inflated because it’s counting users that existed when the script started. So that’s about a week to import those.

How many posts?

How fast is the machine? How much ram? What have you done to tune postgres? Is your source database a bottleneck?

I’m not aware of a secret bulk import script for smf2. I have had an import that took weeks to run. The final import won’t take that long. I’d just stick it out.

---

_[View the full topic](https://meta.discourse.org/t/smf2-import-script-is-running-very-slow/322651)._
