Registration for TiDB SCaiLE 2025 is now open! Secure your spot at our annual event.Register Now

What is RAG – Retrieval Augmented Generation

In the realm of artificial intelligence, especially within the domains of natural language processing (NLP) and generative models, Retrieval Augmented Generation (RAG) has emerged as a cutting-edge technique that significantly enhances the capabilities of AI systems. By combining the strengths of retrieval-based models and generative models, RAG represents a hybrid approach that addresses some of […]

Semantic Caching in the Era of Generative AI and Vector Databases

The rapid evolution in data management, prominently shaped by the rise of generative AI and the integration of vector databases, calls for innovative caching strategies like semantic caching. This blog discusses the significance of semantic caching within these contemporary frameworks, providing a practical example to illustrate its utility. Understanding Semantic Caching Semantic caching is not […]

Introduce Vector Search Indexes in TiDB – A MySQL-compatible database with built-in Vector Storage

TiDB, a MySQL-compatible database, has introduced a powerful feature for handling high-dimensional data: Vector Search Indexes. This post will explore how TiDB implements these indexes using the Hierarchical Navigable Small World (HNSW) method, and how they can be utilized for efficient nearest neighbor searches. What are Vector Search Indexes? Vector Search Indexes are designed to […]

Why Does Cardinality in Databases Matter?

Understanding the concept of cardinality in databases is crucial for designing efficient, reliable, and scalable data models. It has a profound impact on query performance, data integrity, and overall database design. But what exactly is cardinality, and why is it so important in databases? In this article, we’ll delve into the depths of cardinality, exploring […]

Master MySQL Integer Data Types for Optimal Performance

MySQL offers a variety of integer data types that cater to different sizes and ranges of numerical values. Understanding these data types is crucial for designers and developers alike to ensure efficient database performance and to prevent unnecessary storage use. This article explores the significance of MySQL integer data types, diving into their characteristics and […]

Precision with SQL: Mastering the Decimal Data Type

In the realm of SQL and database management, precision and accuracy are paramount, especially when dealing with numerical values that represent currency, scientific measurements, or other critical data. One of the key tools at the disposal of developers and database administrators for managing precision is the SQL decimal data type. Understanding how and when to […]

Relational vs. Non-Relational Databases: Settle the Debate

In the ever-evolving landscape of data management, the debate between relational and non-relational databases is a significant one. Both have their unique structures, advantages, and scenarios where they excel. This comparison aims to shed light on their differences and assist you in deciding which is the most suitable for your specific needs. What is a […]

Revolutionizing MySQL Database Interactions with Text-to-SQL and LLMs

The integration of database technologies with advancements in artificial intelligence, particularly through Large Language Models (LLMs) such as OpenAI’s GPT-3, is a pivotal development in the realm of data management. Text-to-SQL(text2sql) capabilities enable users to convert natural language queries into precise SQL commands, democratizing data access and empowering users across varying levels of technical expertise. […]

Vector Database Scalability: A Comparative Analysis of pgvector and TiDB Serverless Vector Storage

In the era of artificial intelligence (AI) and big data, vector databases represent a significant evolution in database technology. These databases, designed to efficiently store and query high-dimensional vector data, are crucial for AI applications such as semantic search, recommendation systems, and similarity searches. Among the notable technologies in this space are pgvector and TiDB […]

Building a GraphRAG from Wikipedia page Using DSPy, OpenAI and TiDB Vector Database

As GraphRAG is regarded as a better solution to the traditional RAG, TiDB Serverless – a MySQL compatible database but with built-in vector search – is also experimenting GraphRAG with our own database. So recently we wrote a tutorials to teach people who are interested in building GraphRAG how to build a Knowledge Graph based […]

Ultimate Guide to ENUM Data Type in MySQL Databases

Understanding ENUM The ENUM data type is a handy tool in MySQL and other database management systems (DBMS) for defining a column with a pre-defined set of values. These values are enumerated when the table is created, encapsulating the column’s possible values within those specified at the time of creation. This restriction ensures data consistency […]

Unleash the Power of Full Text Search in Databases

Efficient search capabilities are paramount in the realm of databases, driving the need for advanced tools like full text search. This feature revolutionizes data exploration by swiftly sifting through extensive datasets with precision. In a world where quick access to relevant information is key, the significance of full text search cannot be overstated. Understanding Full […]

No results were found for the selected filters.

173747577