Big data: new features of spark, shuffle, hashshufflemanager, sortshufflemanager, new features of spark, AQE, dynamic partition, koalas implement pandas library

Big data: new features of spark, shuffle,

2022找工作是学历、能力和运气的超强结合体,遇到寒冬,大厂不招人,可能很多算法学生都得去找开发,测开
测开的话,你就得学数据库,sql,oracle,尤其sql要学,当然,像很多金融企业、安全机构啥的,他们必须要用oracle数据库
这oracle比sql安全,强大多了,所以你需要学习,最重要的,你要是考网络警察公务员,这玩意你不会就别去报名了,耽误时间!
与此同时,既然要考网警之数据分析应用岗,那必然要考数据挖掘基础知识,今天开始咱们就对数据挖掘方面的东西好生讲讲 最最最重要的就是大数据,什么行测和面试都是小问题,最难最最重要的就是大数据技术相关的知识笔试


Big data: new features of spark

insert image description here
insert image description here
insert image description here

insert image description here
Hash shuffle is easy to handle. It is very laborious to play shuffle
with memory and disk. It is time-consuming and space-consuming.
insert image description here

insert image description here
sort shuffle
sortshufflemanager

insert image description here
insert image description here
Play in batches
Index is a guide to pull files
insert image description here
insert image description here
Without sorting, the space-time performance will be improved.
insert image description here
Wide dependencies cannot avoid the transmission of IO.
Try not to shuffle.
insert image description here
The current focus of spark is RDD and SQL

SQL is very simple and easy to learn, so sparkSQL is very important.

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
Try to balance the data and
dynamically merge
insert image description here
insert image description here
insert image description here
insert image description here
spark. Now the bottom layer of
pyspark and koalas database
can realize ordinary python development,
and pandas can also be used to realize data development

insert image description here

insert image description here

After a wave of operations, you get distributed data.
When you use pandas to operate, it is all distributed computing.
You can also create data through spark, and then convert it into pandas distributed data
insert image description here
. ks can also build distributed pandas data objects
insert image description here
insert image description here
anyway. Feel free to use those functions of native pandas
insert image description here
insert image description here

All kinds of show operations

insert image description here


Summarize

提示:重要经验:

1)
2) Learn oracle well, even if the economy is cold, the whole test offer is definitely not a problem! At the same time, it is also the only way for you to test the public Internet police.
3) When seeking AC in the written test, space complexity may not be considered, but the interview must consider both the optimal time complexity and the optimal space complexity.

Guess you like

Origin blog.csdn.net/weixin_46838716/article/details/131054372