diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-13 18:09:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-13 18:09:39 +0000 |
commit | 00fa950a34b1c94617110b150b8b2517d5241249 (patch) | |
tree | 8f2d8683879079da8f520f7867ebd49b8beaadef /doc/development/performance.md | |
parent | c36152ff8c41fad2f413f253eb7ac5c927e47c56 (diff) | |
download | gitlab-ce-00fa950a34b1c94617110b150b8b2517d5241249.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/performance.md')
-rw-r--r-- | doc/development/performance.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/development/performance.md b/doc/development/performance.md index 5697f41c3dc..72eb85c623b 100644 --- a/doc/development/performance.md +++ b/doc/development/performance.md @@ -448,9 +448,12 @@ SOME_CONSTANT = 'bar' You might want millions of project rows in your local database, for example, in order to compare relative query performance, or to reproduce a bug. You could -do this by hand with SQL commands, but since you have ActiveRecord models, you -might find using these gems more convenient: +do this by hand with SQL commands or using [Mass Inserting Rails +Models](mass_insert.md) functionality. +Assuming you are working with ActiveRecord models, you might also find these links helpful: + +- [Insert records in batches](insert_into_tables_in_batches.md) - [BulkInsert gem](https://github.com/jamis/bulk_insert) - [ActiveRecord::PgGenerateSeries gem](https://github.com/ryu39/active_record-pg_generate_series) |