一、什么是MongoDB MongoDB是一个跨平台的,面向文档的数据库。是介于关系型数据库和非关系型数据库之间,是非关系型数据库当中功能最丰富,最像关系型数据库的产品。(关系型数据库是表与表之间有一对一,一对多,多对多的关系,非关系型数据库没有表之间的关系) MongoDB的官网:http://w ...
分类:
数据库 时间:
2020-12-24 11:37:37
阅读次数:
0
简单线段树操作 咕咕咕 Transformation HDU - 4578 vj talk is cheap, chow the code. #include <iostream> #include <cstring> using namespace std; typedef long long l ...
分类:
其他好文 时间:
2020-12-23 12:30:38
阅读次数:
0
1.Apache MacOS系统一般预装了Apache,我的机器是安装在/etc/apache2/目录中。 配置文件为:/etc/apache2/httpd.conf Listen 8088 DocumentRoot "/Library/WebServer/Documents" <Directory ...
分类:
Web程序 时间:
2020-12-23 12:23:24
阅读次数:
0
静态链表 1. 用结构体数组的方式声明,所占的存储空间是固定的,例如: struct StructName{ int a; long b; char c[size]; struct StructName *next; //静态链表区别于数组的地方,包含了一个指向同类型结构体的指针 }List[LEN ...
分类:
编程语言 时间:
2020-12-23 12:17:32
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:47:45
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
编程语言 时间:
2020-12-23 11:45:22
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:43:21
阅读次数:
0
前言 先引用一张图片 目录图 一、SQL语句优化 开启慢查询功能 vim /etc/my.cnf [mysqld] slow-query-log = on # 开启慢查询功能 slow_query_log_file = /data/slow-query.log # 慢查询日志存放路径与名称 long ...
分类:
数据库 时间:
2020-12-22 12:33:42
阅读次数:
0
String file = urlConfig.getLocalDir()+videoId+".mp4"; RandomAccessFile randomFile = new RandomAccessFile(new File(file), "r");//只读模式 long contentLengt ...
分类:
其他好文 时间:
2020-12-21 11:43:47
阅读次数:
0
即构SDK12月迭代来啦,本月LiveRoom/AudioRoom SDK新增了端到端延迟质量回调、房间会话ID信息,便于在音视频通话、直播场景中进行时延、通话质量的评测。同时还优化了硬件设备权限变更监听,媒体播放器等多项功能。 除了LiveRoom/AudioRoom SDK外,本月迭代内容还新增 ...
分类:
其他好文 时间:
2020-12-19 13:33:53
阅读次数:
4