cluster:174
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cluster:174 [2018/08/27 14:45] – hmeij07 | cluster:174 [2018/08/28 12:38] (current) – hmeij07 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== SQL on GPU ==== | ==== SQL on GPU ==== | ||
| + | |||
| + | MapD built the first ever open source SQL engine to harness GPU computing for analytics. Designed for maximum performance, | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | ** Browser ** | ||
| + | |||
| + | Log into one of the tails like petaltail, swallowtail or cottontail2 preferably, and with x11-forwarding enabled go to port 9092 of node '' | ||
| + | |||
| + | * http:// | ||
| + | |||
| + | - Click New Dashboard. | ||
| + | - Click Add Chart. | ||
| + | - Click SCATTER. | ||
| + | - Click Add Data Source. | ||
| + | - Choose the flights_2008_7M table as the data source. | ||
| + | - Click X Axis +Add Measure. | ||
| + | - Choose depdelay. (departure delay) | ||
| + | - Click Y Axis +Add Measure. | ||
| + | - Choose arrdelay. (arrival delay) | ||
| + | |||
| + | 7 million records, amazingly fast. I mean like < 50 ms (milliseconds). There are pie, bar, stacked bar, bubble etc charts and point maps or chloropleth maps. A SQL editor. | ||
| + | |||
| + | {{ : | ||
| + | |||
| ** Interactive ** | ** Interactive ** | ||
| - | https:// | + | * https:// |
| + | * can be scripted using mapdql | ||
| + | |||
| + | < | ||
| + | |||
| + | [root@n37 ~]# export MAPD_USER=mapd | ||
| + | [root@n37 ~]# export MAPD_GROUP=mapd | ||
| + | [root@n37 ~]# export MAPD_STORAGE=/ | ||
| + | [root@n37 ~]# export MAPD_PATH=/ | ||
| + | [root@n37 ~]# cd $MAPD_PATH | ||
| + | [root@n37 mapd]# ./ | ||
| + | Password: (HyperInteractive) | ||
| + | User mapd connected to database mapd | ||
| + | mapdql> | ||
| mapdql> \t ^flight.* | mapdql> \t ^flight.* | ||
| flights_2008_7M | flights_2008_7M | ||
| - | mapdql> SELECT origin_city AS " | + | mapdql> SELECT origin_city AS " |
| + | - AVG(airtime) AS " | ||
| + | - WHERE distance < 175 GROUP BY origin_city, | ||
| ... | ... | ||
| - | SELECT origin_city AS " | + | Portland|North Bend|46.12162162162162 |
| - | " | + | Medford|North Bend|28 |
| - | dest_city; | + | Covington|Huntington|24.98076923076923 |
| + | mapdql> | ||
| + | </ | ||
| ** Demos ** | ** Demos ** | ||
| - | https:// | + | * https:// |
| - | + | ||
| ** Load sample ** | ** Load sample ** | ||
| < | < | ||
| - | /opt/mapd | + | |
| + | /opt/mapd/ | ||
| Enter dataset number to download, or ' | Enter dataset number to download, or ' | ||
| # | # | ||
| Line 58: | Line 99: | ||
| </ | </ | ||
| + | * https:// | ||
| \\ | \\ | ||
| **[[cluster: | **[[cluster: | ||
cluster/174.1535381154.txt.gz · Last modified: by hmeij07
