Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Category: Postgresql

PostgresQL is an object-relational database management system (ORDBMS) based on version 4.2 of POSTGRES developed by the Department of Computer Science at the University of California, Berkeley. It has now been renamed to PostgreSQL. PostgreSQL supports most SQL standards and provides many other modern features: complex queries, foreign keys, triggers, views, transaction integrity, MVCC. Similarly, PostgreSQL can be extended in many ways, for example, by adding new data types, functions, operators, aggregate functions, and indexes. Use, modify, and distribute PostgreSQL for free, whether it is for private, commercial, or academic research.

PostgreSQL extracts the keys from JSONB, “Unable to call JSONB_Object_Keys on scalar”

I want to use jsonb to solve the problem in Postgres. There are many problems here, what I want to do is:

SELECT table.column->>’key_1′ as a FROM “table” I tried -> there are some combination

September 21, 2021By Simo Postgresql extraction, JSONB, keys, object, PostgreSQL, Scheduling, Unusual, upLeave a Comment

I can’t run jobs on PGAgent on PostgreSQL.

I installed pgagent on Ubuntu 16.04.

I executed:

CREATE EXTENSION pgagent;
CREATE LANGUAGE plpgsql; According to this: https://www.pgadmin.org/docs/pgadmin4/1.x/pgagent_install.htm

<

September 21, 2021By Simo Postgresql Homework, operation, PGAGENT, PostgreSQL, UnableLeave a Comment

PostgreSQL query is not terminated, the service postgreSQL is not started after reboot

In my work, I am running a complex query. I canceled it and went home yesterday. It is impossible to terminate the query later this morning. There is also a “after termination” “End” function. A co

September 21, 2021By Simo Postgresql no, PostgreSQL, query, Restart, service, startup, TerminationLeave a Comment

PostgreSQL – Refreshing materialized view Concurrently causes table expansion

In PostgreSQL 9.5, I decided to create a materialized view “effect” and schedule hourly concurrent refreshes, because I want it to be always available:

< /p> REFRESH MATERIALIZED VIEW CONCURR

September 21, 2021By Simo Postgresql Caused, Concurrently, Expansion, Physiology, PostgreSQL, Refresh, table, viewLeave a Comment

How to add time-related triggers in PostgreSQL?

Regarding how: I am confused and powerless:

>After setting up the database, add a trigger to the postgresql database, that is, add a trigger by clicking a hyperlink
>Write a trigger function

September 21, 2021By Simo Postgresql How to add, Related, time, triggerLeave a Comment

PostgreSQL – “INSERT INTO … FETCH All from …” unable to compile

I have some functions to return cursors (refcursor) on PostgreSQL 9.6:

CREATE OR REPLACE FUNCTION public.test_returning_cursor( )
RETURNS refcursor
IMMUTABLE
LANGUAGE plpgsql
AS $$
DECLARE

September 21, 2021By Simo Postgresql compiled, FETCH, INSERT, PostgreSQL, UnableLeave a Comment

Deploy high performance PostgreSQL cluster

Postgres-XL is composed of three major components: the GTM (Global Transaction Manager), the Coordinator and the Datanode. Their features are given in the following sections. GTM (Global Transactio

September 21, 2021By Simo Postgresql cluster, Deploy, high performance, PostgreSQLLeave a Comment

PostgreSQL – How do I know the actual count in a big table of high insertion rates

Suppose I have a table with exactly 10M rows. I need to know the exact number of rows. It takes 5 seconds for COUNT requests. Suppose 100 rows are added to the table every second.

If I now re

September 21, 2021By Simo Postgresql actual count, high, How, INSERT, know, large, PostgreSQL, rate, tableLeave a Comment

How to sort in PostgreSQL via UUID?

Is there any order guarantee for using uuid_generate_v1() on postgresql?

If yes, it does not matter whether it is guaranteed to generate the UUID on each machine or on which machine? Since V1

September 21, 2021By Simo Postgresql How to sort by, PostgreSQL, UUIDLeave a Comment

PostgreSQL – Postgres unique constraint is not forced uniqueness

This is my constraint:

CREATE UNIQUE INDEX index_subscriptions_on_user_id_and_class_type_id_and_deleted_at
ON subscriptions
USING btree
(user_id, class_type_id, deleted_at); This query pr

September 21, 2021By Simo Postgresql Constraint, mandatory, Postgres, PostgreSQL, UniqueLeave a Comment

Posts navigation

Page 1 … Page 5 Page 6 Page 7 … Page 10
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress