mardi 26 juin 2018

Does laravel database seeding have a limit?

I have a program that in total will insert approx 500000 database entries in a year. I am trying to test it to make sure that everything works correctly if I have 2 years worth of data? When I run my database seeder though, it just cancels out when it hits that seeder.

This brings up the question, is there a maximum number of entries that you can store in a MySQL database when using laravels seeders and faker library? Because this seeder does work with a smaller number of entries e.g. 1000.

looking at data from the faker library it seems like it doesnt specify this. also looking through the docs there is no mention of size limits.

https://laravel.com/docs/5.6/seeding

https://github.com/fzaninotto/Faker



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire