File size: 1,155 Bytes
7677e00
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# AnalyticDB

>[AnalyticDB for PostgreSQL](https://www.alibabacloud.com/help/en/analyticdb-for-postgresql/latest/product-introduction-overview) 
> is a massively parallel processing (MPP) data warehousing service 
> from [Alibaba Cloud](https://www.alibabacloud.com/)
>that is designed to analyze large volumes of data online.

>`AnalyticDB for PostgreSQL` is developed based on the open-source `Greenplum Database` 
> project and is enhanced with in-depth extensions by `Alibaba Cloud`. AnalyticDB 
> for PostgreSQL is compatible with the ANSI SQL 2003 syntax and the PostgreSQL and 
> Oracle database ecosystems. AnalyticDB for PostgreSQL also supports row store and 
> column store. AnalyticDB for PostgreSQL processes petabytes of data offline at a 
> high performance level and supports highly concurrent.

This page covers how to use the AnalyticDB ecosystem within LangChain.

## Installation and Setup

You need to install the `sqlalchemy` python package.

```bash
pip install sqlalchemy
```

## VectorStore

See a [usage example](/docs/integrations/vectorstores/analyticdb).

```python
from langchain_community.vectorstores import AnalyticDB
```