delete from table where order_no in (select orderno from (select order_no as orderno from table group by order_no having count(order_no) > 1) a) and i ...
分类:
数据库 时间:
2020-06-09 09:48:35
阅读次数:
64
部署在kubernetes中,以NFS作为数据存储卷 环境介绍: 名称 版本 K8S v1.17.2 Docker 19.03.5 nacos 1.3.0 一、拉取代码 git clone https://github.com/nacos-group/nacos-k8s.git 二、安装NFS服务 ...
分类:
Web程序 时间:
2020-06-08 20:38:50
阅读次数:
199
####之前在centos7.4上装oracle踩的坑,现在记录一下 ###1、安装桌面环境(如果未安装) [root@localhost ~]# yum -y group install "Server with GUI" ###2、安装软件包 [root@localhost ~]# yum -y ...
分类:
数据库 时间:
2020-06-08 18:47:52
阅读次数:
73
按钮组 Foundation 可以在同一行内创建一系列的按钮。 可以使用 <ul> 元素并添加 .button-group 类来创建按钮组: 实例 <ul class="button-group"> <li><button type="button" class="button">Apple</bu ...
分类:
其他好文 时间:
2020-06-08 14:30:01
阅读次数:
82
1、Springboot介绍1.1、为什么要学习Springboot1、敏捷开发(整合框架)2、无需tomcat(java引用程序运行,实际jar包)内置tomcat。3、减少xml配置,配置文件形式properties4、SpringCloud+Springboot结合在一起做微服务。微服务SpringClound(http接口+restful)基于springboot(封装了springmvc
分类:
编程语言 时间:
2020-06-08 10:49:26
阅读次数:
50
前言 本文将结合实例demo,阐述30条有关于优化SQL的建议,多数是实际开发中总结出来的,希望对大家有帮助。 1、查询SQL尽量不要使用select *,而是select具体字段。 反例子: select * from employee; 正例子: select id,name from empl ...
分类:
数据库 时间:
2020-06-08 00:32:01
阅读次数:
55
常用操作 1.查看创建表参数 提取完整的DDL: SELECT DBMS_METADATA.GET_DDL('TABLE','table_name') FROM DUAL; 2.指定返回记录数 select XXX from XXX where rownum<n 3.查询指定列的所有值且每个值只显示 ...
分类:
数据库 时间:
2020-06-07 21:16:15
阅读次数:
76
redo log的大小是固定的,在mysql中可以通过修改配置参数innodb_log_files_in_group和innodb_log_file_size配置日志文件数量和每个日志文件大小,redo log采用循环写的方式记录,当写到结尾时,会回到开头循环写日志。redo log通常是物理日志, ...
分类:
数据库 时间:
2020-06-07 14:40:34
阅读次数:
101
<dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.4</version> </dependency> <dependency> <group ...
分类:
其他好文 时间:
2020-06-07 12:37:49
阅读次数:
56
1.服务端 public class GroupChatServer { private Selector selector; private ServerSocketChannel listenChannel; private static final int PORT = 6677; //初始化 ...
分类:
其他好文 时间:
2020-06-07 10:51:54
阅读次数:
61