当前位置: 首页 > news >正文

网站域名怎么购买大学生求职简历模板免费下载

网站域名怎么购买,大学生求职简历模板免费下载,织梦万网网站搬家教程,企业网站如何做自然搜索PostgreSQL 是什么 PostgreSQL#xff08;简称Postgres或PG#xff09;是一个功能强大、可靠性高、可扩展性好的开源对象-关系数据库服务器#xff08;ORDBMS#xff09;#xff0c;它以加州大学伯克利分校计算机系开发的POSTGRES版本4.2为基础。 发展历程 起源与发展简称Postgres或PG是一个功能强大、可靠性高、可扩展性好的开源对象-关系数据库服务器ORDBMS它以加州大学伯克利分校计算机系开发的POSTGRES版本4.2为基础。 发展历程 起源与发展PostgreSQL是伯克利的POSTGRES软件包的继承者并经过不断的发展和完善现已成为世界上最先进的开源数据库系统之一。 特点 许可证的灵活性由于许可证的灵活任何人都可以以任何目的免费使用、修改和分发PostgreSQL无论是私用、商用还是学术研究使用。 对象-关系型数据库PostgreSQL支持大部分SQL标准并提供了许多其他现代特性如复杂查询、外键、触发器、视图、事务完整性以及多版本并发控制MVCC等。 主要功能与特性 可扩展性PostgreSQL可以通过增加新的数据类型、函数、操作符、聚集函数和索引方法等方式进行扩展。 数据类型丰富支持包括文本、任意精度的数值数组、JSON数据、枚举类型、XML数据等在内的多种数据类型。 复杂查询与优化支持复杂的查询操作包括连接、子查询、聚合函数、窗口函数等并配备了高效的查询规划器/优化器。 全文检索与NoSQL支持通过Tsearch2或OpenFTS支持全文检索并原生支持JSON、JSONB、XML、HStore等NoSQL数据类型。 数据仓库与ETL能平滑迁移至同属PostgreSQL生态的GreenPlum、DeepGreen、HAWK等数据仓库并使用FDW进行ETL提取、转换、加载。 安全性提供了强大的安全性措施包括用户身份验证、数据加密和访问控制等确保数据的安全性和保密性。 应用场景 Web应用程序如电子商务网站、社交媒体平台等。 科学和研究项目用于存储和分析大规模的实验数据和研究结果。 地理信息系统GIS用于存储和处理地理空间数据。 大数据分析用于存储和分析大规模数据集。 企业级应用程序在各种企业级应用中作为可靠的数据库管理系统。 官网 https://www.postgresql.org/ 安装 在Linux上可以使用RPM源安装或从源代码编译安装。 添加 PostgreSQL 12 软件包存储库 yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm 下载 PostgreSQL 12 客户端、服务端 yum -y install postgresql12-server postgresql12 PostgreSQL 数据库初始化 /usr/pgsql-12/bin/postgresql-12-setup initdb 设置开机自启 systemctl enable postgresql-12 systemctl start postgresql-12 PostgreSQL不推荐使用root管理在安装成功postgreSQL后他默认会给你创建一个用户postgres。 输入 psql 进入到postgreSQL提供的客户端。 bash-4.2$ psql --help could not change directory to /root: 权限不够 psql is the PostgreSQL interactive terminal.Usage:psql [OPTION]... [DBNAME [USERNAME]]General options:-c, --commandCOMMAND run only single command (SQL or internal) and exit-d, --dbnameDBNAME database name to connect to (default: postgres)-f, --fileFILENAME execute commands from file, then exit-l, --list list available databases, then exit-v, --set, --variableNAMEVALUEset psql variable NAME to VALUE(e.g., -v ON_ERROR_STOP1)-V, --version output version information, then exit-X, --no-psqlrc do not read startup file (~/.psqlrc)-1 (one), --single-transactionexecute as a single transaction (if non-interactive)-?, --help[options] show this help, then exit--helpcommands list backslash commands, then exit--helpvariables list special variables, then exitInput and output options:-a, --echo-all echo all input from script-b, --echo-errors echo failed commands-e, --echo-queries echo commands sent to server-E, --echo-hidden display queries that internal commands generate-L, --log-fileFILENAME send session log to file-n, --no-readline disable enhanced command line editing (readline)-o, --outputFILENAME send query results to file (or |pipe)-q, --quiet run quietly (no messages, only query output)-s, --single-step single-step mode (confirm each query)-S, --single-line single-line mode (end of line terminates SQL command)Output format options:-A, --no-align unaligned table output mode--csv CSV (Comma-Separated Values) table output mode-F, --field-separatorSTRINGfield separator for unaligned output (default: |)-H, --html HTML table output mode-P, --psetVAR[ARG] set printing option VAR to ARG (see \pset command)-R, --record-separatorSTRINGrecord separator for unaligned output (default: newline)-t, --tuples-only print rows only-T, --table-attrTEXT set HTML table tag attributes (e.g., width, border)-x, --expanded turn on expanded table output-z, --field-separator-zeroset field separator for unaligned output to zero byte-0, --record-separator-zeroset record separator for unaligned output to zero byteConnection options:-h, --hostHOSTNAME database server host or socket directory (default: local socket)-p, --portPORT database server port (default: 5432)-U, --usernameUSERNAME database user name (default: postgres)-w, --no-password never prompt for password-W, --password force password prompt (should happen automatically)For more information, type \? (for internal commands) or \help (for SQL commands) from within psql, or consult the psql section in the PostgreSQL documentation.Report bugs to pgsql-bugslists.postgresql.org.查看有哪些库 su postgres \l如果是新安装的有三个库一个是postgrestemplate0template1。 # 切换到postgres用户 [rootreview ~]# su postgres bash-4.2$ psql could not change directory to /root: 权限不够 psql (12.20) Type help for help.postgres# \lList of databasesName | Owner | Encoding | Collate | Ctype | Access privileges ------------------------------------------------------------------------------- -postgres | postgres | UTF8 | zh_CN.UTF-8 | zh_CN.UTF-8 | template0 | postgres | UTF8 | zh_CN.UTF-8 | zh_CN.UTF-8 | c/postgres | | | | | postgresCTc/postgrestemplate1 | postgres | UTF8 | zh_CN.UTF-8 | zh_CN.UTF-8 | c/postgres | | | | | postgresCTc/postgres (3 rows)postgres# 配置文件 [rootreview ~]# ll /var/lib/pgsql/12/data 总用量 64 drwx------. 5 postgres postgres 41 10月 25 20:53 base -rw-------. 1 postgres postgres 30 10月 25 20:33 current_logfiles drwx------. 2 postgres postgres 4096 10月 25 20:32 global drwx------. 2 postgres postgres 32 10月 25 20:31 log drwx------. 2 postgres postgres 6 10月 25 20:31 pg_commit_ts drwx------. 2 postgres postgres 6 10月 25 20:31 pg_dynshmem -rw-------. 1 postgres postgres 4517 10月 25 20:33 pg_hba.conf -rw-------. 1 postgres postgres 1636 10月 25 20:31 pg_ident.conf drwx------. 4 postgres postgres 68 10月 25 20:53 pg_logical drwx------. 4 postgres postgres 36 10月 25 20:31 pg_multixact drwx------. 2 postgres postgres 18 10月 25 20:31 pg_notify drwx------. 2 postgres postgres 6 10月 25 20:31 pg_replslot drwx------. 2 postgres postgres 6 10月 25 20:31 pg_serial drwx------. 2 postgres postgres 6 10月 25 20:31 pg_snapshots drwx------. 2 postgres postgres 6 10月 25 20:31 pg_stat drwx------. 2 postgres postgres 63 10月 25 20:56 pg_stat_tmp drwx------. 2 postgres postgres 18 10月 25 20:31 pg_subtrans drwx------. 2 postgres postgres 6 10月 25 20:31 pg_tblspc drwx------. 2 postgres postgres 6 10月 25 20:31 pg_twophase -rw-------. 1 postgres postgres 3 10月 25 20:31 PG_VERSION drwx------. 3 postgres postgres 60 10月 25 20:31 pg_wal drwx------. 2 postgres postgres 18 10月 25 20:31 pg_xact -rw-------. 1 postgres postgres 88 10月 25 20:31 postgresql.auto.conf -rw-------. 1 postgres postgres 26736 10月 25 20:31 postgresql.conf -rw-------. 1 postgres postgres 58 10月 25 20:31 postmaster.opts -rw-------. 1 postgres postgres 103 10月 25 20:31 postmaster.pid远程连接 改用户名 alter user postgres with password ‘wkb456’; PostgreSQL要基于配置文件修改才能制定用户是否可以远程连接。 用户级别配置 修改 pg_hba.conf 文件 local代表本地连接host代表可以指定连接的ADDRESS。database编写数据库名如果写all代表所有库都可以连接。user编写连接的用户可以写all代表所有用户。address代表那些IP地址可以连接。method代表加密方式。允许任意地址的全部用户连接所有数据库 host all all 0.0.0.0/0 md5# TYPE DATABASE USER ADDRESS METHOD# local is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust # Allow replication connections from localhost, by a user with the # replication privilege. local replication all peer host replication all 127.0.0.1/32 ident host replication all ::1/128 ident服务级别配置 修改 postgresql.conf 文件 # - Connection Settings -#listen_addresses localhost # what IP address(es) to listen on;# comma-separated list of addresses;# defaults to localhost; use * for all# (change requires restart) #port 5432 # (change requires restart) max_connections 100 # (change requires restart) #superuser_reserved_connections 3 # (change requires restart) #unix_socket_directories /var/run/postgresql, /tmp # comma-separated list of directories# (change requires restart) #unix_socket_group # (change requires restart) #unix_socket_permissions 0777 # begin with 0 to use octal notation# (change requires restart) #bonjour off # advertise server via Bonjour# (change requires restart) #bonjour_name # defaults to the computer name# (change requires restart)修改为 listen_addresses * # what IP address(es) to listen on;保存后退出然后重启 postgresql-12 systemctl restart postgresql-12 数据库日志 postgresql.conf 文件默认情况下只保存7天的日志循环覆盖。 # REPORTING AND LOGGING #------------------------------------------------------------------------------# - Where to Log -log_destination stderr # Valid values are combinations of# stderr, csvlog, syslog, and eventlog,# depending on platform. csvlog# requires logging_collector to be on.# This is used when logging to stderr: logging_collector on # Enable capturing of stderr and csvlog# into log files. Required to be on for# csvlogs.# (change requires restart)# These are only used if logging_collector is on: log_directory log # directory where log files are written,# can be absolute or relative to PGDATA log_filename postgresql-%a.log # log file name pattern,# can include strftime() escapes #log_file_mode 0600 # creation mode for log files,# begin with 0 to use octal notation log_truncate_on_rotation on # If on, an existing log file with the# same name as the new log file will be# truncated rather than appended to.# But such truncation only occurs on# time-driven rotation, not on restarts# or size-driven rotation. Default is# off, meaning append to existing files# in all cases. log_rotation_age 1d # Automatic rotation of logfiles will# happen after that time. 0 disables. log_rotation_size 0 # Automatic rotation of logfiles will# happen after that much log output.# 0 disables.代表日志是开启状态。 logging_collector on 日志存放的路径默认放到当前目录下的log里。 log_directory ‘log’ 日志的文件名默认是postgresql为前缀星期作为后缀。 log_filename ‘postgresql-%a.log’ 默认一周过后日志文件会被覆盖。 log_truncate_on_rotation on 一天产生一个日志文件。 log_rotation_age 1d 没有限制日志文件的大小。 log_rotation_size 0
http://www.hkea.cn/news/14427482/

