Wesley13 Wesley13
3年前
java8_api_jdbc
jdbc1   jdbc的概念   驱动的分类   连接oracle数据库      与任何表格数据源交互      代码编写步骤      加载驱动         Class.forName         DriverManager.registerDriver
Easter79 Easter79
3年前
spring实现定时任务
1.创建一个定时任务控制器/ 描述:定时器 作者:温海金 最后更改时间:下午5:29:49 /publicclassTaskTimerScanner{  @Resource  privateTaskTimerScan
Wesley13 Wesley13
3年前
MySQL调优系列——MySQL B+Tree索引和Hash索引的区别?🔥
1、BTree索引!(https://oscimg.oschina.net/oscnet/upd956cc992de6df62c8502441583bb210ea4.png)1、BTree首先是有序结构,为了不至于树的高度太高,影响查找效率,在叶子节点上存储的不是单个数据,提高了查找效率;为了更好的支持
Easter79 Easter79
3年前
SUSE12Sp3
1、解压sudomkdir/usr/local/mongodb创建mongodb目录将mongodblinuxx86\_64suse124.0.6.tgz复制到/usr/local/mongodb目录sudotarzxvfmongodblinuxx86_64suse124.
Stella981 Stella981
3年前
SUSE12Sp3
1、解压sudomkdir/usr/local/mongodb创建mongodb目录将mongodblinuxx86\_64suse124.0.6.tgz复制到/usr/local/mongodb目录sudotarzxvfmongodblinuxx86_64suse124.
Stella981 Stella981
3年前
React学习笔记一 ,初始环境搭建
全局安装createreactapp:cnpminstallgcreatereactapp创建一个自己的项目myapp:createreactappmyapp进入项目myapp:cdmyapp运行项目:cnpmstart目录结构如下图:!(https://static.oschina.net/u
Stella981 Stella981
3年前
Python操作MongoDB代码示例
1importpymongopipinstallpymongo安装python操作mongodb的模块2myclientpymongo.MongoClient(host'127.0.0.1',port27017)指定主机和端口号创建客户端34dblistmyclient
Stella981 Stella981
3年前
Docker 下的Zookeeper以及.ne core 的分布式锁
单节点1.拉取镜像:dockerpullzookeeper2.运行容器a.我的容器同一放在/root/docker下面,然后创建相应的目录和文件,mkdirzookeepercdzookeepermkdirdatamkdirdatalogmkdirconfcdc
Wesley13 Wesley13
3年前
mysql(视图 事务 索引 外键)
视图视图本质就是对查询的封装创建视图(定义视图 起名以v\_开头)createviewv\_studentsasselectclasses.nameas c\_name,students.\fromstudentsinnerjoinclassesonstudents.cls\_idclasses.id;查
Stella981 Stella981
3年前
Kubernetes多master部署(7)
运行node组件首先我们需要在master上面生成一个角色用于node上证书绑定认证在master上面操作(65)创建认证用户kubectlcreateclusterrolebindingkubeletbootstrapclusterrolesystem:nodebootstrapperuserk