diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-07 22:48:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-07 22:48:34 +0000 |
commit | f033f6d28b014ff21c8ed250f55062c2fb1b12e8 (patch) | |
tree | d2ad3729f10178b9343b19ba6a0f7d415803c3d6 /src/backend/utils/adt/numeric.c | |
parent | 05f43650fcf008a12dd92db4d1ae15c43046e62c (diff) | |
download | postgresql-f033f6d28b014ff21c8ed250f55062c2fb1b12e8.tar.gz postgresql-f033f6d28b014ff21c8ed250f55062c2fb1b12e8.zip |
Modify parallel pg_restore to track pending and ready items by means of
two new lists, rather than repeatedly rescanning the main TOC list.
This avoids a potential O(N^2) slowdown, although you'd need a *lot*
of tables to make that really significant; and it might simplify future
improvements in the scheduling algorithm by making the set of ready
items more easily inspectable. The original thought that it would
in itself result in a more efficient job dispatch order doesn't seem
to have been borne out in testing, but it seems worth doing anyway.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions