Greenplum Database Loaders allow gpfdist
to run as a Windows Service.
Follow the instructions below to download, register and activate gpfdist
as a service:
Update your Greenplum Database Loader package to the latest version. This package is available from Broadcom Support Portal under the specific Greenplum release.
NoteFor more information about download prerequisites, troubleshooting, and instructions, see Download Broadcom products and software.
Register gpfdist
as a Windows service:
Open a Windows command window
Run the following command:
sc create gpfdist binpath= "<path_to_gpfdist.exe> -p 8081 -d External\load\files\path -l Log\file\path"
You can create multiple instances of gpfdist
by running the same command again, with a unique name and port number for each instance:
sc create gpfdist<N> binpath= "<path_to_gpfdist.exe> -p 8082 -d External\load\files\path -l Log\file\path"
Activate the gpfdist
service:
Open the Windows Control Panel and select Administrative Tools > Services.
Highlight then right-click on the gpfdist
service in the list of services.
Select Properties from the right-click menu, the Service Properties window opens.
Note that you can also stop this service from the Service Properties window.
Optional: Change the Startup Type to Automatic (after a system restart, this service will be running), then under Service status, click Start.
Click OK.
Repeat the above steps for each instance of gpfdist
that you created.
Parent topic: Greenplum Database Load Tools for Windows