摘要:
一、drop table和truncate table 1、drop和truncate都是DDL语言; 2、drop table是删除表,包括表的结构,数据,索引等所有信息; 3、TRUNCATE TABLE 仅仅删除表的所有记录,表的结构、索引、触发器、约束等将被保留,后续仍然可以使用该表; 二、 阅读全文
摘要:
一、What is Linux Operating System The Linux Operating System is a type of operating system that is similar to Unix, and it is built upon the Linux Kern 阅读全文
摘要:
Kubernetes is an open-source platform that manages Docker containers in the form of a cluster. Along with the automated deployment and scaling of cont 阅读全文
摘要:
Kubernetes is a tool that helps us to run and manage applications in containers. It was developed by Google Lab in 2014, and it is also known as k8s. 阅读全文
摘要:
从节点执行kubectl get deployment报错 Error from server (Forbidden): deployments.apps is forbidden: User "system:node:node02" cannot list resource "deployment 阅读全文
摘要:
一、搭建完成k8s平台,在从节点执行kubeclt命令报错 [root@node02 ~]# kubectl get pod E0218 10:58:33.139354 37437 memcache.go:265] couldn't get current server API group list 阅读全文
摘要:
一、首先查看参数,确定导出的目录 (root@localhost) [(none)]> show variables like 'secure_file_priv'; + + + | Variable_name | Value | + + + | secure_file_priv | /tmp/ | 阅读全文
摘要:
一、复制表结构及数据 首先查看原表的创建语句 (root@localhost) [dbt3]> show create table nation; + + | Table | Create + + nation | CREATE TABLE `nation` ( `n_nationkey` int( 阅读全文