Skip to content

Commit

Permalink
chore:10月14日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Oct 14, 2023
1 parent 533a630 commit 8de98d0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/daily/2023-10.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 10月11日
-
## 10月10日
- 查看数据库的大小
```
Expand All @@ -21,7 +23,20 @@
GROUP BY
table_schema;
```

- 查看某数据库所有表空间占用
```
SELECT
table_name AS 'Table',
ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS 'Size (MB)'
FROM
information_schema.tables
WHERE
table_schema = 'dvsdb30'
GROUP BY
table_name
ORDER BY
(data_length + index_length) DESC;
```
## 10月9日
- vueuse
- https://vueuse.org/core/useStorage/
Expand Down
13 changes: 13 additions & 0 deletions docs/javascript/2023-08-25-dotnetcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ dotnet-ef database update
dotnet-ef migrations add XXXX -c SecondContext
dotnet-ef migrations add XXXX -c DvsContext
dotnet-ef database update -c SecondContext
dotnet-ef database update -c DvsContext
```


Expand Down Expand Up @@ -180,4 +184,13 @@ SHOW DATABASES;
//{
// spec.Query.Where(item => item.TaskType == model.TaskType);
//}
```

## 将EFCore IDbContextTransaction转换为 Mysql驱动下 DbTransaction

```
public static DbTransaction GetDbTransaction(this IDbContextTransaction source)
{
return (source as IInfrastructure<DbTransaction>).Instance;
}
```
10 changes: 10 additions & 0 deletions docs/javascript/2023-10-14-monitor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## 指标任务发布
- 任务id 1712813243505999872
- 任务实体
```
{
"startDateTime": "2023-10-13T13:04:07.531Z",
"endDateTime": "2023-10-23T13:04:07.531Z",
"regionIds": "1641459733728727040,1641459735452585984,1641459736555687936"
}
```

0 comments on commit 8de98d0

Please sign in to comment.