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

Tag: PostgreSQL

CentOS to build intranet offline YUM warehouse (installed as a PostgreSQL)

Intranet yum warehouse server configuration 192.168.126.146 Web server host, with Nginx installed

Download offline rpm package, see Postgresql10 offline installation method

Create repod

October 15, 2021By Simo Centos as an example, build, centos, installation, intranet, offline, PostgreSQL, warehouse, YumLeave a Comment

Hibernate – JPA @LOB attribute encoding cannot be used with PostgreSQL text

JPA Mapping

I am using JPA and Hibernate. I have an entity with @Lob attributes

@Column(nullable=false)
@Lob
private String text; I am using PostgreSQL 8.4 and entities are correctly ma

October 12, 2021By Simo Hibernate attribute, can't, encoding, Hibernate, JPA, LOB, PostgreSQL, Text, Together, useLeave a Comment

Hibernate – GRAILS and PostgreSQL do not generate tables

So I have some simple domain classes, I make sure not to use any PostgreSQL (or any other vendor) reserved words. Executing grails schema-export will generate a DDL, when targeting the same When th

October 12, 2021By Simo Hibernate Grails, Hibernate, not born, PostgreSQLLeave a Comment

Ruby-on-rails – SQL query with groups can run on SQLITE, not running on PostgreSQL

The following query is suitable for local but not for production: (production is heroku is running postgreSQL, local I am running sqllite database)

ruby

Tutor.joins(:expertises).wh

October 6, 2021By Simo Ruby Group, ok, PostgreSQL, rails, ruby, run, SQLITELeave a Comment

Ruby-on-rails – Use the Rails Society Time Zone in PostgreSQL – the field type to use

I store the time zone in the database I obtained through the FB API. The time zone looks like:

-7 Which field should I use in rails/PostgreSQL to store this value? string?

UTC-3.5
-7
A

October 6, 2021By Simo Ruby PostgreSQL, rails, ruby, storage, time zone, To, UsedLeave a Comment

Performance – The query is very slow when loading on PostgreSQL

We are using PostgreSQL version 9.4 database on Amazon EC2. All of our queries ran very slow on the first attempt, until after it was cached they were very fast, but it was not Mediation because it

October 2, 2021By Simo Performance First, loading, performance, PostgreSQL, query, running, speed, time, very slowLeave a Comment

PostgreSQL – the best way to make a large number of updates to the index set

The context of this question is PostgreSQL 9.6.5 on AWS RDS.

The question is about a table containing 300 million rows of the following logical data model Best mode design and batch update st

September 21, 2021By Simo Postgresql bit, index, large quantity, method, optimal, pair, percent, PostgreSQL, set, UpdateLeave a Comment

PostgreSQL – PGADMIN Display Type [] But not type

I created an ENUM type in PostgreSQL tribool. I created a table column with tribool type. Now I am writing a function with tribool type parameters. However, pgAdmin is only in the drop-down list Tr

September 21, 2021By Simo Postgresql display, not, PGADMIN, PostgreSQL, typeLeave a Comment

PostgreSQL – String Sorting Sequence (LC_COLLATE and LC_CTYPE)

Obviously, since version 8.4, PostgreSQL allows each database to use a different locale.
So I went to the document to read about the locale (http://www. postgresql .org/docs/8.4/static/locale.html)

September 21, 2021By Simo Postgresql Collate, CTYPE, LC, order, PostgreSQL, SORT, stringLeave a Comment

PostgreSQL – How to imitate the Postgres foreign key into the partition table

I have a partitioned table (call it A) where a serial primary key is referenced by another table (call it B). I know I can’t actually go from one to the other One creates a foreign key (because I d

September 21, 2021By Simo Postgresql How, imitation, key, outside, partition, Postgres, PostgreSQL, table, willLeave a Comment

Posts navigation

Page 1 Page 2 … 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