The time it takes to replace a pump housing or frame can vary significantly based on several factors, including the type and size of the pump, the complexity of the system, the accessibility of the pump, and the experience of the technician performing the replacement. Generally, the process can take anywhere from a few hours to a full day. 
For smaller, more accessible pumps, the replacement might take approximately 2 to 4 hours. This includes the time needed to shut down the system, disconnect the pump, remove the old housing or frame, install the new one, and then reconnect and test the system to ensure proper operation.
For larger or more complex systems, such as those found in industrial settings, the process can take longer, potentially 6 to 8 hours or more. This is due to the additional steps required, such as draining the system, dealing with larger and heavier components, and possibly needing specialized tools or equipment to handle the pump safely.
Additional time may be required if there are complications, such as corrosion, misalignment, or if other components need to be repaired or replaced during the process. Furthermore, if the pump is located in a difficult-to-access area, this can add to the time required for the replacement.
In summary, while a straightforward pump housing or frame replacement might be completed in a few hours, more complex scenarios can extend the time needed to a full day or more.