.. warning::
When importing large amounts of data, be sure to run
- ``analyze;`` afterwards as SQLite3 has a tendency to use sub-optimal
+ ``analyze;`` afterwards as SQLite3 has a tendency to use very sub-optimal
indexes otherwise.
This backend retrieves all data from a SQLite database, which is an
This schema contains all elements needed for master, slave and
superslave operation.
+.. warning::
+ It is not possible to replace the sqlite3 database file while PowerDNS is
+ running. Specifically, using ``rsync`` to distribute sqlite3 databases
+ does not work without stopping PowerDNS first and restarting it after the
+ change.
+
After you have created the database you probably want to fill it with
data. If you have a BIND zone file it's as easy as:
``zone2sql --named-conf=/path/to/named.conf --gsqlite | sqlite3 powerdns.sqlite3``,