# Random Query Generator Tests

{% hint style="info" %}
This page contains background information for MariaDB developers.
{% endhint %}

[PQuery](https://github.com/mariadb-corporation/mariadb-qa/tree/master/pquery) is currently in development to perform random query generation.

The documentation for the Random Query Generator is available [here](http://github.com/RQG/RQG-Documentation/wiki/Category:RandomQueryGenerator).

The latest RQG used by MariaDB can be found at:

* <https://github.com/elenst/rqg/tree/master>
* <https://github.com/MariaDB/randgen/tree/master>

The list of automatic tests is located in the `buildbot.conf` file in the [`mariadb.org-tools`](/docs/server/reference/product-development/server-development/quality/benchmarks-and-long-running-tests/benchmarks/mariadb-tools.md) repository.

## See Also <a href="#see-also" id="see-also"></a>

* [RQG Performance Comparisons](/docs/server/reference/product-development/server-development/quality/benchmarks-and-long-running-tests/benchmarks/rqg-performance-comparisons.md)
* [RQG Extensions for MariaDB Features](/docs/server/reference/product-development/server-development/quality/rqg-extensions-for-mariadb.md)
* [Optimizer Quality](/docs/server/reference/product-development/server-development/quality/optimizer-quality.md)
* [QA Tools](/docs/server/reference/product-development/server-development/quality/qa-tools.md)
* [Worklog Quality Checklist Template](/docs/server/reference/product-development/server-development/quality/worklog-quality-checklist-template.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/product-development/server-development/quality/random-query-generator-tests.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
