- ACID consistency
The guarantee that every transaction includes atomicity, consistency, isolation, and durability.
The guarantee that each transaction is treated as a single block of work, which either succeeds or fails in its entirety.
A class is the deprecated synonym of collection.
A cluster refers to the group of nodes that work together to provide the services of FaunaDB. Nodes belong to replicas, and each replica contains a full copy of all data within a FaunaDB cluster.
A collection is a group of data categorized within a database. Data within a collection usually has a common structure, but this is not required. If you’re familiar with traditional databases, you can think of a collection as a table without a structured schema.
Consistency is the promise that any data written to the database must be valid according to all defined rules, such as unique indexes.
A cursor marks a position within a paginated set. When you use the
Paginatefunction, and the total number of results exceeds the current page size, an
aftercursor marks the position for the next page of results, and a
beforecursor marks the end of the previous page of results. You use the
beforecursor in subsequent queries to request additional results.
- Data node
A node in a FaunaDB replica which is responsible for persisting and retrieving data.
Databases are containers for data with access control. In FaunaDB’s multi-tenant system, databases can be hierarchical, with multiple child databases nested within parent databases, each with their own permissions and security settings.
A directive is a GraphQL feature that provides dynamic control over the execution of a query.
Documents are single, changeable records within a FaunaDB database. Because they are changeable, they can have more than one version over time as they are updated by an application. If you are familiar with other database systems, you can think of a document as a row, or record.
- Document ID
The unique identifier of a document within a collection or database. See Ref.
Durability guarantees that once a transaction has been committed, it is permanent. If a system crash, power failure, or other unexpected failure occurs, all transactions with committed data are saved.
- Extract, Transform, Load (ETL)
ETL is a three-step procedure that is typically used when blending data from multiple sources, such as when copying data from one or more databases into a single database. ETL can define how to extract the data from the sources, how to transform the data into the necessary format, and how to load the data into the destination.
- Fauna Query Language (FQL)
FaunaDB offers a fully functioning transactional query language called Fauna Query Language (FQL). You can interact with it via the official drivers or the FaunaDB Shell. The native language drivers provide the ability to write application queries in the programming language of your choice.
- Globally, horizontally scalable
FaunaDB is globally, horizontally scalable because it allows each FaunaDB node to perform the same role as any other FaunaDB node, with nodes that can be distributed around the world. With each node able to serve any role, there is no single point of failure.
- Granular identity management, authentication, and access control
Granular identity management, authentication, and access control built on top of an enterprise-class, multi-tenant foundation, provides a secure platform for companies of all sizes. FaunaDB has both administrative and application-level identity and security to provide a layer of separation between applications and administration. This provides the application developers more time to focus on building their applications without having to spend time securing the overall datastore.
GraphQL is an open source data query and manipulation language that provides declarative schema definitions and a composable query syntax. For more information, see https://graphql.org/.
An identity typically represents a "user", but could also be used to identify any service, system, or process that needs to run queries with specific privileges. Any document within FaunaDB can be used as an identity.
An index is a database entity that facilitates data lookups. Indexes are used to quickly locate data without having to search every individual document (or row of data) in the database.
An instance is the deprecated synonym of document.
- Instance ID
An instance ID is the deprecated synonym of a document ID.
Sequences are arrays and pages that can be mapped and filtered.
- Log node
A node in a FaunaDB replica which is responsible for coordinating and storing transactions.
Multi-tenancy is the ability to have a single FaunaDB cluster provide individual databases to multiple tenants (e.g., companies, applications, programmers, and/or users) in isolation. Each tenant has complete administrative control, a private security model, and programmatic creativity over their own database(s), free from interference from users of other databases in the cluster.
A mutation refers to a query that changes data when using GraphQL.
A node is a computer (or virtual machine) with a unique network address that is running the FaunaDB database software.
A group of nodes containing exactly one node from each replica.
Every document in the database has an identifier called a reference, or ref for short. A document’s ref encodes its collection along with a unique id, and is therefore unique to that document within the scope of the database in which it is stored.
A named group of one or more, co-located nodes containing a complete copy of the data.
- Quality-of-service management
FaunaDB’s quality-of-service management means that, in a saturated cluster where resources are reaching critical capacity, each tenant receives scheduling proportional to their configured priority. For example, in a saturated cluster with two tenants of priority 500 and 250, the first tenant gets 2/3 of the resources and the other gets 1/3 of the resources. This prevents a single greedy user from significantly impacting other users.
priorityoption is deprecated as of release 2.10.0. You should avoid specifying
priority. In some future FaunaDB release,
prioritywill be removed. See Deprecations for more details.
A query is the way to ask a database for, or to change, data. FaunaDB’s native Fauna Query Language provides a robust set of commands to help you form any kind of query you require. You can also use GraphQL for most kinds of querying too.
A set is a sorted group of immutable data from a collection. Object data is mapped onto a set, and as documents are created, modified, and deleted, the set is updated. Sets provide a relational view of the data within your collection, such as all the X that are Y.
- Temporal documents
In FaunaDB, documents are temporal, meaning each creation, modification, or deletion event is assigned a transaction timestamp and inserted into the document history. Approaching documents temporally allows event sourcing, reactive programming, and various audit and stream-oriented data architectures that help the system "just work". Unlike older NoSQL systems, no additional configuration is needed to get your database playing nicely with your incoming and outgoing data.
- Transaction log
To prepare for unexpected failures, all transaction data received by a log node is written to non-volatile storage for recovery of a replica. The transaction data is written in the order received to optimize for fast writes.
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Thank you for your feedback!