相关文章:

  • 免费行情网站下载大全网络推广方案的内容
  • 金融网站策划自己怎么创建免费网站吗
  • 企业做网站好处美食网站开发现状
  • phpmysql网站开发入门与提高磁力蜘蛛搜索引擎
  • 淘宝客网站建站教程装修技术培训去哪里学
  • 做营销型网站公司崇左网页设计
  • 长沙百度网站排名优化王也身高
  • seo推广团队北京新站优化
  • 莱芜网站seo如何做自己的小说网站
  • 中山网站建设开发海外平台有哪些
  • 天津手机版建站系统价格网站建设开发团队介绍
  • 做音乐网站多少钱申请网站免费
  • 郑州网站seo外包长沙房价2022年最新房价
  • 一级a做爰片免费网站丶网站免费源码大全不用下载
  • 长春专业做网站的公司网站开发项目流程图模板
  • 安溪网站建设重庆建设工程信息网官网官方
  • wordpress密码网站建设优化服务市场
  • 宁波网站建设开发服务网站建设是属于软件吗
  • 阿里云 wordpress建站网站低保图用什么做
  • 怎么做好网站搜索引擎优化购物网站建设的需求
  • 网站开发api和微端wordpress 小工具原理
  • 绵阳网站建站公司网站的维护
  • 郑州网站建设哪家公司好做网站交接什么时需要交接
  • 精品网的功能和服务网站大图片优化
  • 详情页制作模板seo 服务
  • .net网站开发中注册页面凡科快图官网下载
  • 哪些网站用.ren域名电子商务平台名词解释
  • 网站开发主要职责找回网站后台
  • 网站建设阐述网页和网站区别是什么
  • 怎么做网站的访问量网站开发及维护招聘