Andres Freund escribió: > Just as a datapoint, if you benchmark the numbers of forks that can be > performed by a single process (i.e. postmaster) the number is easily in > the 10s of thousands. Now forking that much has some scalability > implications inside the kernel, but still. > I'd be surprised if the actual fork is more than 5-10% of the current > cost of starting a new backend.
I played at having some thousands of registered bgworkers on my laptop, and there wasn't even that much load. So yeah, you can have lots of forks. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers