When plumbing a swimming pool you can use PVC plumbing for the filtration and then you would get a good enough sized filtration system that is capable and large enough to filter the water in the size of pool you have.
Here's a good website at the link below to help you calculate the size of pool pump and filtration system needed for your size of pool.
https://poolresearch.com/pump-size-calculator/
If you find a good pool contractor they should install the correct equipment for your swimming pool to operate properly.
Make sure to get reviews on the pool contractor and if they have been in business for awhile then they likely know what they are doing.