Skip to content

Commit

Permalink
更新达梦笔记。
Browse files Browse the repository at this point in the history
  • Loading branch information
Suomea committed Oct 29, 2024
1 parent bce0da9 commit 7b0af6e
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 49 deletions.
50 changes: 30 additions & 20 deletions .obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}
84 changes: 55 additions & 29 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"file": "docs/Kafka/Kafka 常用命令.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "Kafka 常用命令"
}
},
{
Expand All @@ -28,7 +30,9 @@
"file": "docs/Doris/Doris 用户角色权限.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "Doris 用户角色权限"
}
},
{
Expand All @@ -37,10 +41,12 @@
"state": {
"type": "markdown",
"state": {
"file": "docs/Java/Java 并发.md",
"file": "docs/DM/达梦安装.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "达梦安装"
}
},
{
Expand All @@ -52,7 +58,9 @@
"file": "docs/OS/并发控制.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "并发控制"
}
},
{
Expand All @@ -64,7 +72,9 @@
"file": "docs/Doris/Doris 接入 MySQL 的数据.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "Doris 接入 MySQL 的数据"
}
},
{
Expand All @@ -76,7 +86,9 @@
"file": "docs/OS/线程.md",
"mode": "source",
"source": false
}
},
"icon": "lucide-file",
"title": "线程"
}
}
],
Expand All @@ -100,7 +112,9 @@
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
},
"icon": "lucide-folder-closed",
"title": "文件列表"
}
},
{
Expand All @@ -115,15 +129,19 @@
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
},
"icon": "lucide-search",
"title": "搜索"
}
},
{
"id": "80a39d787b5192b3",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
"state": {},
"icon": "lucide-bookmark",
"title": "书签"
}
}
]
Expand All @@ -146,15 +164,17 @@
"state": {
"type": "backlink",
"state": {
"file": "docs/Java/Java 并发.md",
"file": "docs/DM/达梦安装.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
},
"icon": "links-coming-in",
"title": "达梦安装 的反向链接列表"
}
},
{
Expand All @@ -163,10 +183,12 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "docs/Java/Java 并发.md",
"file": "docs/DM/达梦安装.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
},
"icon": "links-going-out",
"title": "达梦安装 的出链列表"
}
},
{
Expand All @@ -177,7 +199,9 @@
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
},
"icon": "lucide-tags",
"title": "标签"
}
},
{
Expand All @@ -186,8 +210,10 @@
"state": {
"type": "outline",
"state": {
"file": "docs/Java/Java 并发.md"
}
"file": "docs/DM/达梦安装.md"
},
"icon": "lucide-list",
"title": "达梦安装 的大纲"
}
}
],
Expand All @@ -210,13 +236,22 @@
},
"active": "577d134547ab0814",
"lastOpenFiles": [
"docs/Reading/Timeline.md",
"docs/DM/达梦安装.md",
"docs/DM/达梦备份.md",
"docs/DM/达梦 Tips.md",
"docs/Doris/Doris 接入 MySQL 的数据.md",
"docs/Doris/Doris 接入 Kafka 的数据.md",
"docs/Doris/Doris 分区表.md",
"docs/Doris/Doris 用户角色权限.md",
"docs/Doris/Doris 日期时间类型.md",
"docs/DM/达梦安装.md",
"docs/Kafka/Kafka 常用命令.md",
"docs/Kafka/Kafka 集群搭建.md",
"docs/Kafka/Kafka 消费者.md",
"docs/Java/Java 并发.md",
"docs/Reading/Timeline.md",
"docs/Linux/Nginx 使用自签名证书.md",
"docs/Linux/Linux 账号群组.md",
"docs/Redis/Redis 分布式锁.md",
"docs/Java/Java 并发.md",
"docs/Java/Java 队列.md",
"docs/index.md",
"mkdocs.yml",
Expand All @@ -228,15 +263,6 @@
"docs/Linux/ArcLinux 安装.md",
"docs/Java/并发.md",
"docs/Java/微服务优雅停机.md",
"docs/Docker/安装 Docker.md",
"docs/Doris/Doris 接入 Kafka 的数据.md",
"docs/Doris/Doris 分区表.md",
"docs/MySQL/MySQL 备份.md",
"docs/MySQL/MySQL 安装.md",
"docs/Doris/Doris 接入 MySQL 的数据.md",
"docs/Network/程序:时间服务.md",
"docs/MySQL/MySQL Tips.md",
"docs/MySQL/MySQL 配置主从.md",
"docs/LocalFile/Picture/ReentrantReadWriteLock类图.svg",
"docs/LocalFile/Picture/ReentrantLock类图.svg",
"docs/LocalFile/Picture/ReentrantLock类图.png",
Expand Down
22 changes: 22 additions & 0 deletions docs/DM/达梦 Tips.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## 安裝达梦 Jar 包
Maven 依赖
```xml
<dependency>
<groupId>com.dm</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>18</version>
</dependency>
```

安装 Jar 包
```
mvn install:install-file -Dfile=.\DmJdbcDriver18.jar -DgroupId=com.dm -DartifactId=DmJdbcDriver18 -Dversion=18 -Dpackaging=jar
```

## 查看 License 信息
EXPIRED_DATE 为空说明永久有效。
```
select * from v$license
```

## 达梦默认的角色
11 changes: 11 additions & 0 deletions docs/DM/达梦安装.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,4 +458,15 @@ alter table sys_log add sign_data clob;
SELECT TABLE_NAME
FROM DBA_TABLES
WHERE OWNER = 'CAR_REPAIRE';
SELECT *
FROM all_tab_comments
WHERE OWNER = 'COMPENSATE_COLLECTION_SYSTEM';
```
查看有哪些字段。
```sql
SELECT *
FROM all_col_comments
WHERE OWNER = 'COMPENSATE_COLLECTION_SYSTEM';
```

0 comments on commit 7b0af6e

Please sign in to comment.