当前位置:网站首页>Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
2022-07-02 23:24:00 【Official blog of oceanbase database】
6 month 21 Friday night 20:00, Ideal released 2022 The flagship model of L9. Three dimensional space interaction 、 Super computing platform 、 Five screen audio-visual system 、AD Max Flagship intelligent driving ...... As a large-scale home intelligence flagship, full-size SUV, No matter from the configuration or experience design “ Full... Full ”. And ideal ONE As a new force in car making, it sells more than ten thousand models a month , It is also the first Chinese brand in history 30 Models with monthly sales of more than 10000 above the price of 10000 . At present, ideal has become one of the new energy automobile brands preferred by Chinese household users —— In the latest 5 The sales volume of new power vehicles made by new energy ranked on the list in June , Ideal for delivery 11496 The car ranks first .
Ideal car holding hands OceanBase
Recent years , In the field of Industrial Science and technology , More and more Chinese enterprises like ideal have abandoned the traditional “ Overtaking in curve ” Strategy , Have chosen to open a new track “ Lane change overtaking ”. among “ User experience first ” Not only is it ideal to make a distinction mark , It is also the direction that enterprises in other industries have been exploring , Try to open up your own advantage track . for example , Databases that play a key role in the field of basic software .
We know , In technology manufacturing , The smooth and efficient operation of the production line is the lifeline of the enterprise . If the core production line execution system fails , It will directly lead to shutdown , Every second means supply chain and manpower 、 resources 、 Huge loss of opportunity cost , It can even set off the butterfly effect .
Imagine such a scene : In a tight production lead time , One day, the production line system suddenly experienced a request timeout for a certain flow link , Material pulling and scheduling are affected , It is preliminarily confirmed that the database load is full , As a fireman DBA Open the slow log to start analysis , Looking at the full screen SQL Execution list : Time consuming 、 Number of executions , The various indicators of the implementation plan are related to each other , Unable to quickly determine the root cause …… Under great pressure ,DBA Start killing connections in an attempt to restore the system , But the speed of connection killing can not catch up with the speed of automatic retry by the application system ……
Final , The R & D team rolled back the release of new system functions , The system is restored after performing a lossy downgrade , The production impact is irreparable . A sense of powerlessness surged into my mind , As SRE We all know , There was another bloodbath at the fault recovery meeting .
This year, , Ideal auto self research MES Manufacturing systems 、WMS Warehouse management systems are used OceanBase 3.0 edition . Under the escort of intelligent operation and maintenance system , abnormal SQL The diagnosis of is real-time automatic analysis ,DBA Just take a look at the suspicious at the critical moment SQL list , Can quickly determine the root cause of the problem , And get reasonable emergency optimization suggestions . And this is just a self-study OceanBase A miniature of intelligence .
All self-developed : All in order to go further
last year , At home L2 The level of auxiliary driving passenger cars has reached 22.2% Market penetration of , And the ideal is in the higher L3 even to the extent that L4 On the evolution road of assisted driving , We have chosen the self-study route that is completely under our own control . In addition, the extended range system 、 Chassis control system , The central domain controller is also independently developed . As a new force , But it has reached the forefront of the industry . This insight and strategy is similar to OceanBase Persistent “ from 0 Build the next generation database ” agree without prior without previous consultation . Use existing solution products to transform , May go faster in a short time , But complete independent research and development , To go further in the future .
Take a specific example :OceanBase Based on Paxos The protocol implements the database service “ Automatic fault recovery ” and “ Zero data loss ”, And maintain stable performance and availability even under complex network conditions . As a consensus agreement “ origin ”、 The best fault tolerance Paxos, Its engineering implementation is also the most difficult . This is also adopted by many products in the industry Raft The reason for the simplified algorithm . Through the continuous efforts of the kernel Engineers ,OceanBase As early as 1.0 The version implements a complete and independent implementation based on Multi-Paxos Log synchronization mechanism of the algorithm , And in the extreme scene, polish the... Which has been iterated for many years 3.0 edition , This is also for OceanBase Supporting the long distance across the city “ Live more ” The deployment architecture provides a solid foundation .
Migrate to OceanBase after , The average jitter frequency of an ideal production line execution system database decreases by about 80%, For common fault events, we have really achieved “ Recover first , Post analysis ”. this , This is the meaning of self-study .
OceanBase be based on Multi-Paxos Basic architecture
Intelligent : The database should also “ unmanned ”
Ideal L9 Flagship intelligent driving system as standard : Ideal AD Max. In addition to having perception 、 Decision making 、 Planning capability to ensure the reliability and high growth of the system , On the security level , Power steering system 、 Braking system and power supply system of force calculation platform , Redundancy design is also carried out , Ensure the reliability of the actuator . By turning the previous millions of automatic driving high-order sensors and computing platforms into standard configuration ,L9 It will realize the navigation and driving assistance function of the whole scene . Besides , Original intelligent driving interactive system , In the startup state , Safe driving interactive screen and HUD Will provide the most important environmental and warning information , Make intelligent driving safer 、 More convenient .
and “ Intelligent driving ” This topic , about OceanBase Come on , The earliest exploration practice can be traced back to 2017 year . Today, OceanBase Intelligent operation and maintenance system , Around monitoring 、 The diagnosis 、 Report on three dimensions , It provides users with rich functions 、 Easy to use “ Powerful weapons ”, Now let's introduce .
Intelligent monitoring
The monitoring system of traditional database , Users are often required to find indicators that may be abnormal in the numerous monitoring items , And the correlation and causal analysis between the various indicators , In fact, it relies heavily on expert experience .
OceanBase Operation and maintenance management tools OCP, Embed expert experience directly into each layer of monitoring , Response from the surface RT Drill down to the basic index of a single physical node , Users only need to click the associated suspicious indicators in each layer of monitoring , We can position the problem layer by layer . Say goodbye to the past “ Open a dozen monitoring pages at the same time , Repeated comparative analysis ” Inefficient troubleshooting .
Besides ,OCP Intelligent monitoring can also support from “ The alarm -> monitor -> Business -> SQL -> Trace ” Correlation analysis of the whole link , Help users locate problems more quickly .
Intelligent diagnosis
More slowly than most others SQL Monitoring based database diagnostic products , new OCP 3.3 In the version , Intelligent diagnosis has evolved to a new level . Not only does it support the suspicions mentioned earlier SQL Automatic analysis , It also provides services such as transaction diagnostics 、SQL Request analysis 、SQL Executive portrait 、 Intelligent optimization suggestions 、 Deadlock analysis and other rich functions , Greatly improve the understanding of “ abnormal SQL” The processing capacity and emergency response efficiency of the biggest culprit behind the abnormal events in this database :
Big transaction analysis and diagnosis : Effectively intervene in pending or long transactions , Avoid business congestion :
SQL Request analysis : Visually display all kinds of time-consuming data in the current database SQL Distribution of execution times of 、 Response time distribution :
SQL Perform portrait analysis : OceanBase As a HTAP database , With Parallel The complexity of pattern execution SQL Can be clearly analyzed through the portrait :
Users can even intuitively see the most time-consuming operator in the physical execution plan in the form of a flame diagram :
SQL Optimization Suggestions : Provide recommendations for optimal index creation directly 、 Recommendations such as historical optimal plan recommendations and tenant specification expansion recommendations , The operability is very strong , In a large number of scenarios, users only need to perform optimization operations according to the recommendations to quickly solve problems .
Deadlock analysis : Deadlock is a problem that relational databases may encounter ,OceanBase In addition to avoiding the effect of persistent deadlock in mechanism , In the new OCP 3.3 Deadlock can also be analyzed more intuitively in . Including the roles of deadlock participants , The execution sequence in which the deadlock occurs , The execution corresponding to the deadlock node SQL, Help customers analyze the root cause of deadlock , And the circular dependency is analyzed to solve .
Performance report & Log aggregation
In addition to the monitoring and diagnosis related functions mentioned above , In the aspect of intelligent database patrol ,OCP There are also many exciting features , One of them is the expected database performance report :
Performance report
OceanBase from OCP 3.3 Start providing clusters 、 Performance analysis report of tenant dimension , It covers everything from traditional basic information to cluster load 、 Events wait 、 Memory usage is unique to the distributed architecture RPC Type analysis , It can be for OceanBase In depth optimization provides comprehensive reference materials , And with the evolution of the version, it continues to improve .
System log aggregation
Database operation and maintenance and troubleshooting are generally inseparable from system log analysis , For a cluster with multiple distributed nodes , Its log analysis is often full of challenges : The traditional method is to log in to the corresponding node , Only through a series of manual filtering can we locate the required log content , If the problem may involve multiple distributed nodes , This process will be more painful .OCP The log aggregation analysis function of has completely solved this problem . The logs of the entire cluster can be seen at a glance on the console , It can also be based on the cluster 、 node 、 Log type 、 Keywords and other dimensions are used to filter and aggregate any dimension , No longer need to log in to each node “ Regular +grep”, Greatly improve the efficiency of troubleshooting and analysis .
All five stars : Flagship configuration , Ultimate experience
Having finished the exploration of intelligence , Let's look back at this ideal L9: full-size SUV, Large space , Full of flagship configurations . Yes 7.4.3 The sky is full of panoramic sound ; Full seat electric adjustment 、 Heating ventilation 、 More massage ; There is also an immersive multi screen AV system …… besides , The ultimate pursuit of user experience , It is also reflected in many details :Switch A direct line connection , The whole family has fun playing games ; Three dimensional space interaction technology , Interact in the car in the most natural way ;HUD Combined with the safety driving screen , Liberate the central control screen , Make map navigation and panoramic parking get shocking effect . It can be said that everything is constantly polished around the experience .
and OceanBase As a database , We have also built a luxurious family of ecological tools around this powerful kernel , Let users start data migration from the initial evaluation of the project , Switch from online business to initiate incremental subscription , Finally, change control for R & D , Both provide users with “ Intuitive and easy to use ” The functional experience of . Say goodbye to the separation of multiple platforms in the past 、 data silos 、 A difficult situation to maintain . Let's take a look at .
Migration assessment tools OMA
Before migration, click to obtain the compatibility report of the current system , It also includes dynamic assessment 、 Performance load playback and other capabilities , Greatly reduce and reduce the blind spots and risks of migration and transformation , Improve project delivery efficiency .
Data migration tools OMS
It not only provides one-stop heterogeneous database migration and switching capabilities , It also provides incremental subscriptions to a variety of data sources 、 Aggregate synchronization function , At the same time, it supports incremental dynamic DDL, Significantly reduce link maintenance costs , Improve happiness .
Developer tools ODC
In addition to the usual SQL R & D and debugging functions ,ODC The latest version also integrates process control and operation audit functions , Users with special roles can control various database changes of ordinary users , The administrator can audit the database for changes . This function significantly improves the efficiency of R & D collaboration , And reduce the risk of production change .
Ideal L9 As a full-size new flagship family SUV, Ideal car through technology and ingenuity , Provide security for users , Comfortable future driving experience , Help people “ Create a mobile home , Create a happy home ”. and OceanBase As the next generation of intelligent database facing the future , It can not only provide stable support for businesses in a variety of scenarios , Improve R & D and O & M happiness , It can also significantly improve the efficiency of production collaboration , Better create value for the enterprise . Believe in the future OceanBase And ideals will continue to move forward hand in hand , Make a new spark .
Architects have something to say :
Bai Chao | Kiln ( flower )OceanBase Solution architect 、 Ant group database team DBA Experts
this OceanBase Encounter with the ideal car , Not only “ The new forces of database meet the new forces of car making ”, Under the new background, the two innovative enterprises are in the concept of 、 Insight coincides .
In the process of communication and cooperation with the ideal technical team , It is obvious that the technology manufacturing industry has strict requirements for information systems due to its particularity . I'm also glad to be able to explore boldly with ideal engineers this time , In depth communication , A lot of innovative ideas came out . In the future ,OceanBase Will continue to be more intelligent 、 Direction of automation , Creating a database “ unmanned ”, Help more future enterprises like the ideal to become leaders in the technology manufacturing industry .
边栏推荐
- Redis 过期策略+conf 记录
- Solution to boost library link error
- 为什么RTOS系统要使用MPU?
- Jinglianwen technology's low price strategy helps AI enterprises reduce model training costs
- Introduction to the latest plan of horizon in April 2022
- Where is the win11 microphone test? Win11 method of testing microphone
- Connexion à distance de la tarte aux framboises en mode visionneur VNC
- Call vs2015 with MATLAB to compile vs Project
- 富滇银行完成数字化升级|OceanBase数据库助力布局分布式架构中台
- 20220524_数据库过程_语句留档
猜你喜欢
Tiktok actual combat ~ number of likes pop-up box
聊聊内存模型与内存序
Eight bit responder [51 single chip microcomputer]
Start from the bottom structure to learn the customization and testing of FPGA --- Xilinx ROM IP
Where is the win11 automatic shutdown setting? Two methods of setting automatic shutdown in win11
Win11自动关机设置在哪?Win11设置自动关机的两种方法
Three solutions to frequent sticking and no response of explorer in win11 system
面试过了,起薪16k
Remote connection of raspberry pie by VNC viewer
[Yangcheng cup 2020] easyphp
随机推荐
Hisilicon VI access video process
Loss function~
用matlab调用vs2015来编译vs工程
"A good programmer is worth five ordinary programmers!"
SharedPreferences 保存List<Bean> 到本地并解决com.google.gson.internal.LinkedTreeMap cannot be cast to异常
Win11自动关机设置在哪?Win11设置自动关机的两种方法
Pandora IOT development board learning (HAL Library) - Experiment 4 serial port communication experiment (learning notes)
20220527_ Database process_ Statement retention
Win11麦克风测试在哪里?Win11测试麦克风的方法
海思调用接口之Makefile配置
Pytorch training CPU usage continues to grow (Bug)
Go language sqlx library operation SQLite3 database addition, deletion, modification and query
高数有多难?AI 卷到数学圈,高数考试正确率 81%!
(毒刺)利用Pystinger Socks4上线不出网主机
内网渗透 | 手把手教你如何进行内网渗透
Win11系统explorer频繁卡死无响应的三种解决方法
What if win11 can't turn off the sticky key? The sticky key is cancelled but it doesn't work. How to solve it
理想汽车×OceanBase:当造车新势力遇上数据库新势力
Antd component upload uploads xlsx files and reads the contents of the files
設置單擊右鍵可以選擇用VS Code打開文件