随笔分类 -  SQL

摘要:Materialized View模式 Materialized-View模式是在要求数据格式不利于查询操作的情况下,根据多个数据仓库的数据生成预生成的视图的一种模式。这种模式可以帮助支持高效的查询和数据提取,提高应用程序的性能。 问题 在存储数据时,开发人员和数据管理员考虑的第一优先级通常集中在如 阅读全文
posted @ 2020-10-29 10:27 PanPan003 阅读(575) 评论(0) 推荐(0) 编辑
摘要:原文链接:Let’s build a full stack MongoDB, React, Node and Express (MERN) app github源码地址:jelorivera08/react_fullstack from being a Front End Developer to 阅读全文
posted @ 2019-11-06 11:15 PanPan003 阅读(327) 评论(0) 推荐(0) 编辑
摘要:When an object is created, it is assigned an owner. The owner is normally the role that executed the creation statement. For most kinds of objects, th 阅读全文
posted @ 2019-10-09 19:37 PanPan003 阅读(813) 评论(0) 推荐(0) 编辑
摘要:官网:https://www.postgresql.org/docs/8.1/sql-droptable.html Name DROP TABLE -- remove a table Synopsis Description Name Synopsis Description DELETE dele 阅读全文
posted @ 2019-10-09 19:02 PanPan003 阅读(1520) 评论(0) 推荐(0) 编辑
摘要:原文链接 Preface There are many awesome and powerful distributed NoSQL in the world, like Couchbase, MongoDB, Canssandra, etc. but developing a new one is 阅读全文
posted @ 2019-08-01 17:26 PanPan003 阅读(330) 评论(0) 推荐(0) 编辑
摘要:语法: 官方文档 If you’re familiar with Kibana’s old lucene query syntax, you should feel right at home with the new syntax. The basics stay the same, we’ve 阅读全文
posted @ 2019-08-01 12:49 PanPan003 阅读(4736) 评论(0) 推荐(0) 编辑
摘要:官方文档 语法: 介绍: CREATE FUNCTION defines a new function. CREATE OR REPLACE FUNCTION will either create a new function, or replace an existing definition. 阅读全文
posted @ 2019-08-01 12:30 PanPan003 阅读(3003) 评论(0) 推荐(0) 编辑
摘要:基础知识——介绍 Redis简介 REmote Dictionary Server(Redis) 是一个由Salvatore Sanfilippo写的key-value存储系统。 Redis是一个完全开源免费的,使用ANSI C语言编写、遵守BSD协议、支持网络、可基于内存亦可持久化的日志型、高性能 阅读全文
posted @ 2019-07-29 11:48 PanPan003 阅读(715) 评论(0) 推荐(0) 编辑
摘要:--string 转 json select '{"Items":[{"Id":1,"InitStartDate":"2018-07-01T00:00:00","InitEndDate":"2018-11-13T11:46:59.461722+08:00", "CurrentStartDate":" 阅读全文
posted @ 2019-01-31 14:46 PanPan003 阅读(3220) 评论(0) 推荐(0) 编辑
摘要:spark生成大宽表的parquet性能优化 阅读全文
posted @ 2019-01-10 16:46 PanPan003 阅读(491) 评论(0) 推荐(0) 编辑
摘要:Hive 导入 parquet 格式数据 Parquet 格式文件,查看Schema Parquet 之mapreduce Hive 导入 parquet 格式数据 阅读全文
posted @ 2019-01-10 16:45 PanPan003 阅读(1358) 评论(0) 推荐(0) 编辑
摘要:parquet列式文件实战 parquet code demo http://www.programcreek.com/java-api-examples/index.php?source_dir=hiped2-master/src/main/java/hip/ch3/parquet/Example 阅读全文
posted @ 2019-01-10 16:42 PanPan003 阅读(284) 评论(0) 推荐(0) 编辑
摘要:Parquet文件结构笔记 一个Parquet文件是 由一个header以及一个或多个block块组成,以一个footer结尾。 header中只包含一个4个字节的数字PAR1用来识别整个Parquet文件格式。 文件中所有的metadata都存在于footer中。 footer中的metadata 阅读全文
posted @ 2019-01-10 15:19 PanPan003 阅读(4789) 评论(0) 推荐(0) 编辑
摘要:原文 Parquet 列式存储格式 面向分析型业务的列式存储格式 由 Twitter 和 Cloudera 合作开发,2015 年 5 月从 Apache 的孵化器里毕业成为 Apache 顶级项目 列式存储 列式存储和行式存储相比有哪些优势呢? 当时 Twitter 的日增数据量达到压缩之后的 1 阅读全文
posted @ 2019-01-10 11:29 PanPan003 阅读(8865) 评论(0) 推荐(4) 编辑
摘要: 阅读全文
posted @ 2019-01-10 11:28 PanPan003 阅读(205) 评论(0) 推荐(0) 编辑
摘要:--Find the PID by running this sql: SELECT pid , query, * from pg_stat_activity WHERE state != 'idle' ORDER BY xact_start; --You'll find the pid in the first (left) column, and the first (top) r... 阅读全文
posted @ 2019-01-07 12:20 PanPan003 阅读(216) 评论(0) 推荐(0) 编辑
摘要:Prerequisites Install Docker version 1.13 or higher. Get Docker Compose. On Docker for Mac and Docker for Windows it’s pre-installed, so you’re good-t 阅读全文
posted @ 2018-06-21 14:21 PanPan003 阅读(629) 评论(0) 推荐(0) 编辑
摘要:--if cloumn exist SELECT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_schema='ent' AND table_name='AdsPlatform' AND column_name='Name'); --add cloumn ALTER TABLE finance."Mapping... 阅读全文
posted @ 2018-06-21 11:11 PanPan003 阅读(425) 评论(0) 推荐(0) 编辑
摘要:多维数组 阅读全文
posted @ 2018-05-30 15:38 PanPan003 阅读(4126) 评论(0) 推荐(0) 编辑
摘要:几张图看懂列式存储 从Dremel和Impala的学习引申出了SQL查询的并行执行问题,于是借此机会深入学习一下关系数据库以及关系代数的并行计算。 Speedup和Scaleup Speedup指用两倍的硬件换来一半的执行时间。 Scaleup指两倍的硬件换来同等时间内执行两倍的任务。 但往往事情不 阅读全文
posted @ 2018-04-04 12:34 PanPan003 阅读(1058) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示