overview.asciidoc 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. [role="xpack"]
  2. [[sql-overview]]
  3. == Overview
  4. {es-sql} aims to provide a powerful yet lightweight SQL interface to {es}.
  5. [[sql-introduction]]
  6. [discrete]
  7. === Introduction
  8. {es-sql} is an X-Pack component that allows SQL-like queries to be executed in real-time against {es}.
  9. Whether using the REST interface, command-line or JDBC, any client can use SQL to search and aggregate data
  10. _natively_ inside {es}.
  11. One can think of {es-sql} as a _translator_, one that understands both SQL and {es} and makes it easy to read and process data in real-time, at scale by leveraging {es} capabilities.
  12. [[sql-why]]
  13. [discrete]
  14. === Why {es-sql} ?
  15. Native integration::
  16. {es-sql} is built from the ground up for {es}. Each and every query is efficiently executed against the relevant nodes according to the underlying storage.
  17. No external parts::
  18. No need for additional hardware, processes, runtimes or libraries to query {es}; {es-sql} eliminates extra moving parts by running _inside_ the {es} cluster.
  19. Lightweight and efficient::
  20. {es-sql} does not abstract {es} and its search capabilities - on the contrary, it embraces and exposes SQL to allow proper full-text search, in real-time, in the same declarative, succinct fashion.