摘要:
本地文件系统的数据读写 spark的工作模式为本地模式 因为Spark采用了惰性机制,在执行转换操作的时候,即使输入了错误的语句,spark-shell也不会马上报错(假设word.txt不存在) 从文件中读取数据创建RDD ll /root/spark-2.4.3-bin-hadoop2.7/wo 阅读全文
阅读排行榜
PostgreSQL Configuration – managing scary settings
2016-02-24 17:57 by DataBases, 745 阅读, 收藏,
摘要:
When it comes to highly available database servers and configuration, a very important aspect is whether or not a changed setting requires a database 阅读全文
PostgreSQL应用相关问题解决
2015-10-14 16:27 by DataBases, 745 阅读, 收藏,
摘要:
PostgreSQL中是否区分聚簇索引与非聚簇索引的问题?答:PostgreSQL中区分聚簇索引与非聚簇索引。示例如下:创建聚族索引:CREATE INDEX test_ind ON yy (name ASC NULLS LAST);ALTER TABLE yy CLUSTER ON test_in... 阅读全文
多节点ssh免密匙登录
2016-08-22 08:20 by DataBases, 744 阅读, 收藏,
摘要:
1,在所有节点上,使用yourname用户名执行: ssh-keygen -t dsa -P '' -f /home/yourname/.ssh/id_dsa 2,在node1的/home/yourname/.ssh目录下,执行 : cat id_dsa.pub > authorized_keys 阅读全文
PostgreSQL 锁监控
2016-06-28 09:08 by DataBases, 744 阅读, 收藏,
摘要:
PG>9.2 postgres=# SELECT blocked_locks.pid AS blocked_pid,postgres-# blocked_activity.usename AS blocked_user,postgres-# blocking_locks.pid AS blockin 阅读全文
浙公网安备 33010602011771号