- Notifications
You must be signed in to change notification settings - Fork5
Commita273d39
committed
Add ideas for concurrent pg_dump and pg_restore:
< * pg_dump> * pg_dump / pg_restore> o Allow pg_dump to utilize multiple CPUs and I/O channels by dumping> multiple objects simultaneously>> The difficulty with this is getting multiple dump processes to> produce a single dump output file.>http://archives.postgresql.org/pgsql-hackers/2008-02/msg00205.php>> o Allow pg_restore to utilize multiple CPUs and I/O channels by> restoring multiple objects simultaneously>> This might require a pg_restore flag to indicate how many> simultaneous operations should be performed. Only pg_dump's> -Fc format has the necessary dependency information.>> o To better utilize resources, restore data, primary keys, and> indexes for a single table before restoring the next table>> Hopefully this will allow the CPU-I/O load to be more uniform> for simultaneous restores. The idea is to start data restores> for several objects, and once the first object is done, to move> on to its primary keys and indexes. Over time, simultaneous> data loads and index builds will be running.>> o To better utilize resources, allow pg_restore to check foreign> keys simultaneously, where possible> o Allow pg_restore to create all indexes of a table> concurrently, via a single heap scan>> This requires a pg_dump -Fc file because that format contains> the required dependency information.>http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php>> o Allow pg_restore to load different parts of the COPY data> simultaneously< single heap scan, and have a restore of a pg_dump somehow use it> single heap scan, and have pg_restore use it<http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php1 parentb5aae11 commita273d39
2 files changed
+70
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
822 | | - | |
| 822 | + | |
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
841 | 875 | | |
842 | 876 | | |
843 | 877 | | |
| |||
967 | 1001 | | |
968 | 1002 | | |
969 | 1003 | | |
970 | | - | |
| 1004 | + | |
971 | 1005 | | |
972 | | - | |
973 | 1006 | | |
974 | 1007 | | |
975 | 1008 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
| 730 | + | |
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
750 | 780 | | |
751 | 781 | | |
752 | 782 | | |
| |||
860 | 890 | | |
861 | 891 | | |
862 | 892 | | |
863 | | - | |
864 | | - | |
865 | | - | |
| 893 | + | |
866 | 894 | | |
867 | 895 | | |
868 | 896 | | |
| |||
0 commit comments
Comments
(0)