Commit 33b7366
Query all sequences per DB in parallel for action=sequence
action=sequence used to open a new session for every sequence checked,
which could be very slow. Fix by creating a single SQL statement using
UNION ALL to query all sequences at once.1 parent d7ed399 commit 33b7366
3 files changed
+28
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7325 | 7325 | | |
7326 | 7326 | | |
7327 | 7327 | | |
7328 | | - | |
| 7328 | + | |
| 7329 | + | |
7329 | 7330 | | |
7330 | 7331 | | |
7331 | 7332 | | |
7332 | | - | |
7333 | | - | |
| 7333 | + | |
| 7334 | + | |
| 7335 | + | |
| 7336 | + | |
7334 | 7337 | | |
7335 | 7338 | | |
7336 | 7339 | | |
7337 | 7340 | | |
7338 | 7341 | | |
7339 | 7342 | | |
7340 | 7343 | | |
7341 | | - | |
7342 | | - | |
7343 | | - | |
7344 | | - | |
| 7344 | + | |
| 7345 | + | |
| 7346 | + | |
| 7347 | + | |
7345 | 7348 | | |
7346 | 7349 | | |
7347 | 7350 | | |
| |||
9876 | 9879 | | |
9877 | 9880 | | |
9878 | 9881 | | |
| 9882 | + | |
| 9883 | + | |
9879 | 9884 | | |
9880 | 9885 | | |
9881 | 9886 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
| 703 | + | |
| 704 | + | |
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
| |||
0 commit comments