Database | Amazon Neptune Flashcards
What is Amazon Neptune?
General
Amazon Neptune | Database
Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it easy to build and run applications that work with highly connected datasets. SQL queries for highly connected data are complex and hard to tune for performance. Instead, with Amazon Neptune you can use open and popular graph query languages to execute powerful queries that are easy to write and perform well on connected data. The core of Neptune is a purpose-built, high-performance graph database engine optimized for storing billions of relationships and querying the graph with milliseconds latency. You can use Neptune for graph use cases such as recommendation engines, fraud detection, knowledge graphs, drug discovery, and network security. Amazon Neptune is fully managed and handles the time-consuming tasks such as provisioning, patching, backup, recovery, failure detection and repair. You pay a simple monthly charge for each Amazon Neptune database instance you use. There are no upfront costs or long-term commitments required.
How do I try Amazon Neptune?
General
Amazon Neptune | Database
To try Amazon Neptune, request access to the Preview.
What popular graph query languages does Amazon Neptune support?
General
Amazon Neptune | Database
Amazon Neptune supports both the open source Apache TinkerPop Gremlin graph traversal language and the W3C standard Resource Description Framework’s (RDF) SPARQL query language.
How can I migrate from an existing Apache TinkerPop Gremlin application to Amazon Neptune?
General
Amazon Neptune | Database
Amazon Neptune provides an Apache TinkerPop Gremlin Server that supports both Websocket and REST connections. Once you provision an instance of Amazon Neptune, you can configure your existing TinkerPop application to use the endpoint provided by the service. See also Accessing the Graph via Gremlin.
Do I need to change client drivers to use Amazon Neptune’s Gremlin Server?
General
Amazon Neptune | Database
No, Amazon Neptune’s Gremlin server will support clients that are compatible with Apache TinkerPop version 3.3 using both Websocket and REST connections.
How can I migrate from a triple store with a SPARQL endpoint to Amazon Neptune?
General
Amazon Neptune | Database
Amazon Neptune provides an HTTP REST endpoint that implements the SPARQL 1.1 Protocol. Once you provision a service instance, you can configure your application to point to the SPARQL endpoint. See also Accessing the Graph via SPARQL.
Do I need to change client drivers to use Amazon Neptune’s SPARQL Endpoint?
General
Amazon Neptune | Database
No, Amazon Neptune’s SPARQL endpoint will work with any client that supports the SPARQL 1.1 Protocol.
Is Neptune ACID (Atomicity, Consistency, Isolation, Durability) compliant?
Performance
Amazon Neptune | Database
Yes, Neptune is ACID compliant with immediate consistency.
Do I need to create indices on my data with Amazon Neptune?
Performance
Amazon Neptune | Database
No, existing graph database users are often forced to try and outguess the vendor implementation. Explicitly maintaining indices is just one aspect of that. Amazon Neptune does not require you to create specific indices to achieve good query performance, and it minimizes the need for such second guessing of the database design.
What types of graph query workloads are optimized to work with Amazon Neptune?
Performance
Amazon Neptune | Database
Amazon Neptune is designed to support graph applications that require high throughput and low latency graph queries. With support for up to 15 read replicas, Amazon Neptune can support 100,000s of queries per second.
Does Amazon Neptune perform query optimization?
Performance
Amazon Neptune | Database
Yes, Amazon Neptune uses query optimization for both SPARQL queries and Gremlin traversals.
Is Amazon Neptune built on a relational database?
Pricing
Amazon Neptune | Database
No, Amazon Neptune is a purpose-built, high-performance graph database engine. Neptune efficiently stores and navigates graph data, and uses a scale-up, in-memory optimized architecture to allow for fast query evaluation over large graphs.
How much does Amazon Neptune cost?
Pricing
Amazon Neptune | Database
Please see our pricing page for current pricing information.
In which AWS regions is Amazon Neptune available?
Pricing
Amazon Neptune | Database
Please see our pricing page for current information on regions and prices.
Amazon Neptune replicates each chunk of my database volume six ways across three Availability Zones. Does that mean that my effective storage price will be three or six times what is shown on the pricing page?
Pricing
Amazon Neptune | Database
No. Amazon Neptune’s replication is bundled into the price. You are charged based on the storage your database consumes at the database layer, not the storage consumed in Amazon Neptune’s virtualized storage layer.
What are IOs in Amazon Neptune and how are they calculated?
Hardware and Scaling
Amazon Neptune | Database
IOs are input/output operations performed by Amazon Neptune against an SSD-based virtualized storage layer. Every database page read operation counts as one IO. Amazon Neptune issues reads against the storage layer in order to fetch pages not present in the buffer cache. Each page is 16KB in Amazon Neptune.
Amazon Neptune was designed to eliminate unnecessary IO operations in order to reduce costs and to ensure resources are available for serving read/write traffic. Write IOs are only consumed when pushing transaction log records to the storage layer for the purpose of making writes durable. Write IOs are counted in 4KB units. For example, a transaction log record that is 1024 bytes will count as one IO operation. However, concurrent write operations whose transaction log is less than 4KB can be batched together by the Amazon Neptune database engine in order to optimize I/O consumption. Unlike traditional database engines Amazon Neptune never pushes modified database pages to the storage layer, resulting in further IO consumption savings.
What are the minimum and maximum storage limits of an Amazon Neptune database?
Hardware and Scaling
Amazon Neptune | Database
The minimum storage is 10GB. Based on your database usage, your Amazon Neptune storage will automatically grow, up to 64 TB, in 10GB increments with no impact to database performance. There is no need to provision storage in advance.