the visual novel database

Revision 9

d18

Revision 8
By Yorhel on 2020-08-21 at 12:42
Revision 9
By Yorhel on 2021-07-02 at 14:35
Edit summary for revision 9

Fix releases/year query, which someone overwrote. Removed another broken query. I think the remaining queries are safeguarded against overwriting now.
Contents<...>
iOQ7) ([sql](https://query.vndb.org/queries/iUeOEa6XNWlAiOQ7))

## Stats

- [Number of releases per year](https://query.vndb.org/query-chart/GrnPQZA1b1cQMri4) ([sql](https://query.vndb.org/queries/GrnPQZA1b1cQMri4))
- [Number of new Japanese VNs per year](https://query.vndb.org/query-chart/12cL0bWrNyphgodJ) ([sql](https://query.vndb.org/queries/12cL0bWrNyphgodJ))

- [Number of Japanese VNs translated into English per year](https://query.vndb.org/query-chart/Tb5a
<...>
<...>
iOQ7) ([sql](https://query.vndb.org/queries/iUeOEa6XNWlAiOQ7))

## Stats

- [Number of releases per year](https://query.vndb.org/query-chart/3f676d6e-db73-4c50-ad05-da7403cc5669) ([sql](https://query.vndb.org/queries/3f676d6e-db73-4c50-ad05-da7403cc5669))
- [Number of Japanese VNs translated into English per year](https://query.vndb.org/query-chart/Tb5a
<...>

Report an issue on this page.

Database Querying

1. Introduction

The VNDB database is available for public querying at query.vndb.org.

2. Rules & notes

  • You do not need an account to view or run queries, but if you plan to save queries it helps to be logged in on VNDB.
  • The database runs on PostgreSQL.
  • Queries are run against an import of the near-complete database dump, updated daily at 8:30 UTC. This means that it may take up to 24 hours for changes to the main database to show up in query results.
  • Maximum query execution time is 60 seconds (but you may get a timeout before that).
  • The database can include additional indices, (materialized) views, stored procedures or other caches that are not available in the original dumps. These are listed in /extras.sql.txt. Feel free to suggest additions to that file in t12800.
  • The interface runs SQLPad, bug reports and feature requests may be posted in t12800, but you can also send pull requests directly to the SQLPad repository to give others a chance to provide feedback.
  • The database schema will likely change over time and this may break your saved queries.
  • The service is provided for humans only. Please DO NOT use bots or crawlers to interface with query.vndb.org, instead use the API or just get the database dumps directly.
  • Data obtained through the querying service is available under the Open Database License + Database Contents License, see our Data License for more information.

3. Interesting queries

If you've written a query that may be useful or interesting for others, please share them in t12800. Here's a few:

3.1. Moderation tools

3.2. Stats

3.3. Custom querying