Tagging
Try bookmarklet. Easy tagging.
Do you want to delete?
Do you want to modify?
  • LINKTAG
  • New
  • Tag
  • Comment
  • Tag, ops
Sign in

ops

it ops db postgresql identity

PostgreSQL Identity Column

This tutorial shows you how to use the GENERATED AS IDENTITY constraint to create the PostgreSQL identity column for a table.
wono | discuss |
it ops db xid

GitHub - modfin/pg-xid: pg-xid is a globally unique id generator for postgres

pg-xid is a globally unique id generator for postgres - modfin/pg-xid
wono | discuss |
it ops db postgresql tsid

TSIDs strike the perfect balance between integers and UUIDs for most databases – Foxhound Systems

A look at why TSIDs are the best of both worlds when it comes to database keys.
wono | discuss |
it ops db postgresql

Choosing a Postgres Primary Key

Turns out the question of which identifier to use as a Primary Key is complicated -- we're going to dive into some of the complexity and inherent trade-offs, and figure things out
wono | discuss |
it ops db postgresql

Postgres 유용한 query모음.

Postgres 유용한 query모음. GitHub Gist: instantly share code, notes, and snippets.
wono | discuss |
it ops db postgresql

[Postgresql] uuid 생성함수

uuid 생성방법에는 여러가지가 있다. 방법1. CREATE OR REPLACE FUNCTION gen_uuid() RETURNS uuid stable language sql as 'SELECT md5(random()::text || clock_timestamp()::text)::uuid'; SELECT gen_uuid(); 방법2 CREATE EXTENSION "uuid-ossp"; SELECT uuid_generate_v4();
wono | discuss |
it ops db tsid

Function for generating Time Sortable ID with microsecond precision on PostgreSQL

Function for generating Time Sortable ID with microsecond precision on PostgreSQL - fn_tsid_micro.sql
wono | discuss |
it ops db uuid tsid

GitHub - junyoung-kang-kurly/insert-test-demo: mysql, postgresql 을 이용해서 uuid 등을 insert 하는데 속도를 체크해본다

mysql, postgresql 을 이용해서 uuid 등을 insert 하는데 속도를 체크해본다 - junyoung-kang-kurly/insert-test-demo
wono | discuss |
it ops db pk uuid

분산환경에서 DB 기본키(PK)는 어떤 ID 생성 전략으로 만들어야할까? (UUID,ULID,TSID...)

보통 개발 편의성을 위해 Oracle의 Sequence, MySQL의 auto_increment 로 숫자를 1씩 증가시키는 것으로 만든다. 이것은 어떤 문제점이 있을까? 외부에서 해당 시스템 PK를 예측하기 쉬워져서 SQL Injection 문제 Sequence, auto_increment는 중앙 집중식으로 값을 생성하는 방식이므로 DB에 의존적이게 되어 확장성이 제한되는 문제 서비스 폭풍성장 시, ID 고갈되는 문제 (BIGINT 최댓값은 4,294,967,295 이고, unsigned BIGINT라면 18,446,744,073,709,551,615) 데이터베이스 변경의 어려움 DB가 2대 이상일 때 중복 문제 💡 MySQL 5.7 이하 버전에서는 AUTO_INCREMENT counter 값을 메모리에..
wono | discuss |
it ops db order

데이터베이스 - 순서(정렬) 컬럼 두는 전략 비교

순서 컬럼? 일반적으로는 정렬을 id로 하지만, 특정 컬럼을 둬야 하는 경우가 생깁니다. 가령, 순서 수정이나 순서 변경 기능을 제공하는 백엔드에서 그렇죠. pk를 바꾸려면, 관련 테이블과 로그를 전부 수정해야 하기 때문이에요. 이 때는 순서 컬럼을 어떻게 두면 좋을까요? 방법 소개 stackoverflow를 통해, 존재하는 다양한 방법들을 살폈는데요. 대표적으로 4가지 방법이 있습니다. 1. 소수를 이용한 방법 2. bigint를 사용해서 bit hole을 두는 방법 3. next_id를 저장하는 방법 4. 기본적인 int를 저장하는 방법 비교 1. 소수를 이용한 방법의 경우 소수를 이용해서, 앞에 올 컬럼의 순서보다 0.01 정도씩 높여서 이동시키는 방법 적절하지만, 동작을 보장하지 않습니다. flo..
wono | discuss |
it ops aws rds

Amazon Aurora PostgreSQL 에서 pg_bigm 모듈사용하기

2021.06.17 드디어 Amazon Aurora PostgreSQL 에서 pg_bigm을 지원하게 되었습니다. release notes 기존까지는 Aurora가 11.9 / 12.4 까지만 지원해서 pg_bigm 을 쓰려면 PostgreSQL Amazon RDS 를 사용해야만 했는데요. Aurora PostgreSQL 버전이 업데이트 되면서 (11.11 / 12.6 / 13.2) 가 드디어 Aurora에서도 pg_bigm 를 쓸 수 있게 되었습니다. 그래 이번 시간에는 Amazon Aurora PostgreSQL 에서의 pg_bigm에 대해서 소개드리겠습니다. 1. 지원 대상 업데이트가 되었다고해서 모든 Aurora PostgreSQL에서 pg_bigm을 사용할 수 있는것은 아닙니다. 아래 Postg..
wono | discuss |
it ops db design

MySQL 8.0 Labs: [Recursive] Common Table Expressions in MySQL (CTEs), Part Three - hierarchies

fw_error_www
wono | discuss |
it ops design tenancy tenant

PostgreSQL 를 사용한 멀티 테넌시 구현: 간단한 실제 예제로 배우기 · Logto 블로그

PostgreSQL 행 수준 보안 (RLS) 및 데이터베이스 역할을 통해 테넌트 간의 안전한 데이터 격리를 위한 멀티 테넌트 아키텍처를 구현하는 방법을 실제 예제를 통해 배워보세요.
wono | discuss |
it ops design tenancy tenant

멀티테넌시(Multi-tenancy) 개념과 적용 방안 - 타깃코더스

목차멀티테넌시란?멀티테넌시를 적용하는 이유주의 사항멀티테넌시 아키텍처 적용 방안레코드 수준의 데이터 분리장점단점테이블 수준의 데이터 분리장점단점스키마 수준의 데이터 분리장점단점DBMS 서비스 수준의 데이터 분리장점단점참고 […]
wono | discuss |
it ops db deaver

dbeaver documentation Project team work

DBeaver User Guide with detailed manuals, tips, and overviews of features and supported databases. Use the table of content to find information shortl
wono | discuss |
it ops db dbeaver data-sources

How can I export DBeaver connection configurations?

I was hoping there is a way to export DBeaver connection configurations/properties from my old machine rather than having to go through the process of recreating each one. Does anyone know how to do
wono | discuss |
it ops db dbeaver

dbeaver documentation Virtual Keys

DBeaver User Guide with detailed manuals, tips, and overviews of features and supported databases. Use the table of content to find information shortl
wono | discuss |
it ops sms

쿨에스엠에스 요금 안내 coolsms pricing

wono | discuss |
it ops method naming

How and why to decide between naming methods with "get" and "find" prefixes

I always have trouble figuring out if I should name a certain method starting with getSomething versus findSomething. The problem resides in creating helpers for poorly designed APIs. This usually
wono | discuss |
it ops git commit

When to use "chore" as type of commit message?

What is the use of chore in semantic version control commit messages? Other types like feat or fix are clear, but I don't know when to use "chore". Can anyone provide a couple of examples...
wono | discuss |
Next
© 2025. LINKTAG.ORG. Help Feedback Privacy Terms