diff --git a/content/docs/0000_getting-started/0100_introduction.mdx b/content/docs/0000_getting-started/0100_introduction.mdx index 988fe74a..d45d6a8d 100644 --- a/content/docs/0000_getting-started/0100_introduction.mdx +++ b/content/docs/0000_getting-started/0100_introduction.mdx @@ -25,7 +25,7 @@ You do not need to download the full Splitgraph image to query it. Instead, you Splitgraph does not limit your data sources to Postgres databases. It includes first-class support for importing and querying data from other databases using Postgres [foreign data wrappers](../ingesting-data/foreign-data-wrappers/introduction). You can create Splitgraph images or query data in [MongoDB](../ingesting-data/foreign-data-wrappers/load-mongo-collections), [MySQL](../ingesting-data/foreign-data-wrappers/load-mysql-tables), -[CSV files](../ingesting-data/load-csv-files) or [other Postgres databases](../ingesting-data/foreign-data-wrappers/load-postgres-tables) using the same interface. +[CSV files](../ingesting-data/load-csv-files), [other Postgres databases](../ingesting-data/foreign-data-wrappers/load-postgres-tables) or even [Elasticsearch clusters](../ingesting-data/foreign-data-wrappers/load-elasticsearch-index) using the same interface. Finally, Splitgraph is peer-to-peer. You can push and pull data images between other Splitgraph installations and use it as a standalone tool to supercharge your data workflows. diff --git a/content/docs/0000_getting-started/0150_frequently-asked-questions.mdx b/content/docs/0000_getting-started/0150_frequently-asked-questions.mdx index 7ff8b399..e2712c08 100644 --- a/content/docs/0000_getting-started/0150_frequently-asked-questions.mdx +++ b/content/docs/0000_getting-started/0150_frequently-asked-questions.mdx @@ -71,7 +71,7 @@ which will let you ingest data from existing databases without installing Splitg ### Does my data have to be in PostgreSQL to use Splitgraph? -With [mounting](../concepts/mounting), you can query data in other databases (including MongoDB, MySQL or PostgreSQL) directly through Spligraph with +With [mounting](../concepts/mounting), you can query data in other databases (including MongoDB, MySQL, PostgreSQL or Elasticsearch) directly through Spligraph with [any PostgreSQL client](../integrating-splitgraph/other-clients). You do not need to copy your data into PostgreSQL to use Splitgraph. ### Why PostgreSQL? Why not write your own database? diff --git a/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0100_introduction.mdx b/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0100_introduction.mdx index e6c0e8e3..b4217c66 100644 --- a/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0100_introduction.mdx +++ b/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0100_introduction.mdx @@ -9,4 +9,4 @@ Foreign tables act similarly to normal tables and can accept the same SQL querie In Splitgraph terminology, this is called "mounting", kind of like mounting a filesystem to mount points in the directory tree. You can snapshot these mounted tables, turning them into Splitgraph images, with the [`sgr import`](../../sgr/image-management-creation/import) command. -The Splitgraph engine ships with several open-source foreign data wrappers: [`postgres_fdw`](https://www.postgresql.org/docs/12/postgres-fdw.html), [`mongo_fdw`](https://github.com/EnterpriseDB/mongo_fdw) and [`mysql_fdw`](https://github.com/EnterpriseDB/mysql_fdw). +The Splitgraph engine ships with several open-source foreign data wrappers: [`postgres_fdw`](https://www.postgresql.org/docs/12/postgres-fdw.html), [`mongo_fdw`](https://github.com/EnterpriseDB/mongo_fdw), [`mysql_fdw`](https://github.com/EnterpriseDB/mysql_fdw) and [`pg_es_fdw`](https://github.com/splitgraph/postgres-elasticsearch-fdw). diff --git a/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0300_load-postgres-tables.mdx b/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0300_load-postgres-tables.mdx index ed2a60fe..f02b22ac 100644 --- a/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0300_load-postgres-tables.mdx +++ b/content/docs/0300_ingesting-data/0300_foreign-data-wrappers/0300_load-postgres-tables.mdx @@ -6,13 +6,29 @@ export const meta = { To use [`postgres_fdw`](https://www.postgresql.org/docs/12/postgres-fdw.html) and mount remote PostgreSQL databases, run: ``` -$ sgr mount postgres_fdw \\ - -c username:password@server:port \\ - -o '{"dbname": remote_db_name, "remote_schema": remote_schema_name, \\ - "tables_to_mount": ["table_1", "table_2"]}' \\ - local_schema +$ sgr mount postgres_fdw local_schema -c username:password@server:port -o@- <