An open API service indexing awesome lists of open source software.

https://github.com/timescale/integrate-with-timescale-using-sql

Best practice for interacting with your Timescale service using SQL
https://github.com/timescale/integrate-with-timescale-using-sql

Last synced: 8 months ago
JSON representation

Best practice for interacting with your Timescale service using SQL

Awesome Lists containing this project

README

          

# Integrate with Timescale using SQL

Timescale is a high-performance developer focused cloud that provides PostgreSQL services enhanced with our blazing fast vector search.

Timescale services focus on three main use-cases:
* **Time-series and Analytics**: for lightning fast ingest and queries on time based workloads (like price, sensor, event, blockchain, or IoT data).
Powered by TimescaleDB, built for production, and extended with cloud features like transparent data tiering to object storage.

* **General purpose PostgreSQL**: for metadata, business information and traditional relational workloads.
Powered by Dynamic PostgreSQL. Operate within a CPU range and only pay for what you use.

* **Vector and AI**: for applications that require fast search on vector embeddings and metadata, like semantic search, image search, RAG and Agents.
Powered by Timescale Vector and available on Time-series and Dynamic PostgreSQL services.

You use this repo to setup your Timescale service, learn how to tune your data so you get the
best bang for your buck, and implement use cases close to your business model.

Clone the repo, run the use cases, then use the code in your app!

## Apps

This repo contains the following runnable apps:

* **Get started**
* [Create your first Timescale service](https://docs.timescale.com/getting-started/latest/services/)
* **Engineering use cases**
* [Improve database performance](./improve-database-performance/README.md)
* And another
* And another
* **Business use cases**
* [Setup analytics for IOT devices](./setup-analyics-for-iot-devices/README.md)
* And another
* And another

## Prerequisites

In order to run these use cases, you need the following in your development environment:

* psql v\

## Run the app

1. **Clone the repository**

To clone the repository to your local machine, open Terminal and navigate to the directory where you want to clone the repository. Then, use the following command:

```sh
git clone bla bla
```

1. **Open the project**

Do something

1. **Modify the project configuration**

Update the connection parameters in [config.json](./manager/config.json).

- `databasename`: Parameter explanation
- `serviceurl`: Parameter explanation
- `host`: Parameter explanation
- `port`: Parameter explanation
- `user`: Parameter explanation
- `password`: Parameter explanation

1. **Build and run the project**

To build and run the project, ...

1. **Run the samples in the app**

From the main app screen, choose and launch a sample.

## Contact

If you have any questions, issues, or suggestions, please file an issue in our [GitHub Issue Tracker](https://github.com/timescale/docs/issues/).