当前位置:首页 > 数据库

数据库

  • 最新
  • 浏览
  • 评论

centos7 快速搭建 mysql

root3年前 (2021-09-22)数据库522
https://blog.csdn.net/qq_36582604/article/details/80526287...

postgresql 查看数据库、表的大小

root3年前 (2021-06-21)数据库580
查看数据库的大小 select pg_database_size('test'); select pg_size_pretty(pg_database_size('test');查看单...

清空postgresql的缓存

root3年前 (2021-06-15)数据库1312
系统:centos,版本:postgresql-9.6因为要测试postgresql的性能,当多次查询的时候查询结果会因为缓存用时很短,不能模拟出现实使用的场景。因此需要清除缓存。首先stop掉postgresqlsystemctl sto...

被Navicat坑哭的日常,版本问题

root3年前 (2021-06-09)数据库526
mysql5.7DROP TABLE IF EXISTS `xxx_copy1`;CREATE TABLE `xxx_copy1`  (  `id` int(11) UNSIGNED NOT NULL AUTO_INCR...

postgresql修改数据存储位置

root3年前 (2021-06-09)数据库1133
postgresql修改数据存储位置
最近公司提供了一台新的服务器,同时有一个盘是ssd。同时为了测试postgresql的性能,将数据放置到ssd上系统centos7.9 数据库postgresql-9.6首先停掉数据库systemctl stop pos...

centos7 安装mysql

root3年前 (2021-06-08)数据库590
centos7 安装mysql
下载rpm包wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 安裝包仓库yum -y install * 或者yum -...

postgresql 的安装使用

root3年前 (2021-06-08)数据库583
安装centos系统 9.6版本# Install the repository RPMsudo yum install -y https://download.postgresql.org/pub/repos/yum/repor...

postgresql 导入导出sql 文件

root3年前 (2021-06-01)数据库1177
pg_dump  -h localhost -U postgres -t tablename databasename >./test.sql导出 -t 表名  psql -d test1 -U...

dataX:超强的数据库数据互导工具

root3年前 (2021-06-01)数据库591
安装下载安装包http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz 然后解压进入解压后文件的./bin自检命令python  datax.py ../j...

mysql 导出csv格式数据

root3年前 (2021-05-21)数据库738
mysql -e "select * from newsdb.t_hk_stock_news where id <100  ...