Changes

Jump to navigation Jump to search
275 bytes added ,  11:20, 13 July 2020
no edit summary
This page is part of the [[Getting Started]] Section.
The full distributions of BaseX are equipped with a powerful browser-based database administration interface, the '''DBA'''. It allows you to create and administrate databases, evaluate queries in real time, view log files, monitor logged-in users, manage users, etc. The server-side code is completely written in [[XQuery]] and [[RESTXQ]].
These were our design goals:
* The code base is supposed to inspire and motivate you developing your own RESTXQ web applications.
* The XQuery DBA code only is very slick; the XQuery code consumes around 100 less than 150 KB. It uses plain and simple backward-compatible JavaScript code. The interface is functional, but limited in terms of flashiness and interactivityno framework.
* We tried to make the DBA features as self-explanatory as possible. All functionalities are also available via [[Commands]], [[Module Library|XQuery Modules]] or the Java [[GUI]].
* The {{Code|dba}} sub-directory can simply be copied and moved to any other place. All URL paths point to the same directory; it should be straightforward to adjust the RESTXQ path.
On the welcome page, you need to authenticate yourself by entering the name and password of an admin user. The default user is {{Code|admin}}/{{Code|admin}}; after the first login, the password should be changed via the Users panel.
==Logs== All [[Logging|database logs]] are listed, ordered by creation time in descending order. The interactive filter allows you to search in the users and text columns via regular expressions. The found substrings are highlighted in the output. For each day, a new log files is created. Old log files can be selected and deleted. ==Databases== The DBA database panel contains a list of all databases on the left. On Databases can be created, optimized and dropped. If a database is selected, the rightdatabase resources, the global backups and local options properties are listed, along with some system information. With the "Create…" button, a new database Queries can be createdrun on single database resources. Existing database can be viewed, optimized, and dropped:
[[Image:bla.png|600px|DBA Main Page]]
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu