Querying the API on enwiki for "all page property names in use on the wiki" is really slow the first time. Then I tried asking for the maximum with ppnlimit=500, and got
{ "servedby": "mw1235", "error": { "code": "internal_api_error_DBQueryError", "info": "[a93a2aeb] Database query error" } }
Maybe this is just a fact of life doing a DISTINCT query on the page_props table on a huge wiki (includes/api/ApiQueryPagePropNames.php); if so perhaps the doc could note the performance issue.