Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

太慢了,生成10条数据还可以,超过1000就不行了 #93

Open
workwyz opened this issue Oct 12, 2021 · 4 comments
Open

太慢了,生成10条数据还可以,超过1000就不行了 #93

workwyz opened this issue Oct 12, 2021 · 4 comments

Comments

@workwyz
Copy link

workwyz commented Oct 12, 2021

如标题。
python datafaker rdb mysql+mysqldb://root:123456@localhost:3306/test?charset=utf8 stu 10000 --meta meta.txt

python datafaker rdb mysql+mysqldb://root:123456@localhost:3306/test?charset=utf8 stu 10000 --meta meta.txt --worker 5 --batch 100

以上两种都试过。卡住不动了。

@workwyz
Copy link
Author

workwyz commented Oct 12, 2021

还不如自己写个程序插入快呢。

@workwyz
Copy link
Author

workwyz commented Oct 12, 2021

试了 ES ,Mysql
都是如此 只要数据超过10条。就非常慢。

@kamjin1996
Copy link

xd,你看看文档的注意事项啊 作者都说了原生py灰常慢

@onlystarczyw
Copy link

太慢,放弃了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants