Summary: | Vendor search has poor performance when system has many vendors | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Acquisitions | Assignee: | Tomás Cohen Arazi <tomascohen> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | 1joynelson, jonathan.druart, kyle, m.de.rooy, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13371 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12762 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Nick Clemens (kidclamp)
2021-08-30 14:24:29 UTC
How many is many? 100, 1000, 10000? (In reply to Jonathan Druart from comment #1) > How many is many? 100, 1000, 10000? Depends on the hardware. (In reply to Kyle M Hall from comment #2) > (In reply to Jonathan Druart from comment #1) > > How many is many? 100, 1000, 10000? > > Depends on the hardware. Lol yes, I know, but it's good to have an idea to recreate the problem locally. *** Bug 11215 has been marked as a duplicate of this bug. *** (In reply to Jonathan Druart from comment #3) > (In reply to Kyle M Hall from comment #2) > > (In reply to Jonathan Druart from comment #1) > > > How many is many? 100, 1000, 10000? > > > > Depends on the hardware. > > Lol yes, I know, but it's good to have an idea to recreate the problem > locally. This will do it: #!/usr/bin/perl use t::lib::TestBuilder; my $builder = t::lib::TestBuilder->new; for ( my $i = 0; $i < 100; $i++ ) { my $b = $builder->build({ source => 'Aqbookseller' }); for ( my $i = 0; $i < 100; $i++ ) { my $basket = $builder->build({ source => 'Aqbasket', value => { booksellerid => $b->{id} } }); } } |