mysql创建分区时依赖字段需要设为主键 例 我的依赖字段为collect_time 需要先创建至少一个分区 例:创建第一个分区时间小于’2020-02-01’ALTER TABLE tb_electric_power_info PARTITION BY RANGE (TO_DAYS(collect ...
分类:
数据库 时间:
2021-07-02 16:36:57
阅读次数:
0
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
select trigger_name as '名称' ,event_object_schema as'所属库',event_object_table as'所属表',event_manipulation as '触发事件',action_timing as '触发??器时机',action_sta ...
分类:
数据库 时间:
2021-07-02 16:12:53
阅读次数:
0
Mysql 锁类型 一、锁类型介绍: MySQL有三种锁的级别:页级、表级、行级。 表级锁:开销小,加锁快;不会出现死锁;锁定粒度大,发生锁冲突的概率最高,并发度最低。 行级锁:开销大,加锁慢;会出现死锁;锁定粒度最小,发生锁冲突的概率最低,并发度也最高。 页面锁:开销和加锁时间界于表锁和行锁之间; ...
分类:
数据库 时间:
2021-07-02 16:06:28
阅读次数:
0
运行 HDFS 命令,总是出现恼人的 “WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable”... ...
分类:
其他好文 时间:
2021-07-02 16:04:09
阅读次数:
0
一、MySQL的安装 说明: Linux下软件的安装通常有三种方式:二进制、rpm、yum三种方式。它们三个具体的区别参考博客: https://www.cnblogs.com/LiuChunfu/p/8052890.html MySQL的下载: 因为我使用的是阿里云服务器,联网的,所以我直接在li ...
分类:
数据库 时间:
2021-07-02 16:00:54
阅读次数:
0
一、知识点 未完成 二、参数配置 transaction-isolation: Oracle 数据库的默认隔离级别其实就是“读提交”,从 Oracle 迁移到 MySQL 的应用,为保证数据库隔离级别的一致,你一定要记得将 MySQL 的隔离级别设置为“读提交” binlog_format参数 fo ...
分类:
数据库 时间:
2021-07-02 15:59:41
阅读次数:
0
先看代码 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncStream { class Program { static async Task Main(stri ...