Category: TalkingData
Foreign-key pre-join (JOIN Simplification and Acceleration Series 6)
Let’s move on to look at how to increase JOIN query performance by making use of certain features of JOINs. As this involves lots of details, we’ll just list some easy-to-understand cases. You can find the complete illustrations in Performance Optimization e-book and related articles in https://c.scudata.com. Let’s begin from the in-memory foreign-key-based join operations:Here are two tables: In which the cid field in the orders table is the foreign key pointing to id field, the customer table’s primary key. To find out the total orders amount in each city (to make the discussion simpler, we won’t specify any condition), we
What is the difference between BI and AI?
There is an I in both BI and AI, and the corresponding English word is “Intelligence”, which appears to have the same meaning. Actually, it’s not the case. Even if we only discuss issues in the field of business decision-making, there are significant differences between the I in BI and AI. Broadly speaking, tasks that rely on data to assist business decision-making can be called BI, and BI can be said to include AI. BI is the purpose, AI is the means, and BI can be achieved through AI means or other means. In this sense, the I of BI