tidb-operator | TiDB operator creates and manages TiDB clusters | Database library

 by   pingcap Go Version: v1.5.0-beta.1 License: Apache-2.0

kandi X-RAY | tidb-operator Summary

kandi X-RAY | tidb-operator Summary

tidb-operator is a Go library typically used in Database applications. tidb-operator has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

TiDB Operator manages TiDB clusters on Kubernetes and automates tasks related to operating a TiDB cluster. It makes TiDB a truly cloud-native database.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tidb-operator has a medium active ecosystem.
              It has 1105 star(s) with 449 fork(s). There are 107 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 210 open issues and 1531 have been closed. On average issues are closed in 25 days. There are 31 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of tidb-operator is v1.5.0-beta.1

            kandi-Quality Quality

              tidb-operator has 0 bugs and 0 code smells.

            kandi-Security Security

              tidb-operator has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tidb-operator code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tidb-operator is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              tidb-operator releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 125705 lines of code, 3816 functions and 557 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tidb-operator
            Get all kandi verified functions for this library.

            tidb-operator Key Features

            No Key Features are available at this moment for tidb-operator.

            tidb-operator Examples and Code Snippets

            No Code Snippets are available at this moment for tidb-operator.

            Community Discussions

            Trending Discussions on tidb-operator

            QUESTION

            Containers for database and scalability
            Asked 2019-Sep-30 at 03:02

            Consider TiDB and the TiDB Operator as examples for this question.

            TiDB

            TiDB ("Ti" stands for Titanium) is an open-source NewSQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.

            TiDB Operator

            The TiDB Operator automatically deploys, operates, and manages a TiDB cluster in any Kubernetes-enabled cloud environment.

            Once the database is live, there are broadly two scenarios ever.

            1. Very high rate of read only queries.
            2. Very high rate of write queries.

            In either of the scenarios, which component of the containerized database scales? Read replicas? Database 'engine' itself? Persistent volumes? All of the above?

            ...

            ANSWER

            Answered 2019-Sep-30 at 03:02

            Containerized infrastructure abstracts storage and computing resources (consider PV and Pod in k8s), and these resources scale as the database scales. So the form of scaling depends on the database itself.

            For TiDB, while it offers MySQL compatible SQL interface, its architecture is is very different from MySQL and other traditional relational databases:

            • The SQL layer(TiDB) serves SQL queries and interacts with the storage layer based on the calculated query plan. It is stateless and scales on demand for both read and write queries. Typically, you scale out/up the SQL layer to get more compute resources for query plan calculation, join, aggregation and serving more connections.
            • The Storage layer(TiKV) is responsible for storing data and serving KV APIs for the SQL layer. The most interesting part of TiKV is the Multi-raft replication, The storage layer automatically splits data into pieces and distributes them to containers evenly. Each pieces is a raft group whose leader serves read and write queries. Upon scale in/out, the storage layer will automatically migrates data pieces to balance the load. So, scale out the storage layer will give you better read/write throughput and large data capacity.

            Back to the question, all of the components mentioned in the question scales. The read/write replicas serving SQL queries can scale, the database "engine"(storage layer) serving KV queries can scale, and the PV is also scaled out along with the scaling process of the storage layer.

            Source https://stackoverflow.com/questions/58128760

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install tidb-operator

            You can follow our Get Started guide to quickly start a testing Kubernetes cluster and play with TiDB Operator on your own machine.

            Support

            You can see our documentation at PingCAP website for more in-depth installation and instructions for production:. All the TiDB Operator documentation is maintained in the docs-tidb-operator repository.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pingcap/tidb-operator.git

          • CLI

            gh repo clone pingcap/tidb-operator

          • sshUrl

            git@github.com:pingcap/tidb-operator.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link