Home / Companies / Carto / Blog / Post Details
Content Deep Dive

CARTO's Use of Foreign Data Wrappers

Blog post from Carto

Post Details
Company
Date Published
Author
CARTO Contributors
Word Count
528
Company Posts That Month
31
Language
English
Hacker News Points
-
Post removed?
No
Summary

PostgreSQL's foreign data wrappers (FDW) allow developers to expose external sources of data as tables inside PostgreSQL, enabling queries to be evaluated against both local and remote data sources. CARTO leverages FDW in two main ways: postgres_fdw for linking data between remote databases and users' Carto databases, and odbc_fdw for exposing operational database data to Carto instances. By utilizing the full-featured postgres_fdw implementation, CARTO achieves faster data access without replicating data from one database to another. To support spatial queries, CARTO extended postgres_fdw to include PostGIS geometry types and functions, enabling remote data access and generalizing their enhancements for use with any PostgreSQL extended type. Additionally, odbc_fdw enables schedule live data syncs between Carto instances and remote databases, supporting connections to various data sources such as MySQL, PostgreSQL, SQL Server, and Apache Hive.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.