DolphinDB入门指南

本文为面向初学者的 DolphinDB 入门指南,覆盖环境准备、安装、功能学习与 API 等学习范围。

Source: https://dolphindb.cn/blogs/104

What this page covers

技能认证特训营第二期报名提示

页面顶部提供活动/报名提示,并给出限时报名链接信息。

DolphinDB入门指南(文章头部信息与目标)

该部分给出文章标题、作者与日期,并说明本文面向初学者的学习范围(环境准备、安装、功能学习、API 等)。

官方文档与社区入口

该部分提供 DolphinDB 中英文手册/教程入口,并给出中文技术问答社区链接。

安装准备

该部分给出下载安装与客户端工具(VSCode 插件)的准备步骤,并提供相关说明与链接。

部署

该部分说明完成安装后可搭建单机/多机集群,并给出单节点、单机集群与参数配置入口及差异说明。

功能

该部分概述 DolphinDB 的定位,并按数据库、流数据、编程语言、API 四个学习场景提供文档入口。

常见问题

该部分汇总错误代码、内存溢出(OOM)、节点退出/启动失败与查询性能优化等问题的处理入口。

Facts Index

Entity Attribute Value Confidence
技能认证特训营第二期status正式开启high
限时报名urlhttps://www.qingsuyun.com/h5/e/217471/5/high
DolphinDB入门指南published_date2024-04-16high
DolphinDB入门指南authorwfHuanghigh
本文(DolphinDB入门指南)purpose指导初学者系统地掌握 DolphinDB 基本使用的相关知识点(包括环境准备、安装、功能学习、API等)high
DolphinDBdocumentation_availability提供全套的中英文使用手册及教程high
DolphinDB 文档中心(中文使用手册)urlhttps://docs.dolphindb.cn/zh/index.htmlhigh
DolphinDB 中文技术问答社区urlhttps://ask.dolphindb.cn/high
DolphinDB 下载地址urlhttps://dolphindb.cn/product#downloadshigh
DolphinDB 社区试用版requirement_level必须high
DolphinDB 压缩包(社区试用版)includesweb 集群管理工具、服务端程序以及 license 文件high
DolphinDB 压缩包(社区试用版)installation_requirement解压完成后不需要进一步安装high
企业试用版 licensehow_to_get点击“试用”申请 license;对方联系后会收到企业试用版 license 文件medium
企业试用版 license 文件filename_requirement若文件名不是 dolphindb.lic,需要改名为 dolphindb.lic,并替换社区版中的同名文件即可使用企业试用版high
VSCode 插件type客户端工具high
VSCode 插件capability便于用户使用 VSCode 编写 DolphinDB 脚本并在服务器上运行high
VSCode 插件learning_curve学习成本低,上手快low
VSCode 插件debugging_support支持脚本代码单点调试high
VSCode 插件recommendation推荐用户选择使用 VS Codemedium
VSCode 插件用户手册urlhttps://docs.dolphindb.cn/zh/db_distr_comp/vscode.htmlhigh
部署(完成系统下载安装后)deployment_options即可搭建单机集群或多机集群high
单节点模式use_case作为一个独立的工作站或服务器使用high
单节点模式configuration_requirement下载后即可使用,无需配置high
单节点部署教程urlhttps://github.com/dolphindb/Tutorials_CN/blob/master/standalone_server.mdhigh
DolphinDBplatform_support支持嵌入式 ARM 环境high
ARM 版本单节点部署教程urlhttps://github.com/dolphindb/Tutorials_CN/blob/master/ARM_standalone_deploy.mdhigh
单节点模式feature_parity拥有与集群模式相同的功能medium
单节点模式does_not_support不支持扩展节点和高可用high
单机集群purpose可以用单台集群体验分布式特性medium
单机集群搭建node_topologycontroller、agent、data node、compute node 部署在同一个物理机器上high
单服务器集群部署urlhttps://github.com/dolphindb/Tutorials_CN/blob/master/single_machine_cluster_deploy.mdhigh
参数配置configurable_parameters_examples分布式数据存储路径 volumes、最大内存 maxMemSize 等high
参数配置(文档)urlhttps://docs.dolphindb.cn/zh/db_distr_comp/cfg/cfg_para_ref.htmlhigh
DolphinDBpositioning集成了分布式计算、存储、多范式编程语言、实时计算的一站式软件栈medium
功能学习路径recommended_learning_scenarios推荐根据项目需求分三个场景学习medium
快速上手(数据库)urlhttps://docs.dolphindb.cn/zh/getstarted/chap1_getstarted.htmlhigh
参数配置(数据库相关入口)urlhttps://docs.dolphindb.cn/zh/db_distr_comp/cfg/cfg_para_ref.htmlhigh
TSDB引擎(建库建表)urlhttps://docs.dolphindb.cn/zh/tutorials/tsdb_engine.htmlhigh
分区指导(建库建表)urlhttps://docs.dolphindb.cn/zh/tutorials/database.htmlhigh
文本数据导入(用脚本)urlhttps://docs.dolphindb.cn/zh/tutorials/import_csv.htmlhigh
导入案例(LoadDataForPoc)urlhttps://docs.dolphindb.cn/zh/tutorials/LoadDataForPoc.htmlhigh
DataX(数据导入)documentation_urlhttps://docs.dolphindb.cn/zh/tutorials/datax_writer.htmlhigh
增删改查urlhttps://docs.dolphindb.cn/zh/db_distr_comp/db_distr_comp.htmlhigh
作业管理urlhttps://docs.dolphindb.cn/zh/tutorials/job_management_tutorial.htmlhigh
流表urlhttps://docs.dolphindb.cn/zh/stream/str_table.htmlhigh
订阅urlhttps://docs.dolphindb.cn/zh/stream/sub_pub.htmlhigh
数据回放urlhttps://docs.dolphindb.cn/zh/stream/str_replay_1.htmlhigh
时序聚合引擎urlhttps://docs.dolphindb.cn/zh/stream/time_series_engine.htmlhigh
横截面引擎urlhttps://docs.dolphindb.cn/zh/stream/cross_sectional_engine.htmlhigh
响应式状态引擎urlhttps://docs.dolphindb.cn/zh/stream/reactive_state_engine.htmlhigh
异常检测引擎urlhttps://docs.dolphindb.cn/zh/stream/anomaly_detection_engine.htmlhigh
Asof join引擎urlhttps://docs.dolphindb.cn/zh/stream/asof_join_engine.htmlhigh
lookup join 引擎urlhttps://docs.dolphindb.cn/zh/stream/lookup_join_engine.htmlhigh
语法urlhttps://docs.dolphindb.cn/zh/progr/lang_intro.htmlhigh
多范式urlhttps://docs.dolphindb.cn/zh/tutorials/hybrid_programming_paradigms.htmlhigh
函数列表urlhttps://docs.dolphindb.cn/zh/funcs/funcs_by_topics.htmlhigh
SQL详解urlhttps://docs.dolphindb.cn/zh/progr/sql/sql_intro.htmlhigh
窗口计算urlhttps://docs.dolphindb.cn/zh/tutorials/window_cal.htmlhigh
矩阵计算urlhttps://docs.dolphindb.cn/zh/tutorials/matrix.htmlhigh
函数化编程urlhttps://docs.dolphindb.cn/zh/tutorials/func_progr_cases.htmlhigh
ArrayVectorurlhttps://docs.dolphindb.cn/zh/tutorials/Array_Vector.htmlhigh
连接器 & APIurlhttps://docs.dolphindb.cn/zh/api/connapi_intro.htmlhigh
APIlisted_itemsC++ API, Python API, Java API, C# API, 其他 APIhigh
错误代码列表(DolphinDB Server)scale包含上百个错误代码以及对应的错误原因medium
错误代码(文档)urlhttps://docs.dolphindb.cn/zh/error_codes/err_codes.htmlhigh
OOM(内存溢出)原因possible_causes数据量庞大、频繁的数据写入和查询操作、可能存在的内存泄漏问题medium
Out of Memory 应对指南urlhttps://docs.dolphindb.cn/zh/tutorials/oom_settlement_2.htmlhigh
节点退出possible_causes可能是系统问题,也可能是配置不当medium
节点宕机(处理方法)urlhttps://docs.dolphindb.cn/zh/tutorials/how_to_handle_crash.htmlhigh
节点启动失败(重启节点时)symptoms可能会遇到启动太慢、甚至启动失败等问题medium
节点启动流程简析与常见问题urlhttps://docs.dolphindb.cn/zh/tutorials/node_startup_process_and_questions.htmlhigh
DolphinDB 查询性能优化capability提供查询 SQL 执行计划的功能high
SQL 执行计划(文档)urlhttps://docs.dolphindb.cn/zh/tutorials/DolphinDB_Explain.htmlhigh