


Tencent Cloud generously donates OpenTenBase domestic database software
According to news from this site on December 19, according to Tencent Cloud official news, on December 16, at the 2023 Open Atomic Developer Conference, Tencent Cloud released the community release version of the enterprise-level distributed database TDSQL OpenTenBase Donate to the Open Atomic Foundation to create a prosperous database technology ecosystem with the upstream and downstream industry chains and developers through open source co-creation.

According to reports, OpenTenBase has been polished for 10 years in Tencent’s internal business and external commercial scenarios such as social networking, games, advertising, and finance. The above is said to be "perfectly suitable" for application scenarios with massive data, high concurrency, high HTAP, and distributed transaction capabilities. This is another important basic software project donated by Tencent after the compiler software OpenKona JDK and the full-link autonomously evolved operating system OpenCloudOS.
Feng Guanlin said that he is very happy that Tencent has open sourced OpenTenBase, a basic software database project that has been developed for many years and has been verified by a large number of business scenarios, and donated it to the Open Atom Open Source Foundation. He said that in the future, the foundation will uphold a neutral and open attitude and work together with the industry to build OpenTenBase into an outstanding open source project with global influence
Pan Anqun, general manager of Tencent Cloud Database R&D, said that the OpenTenBase database fills It fills the gap in the open source distributed OLTP system based on PostgreSQL in the industry, and integrates technical capabilities such as HTAP dual engines, distributed transaction consistency, high SQL compatibility and complex queries, providing strong support for enterprise digital transformation
-
In terms of engine, OpenTenBase supports both OLTP (online transaction processing) and OLAP (online analytical processing) capabilities, which can effectively reduce the complexity and cost of business architecture;
In terms of transaction consistency, a global transaction management node is introduced to manage distributed transactions, and distributed transaction consistency technology is used to ensure transaction consistency in a fully distributed environment. compatibility;
In terms of compatibility, it is highly compatible with PostgreSQL version and Oracle version;
Query in In terms of performance, the newly developed distributed query optimizer can improve the performance of complex queries by more than ten times.
Tencent has open sourced more than 170 projects so far, ranking among the top ten in global enterprise open source, and has received the attention and likes of more than 470,000 developers
The above is the detailed content of Tencent Cloud generously donates OpenTenBase domestic database software. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



On May 22, Tencent Cloud announced a new large model upgrade plan. One of the main models, Hunyuan-lite model, the total API input and output length is planned to be upgraded from the current 4k to 256k, and the price is adjusted from 0.008 yuan/thousand tokens to fully free. The Hunyuan-standardAPI input price dropped from 0.01 yuan/thousand tokens to 0.0045 yuan/thousand tokens, a decrease of 55%, and the API output price dropped from 0.01 yuan/thousand tokens to 0.005 yuan/thousand tokens, a decrease of 50%. The newly launched Hunyuan-standard-256k has the ability to process ultra-long text of more than 380,000 characters, and the API input price has been reduced to 0.015 yuan/thousand toke.

The implementation of large models is accelerating, and "industrial practicality" has become a development consensus. On May 17, 2024, the Tencent Cloud Generative AI Industry Application Summit was held in Beijing, announcing a series of progress in large model development and application products. Tencent's Hunyuan large model capabilities continue to upgrade. Multiple versions of models hunyuan-pro, hunyuan-standard, and hunyuan-lite are open to the public through Tencent Cloud to meet the model needs of enterprise customers and developers in different scenarios, and to implement the most cost-effective model solutions. . Tencent Cloud releases three major tools: knowledge engine for large models, image creation engine, and video creation engine, creating a native tool chain for the era of large models, simplifying data access, model fine-tuning, and application development processes through PaaS services to help enterprises

Apple's latest releases of iOS18, iPadOS18 and macOS Sequoia systems have added an important feature to the Photos application, designed to help users easily recover photos and videos lost or damaged due to various reasons. The new feature introduces an album called "Recovered" in the Tools section of the Photos app that will automatically appear when a user has pictures or videos on their device that are not part of their photo library. The emergence of the "Recovered" album provides a solution for photos and videos lost due to database corruption, the camera application not saving to the photo library correctly, or a third-party application managing the photo library. Users only need a few simple steps

How to use MySQLi to establish a database connection in PHP: Include MySQLi extension (require_once) Create connection function (functionconnect_to_db) Call connection function ($conn=connect_to_db()) Execute query ($result=$conn->query()) Close connection ( $conn->close())

To handle database connection errors in PHP, you can use the following steps: Use mysqli_connect_errno() to obtain the error code. Use mysqli_connect_error() to get the error message. By capturing and logging these error messages, database connection issues can be easily identified and resolved, ensuring the smooth running of your application.

Through the Go standard library database/sql package, you can connect to remote databases such as MySQL, PostgreSQL or SQLite: create a connection string containing database connection information. Use the sql.Open() function to open a database connection. Perform database operations such as SQL queries and insert operations. Use defer to close the database connection to release resources.

Using the database callback function in Golang can achieve: executing custom code after the specified database operation is completed. Add custom behavior through separate functions without writing additional code. Callback functions are available for insert, update, delete, and query operations. You must use the sql.Exec, sql.QueryRow, or sql.Query function to use the callback function.

Use the DataAccessObjects (DAO) library in C++ to connect and operate the database, including establishing database connections, executing SQL queries, inserting new records and updating existing records. The specific steps are: 1. Include necessary library statements; 2. Open the database file; 3. Create a Recordset object to execute SQL queries or manipulate data; 4. Traverse the results or update records according to specific needs.
