普通索引创建 创建普通索引,即不添加 UNIQUE、FULLTEXT 等任何参数。 【例】创建表名为 score 的数据表,并在该表的 id 字段上建立索引,SQL 语句如下: 此时在id字段上建立的普通索引名字为id,在id字段建立的,索引方法为BTREE,索引类型为normal 创建唯一索引 创 ...
分类:
数据库 时间:
2020-01-30 19:20:07
阅读次数:
360
题目大意:给定一张无向带权图 , 找出从 s 到 e 恰好经过 n 条边的最短路径 ...
分类:
其他好文 时间:
2020-01-30 09:27:52
阅读次数:
57
"Fat and docile, big and dumb, they look so stupid, they aren't muchfun..."- Cows with Guns by Dana LyonsThe cows want to prove to the public that the ...
分类:
其他好文 时间:
2020-01-29 15:55:06
阅读次数:
107
#include<iostream> #include<queue> #include<cstring> using namespace std; const int N=200000+10,INF=0x3f3f3f3f; int h[N],e[N],ne[N],w[N],idx; int n,m, ...
分类:
其他好文 时间:
2020-01-29 12:10:32
阅读次数:
56
一、回顾 1、lvm2 lvm:边界动态扩展或收缩;快照; pv --> vg --> lv PE: LE: 2、dd:复制 二、btrfs文件系统:(技术预览版) 1、Btrfs(B-tree,Butter FS,Better FS),GPL,Oracle从2007年左右开始研发,使用写时复制机制 ...
分类:
系统相关 时间:
2020-01-28 11:05:14
阅读次数:
122
摘自:https://www.cnblogs.com/zhuifeng-mayi/p/9270592.html 1、普通索引 这是最基本的索引,它没有任何限制,比如上文中为title字段创建的索引就是一个普通索引,MyIASM中默认的BTREE类型的索引,也是我们大多数情况下用到的索引。 -–直接创 ...
分类:
数据库 时间:
2020-01-28 09:16:57
阅读次数:
77
题意: farm(农庄)上有一堆pastures(牧场),cow path可以把一些牧场连起来,但是现在至少有两个牧场不能被任何cow path连起来。对于一对牧场,我们可以用一个cow path连起他们。一个牧场是一个点,一个cow path是一条边,牧场和cow path一同组成了一个区域“fi ...
分类:
其他好文 时间:
2020-01-27 22:00:50
阅读次数:
46
#include<iostream> #include<cstring> using namespace std; const int N=110,INF=0x3f3f3f3f; int f[N][N]; int main() { int n,m; cin>>n>>m; memset(f,0x3f, ...
分类:
其他好文 时间:
2020-01-27 14:05:03
阅读次数:
72
原题: Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ ...
分类:
其他好文 时间:
2020-01-26 19:04:18
阅读次数:
74
MyISAM 和 InnoDB 存储引擎的表默认创建的都是 BTREE 索引。默认情况下,MEMORY 存储引擎使用 HASH 索引,但也支持 BTREE 索引。 ...
分类:
数据库 时间:
2020-01-26 17:24:26
阅读次数:
70