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

Waiting for PostgreSQL 18 – Add UUID version 7 generation function. – select * from depesz;

wono | discuss |
it ops db postgresql uuidv7

UUIDv7 in YugabyteDB

When creating a user-defined function for inserts, such as one that generates a default value, you... Tagged with yugabytedb, distributed, postgres, sql.
wono | discuss |
it ops db postgresql uuidv7

GitHub - dverite/postgres-uuidv7-sql: Pure SQL functions to use UUIDs v7 in PostgreSQL

Pure SQL functions to use UUIDs v7 in PostgreSQL. Contribute to dverite/postgres-uuidv7-sql development by creating an account on GitHub.
wono | discuss |
it ops db uuid postgresql

Functions for generating UUIDv6 and UUIDv7 on PostgreSQL

Functions for generating UUIDv6 and UUIDv7 on PostgreSQL - UUIDv6.sql
wono | discuss |
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 |
생활 자동차 시동부조화

여름철 무더위에 차 엔진이 '덜덜덜' 떨린다면? - 글로벌이코노믹

자동차 운전중 신호대기에 걸려 정차 중일때 엔진 RPM(분당 엔진회전수)게이지가 오르락 내리락 하며 불안정하게 엔진이 떨리는 증상이 나올 때가 있다.차가 시동이 걸린 상태에서 일어나는 차체 떨림, 주행 때 차가 울컥 거리고 불안하게 튀어나갈 듯한 느낌, 가속 페달을 밟았는데 바로 가속
wono | discuss |
it dev nextjs template

Templates don't rerender when using route groups · Issue #52422 · vercel/next.js

Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023...
wono | discuss |
생활 부동산 임대차 매매

주택매매계약서 특약사항 총정리

주택매매계약서 특약사항 총정리 특약사항은 매수인과 매도인 사이의 합의에 따라 작성되며, 이는 법적 효력을 가집니다. 그러나, 특약사항이 모두 법적 효력을 가지는 것은 아닙니다.특히, 강행규정에 반하는 특약사항은 법적 효력이 없습니다.
wono | discuss |
it dev nextjs winston

next js 13 에러 로거 winston 적용기

에러 로그를 찾아보다가 이미 회사에서 사용하고 있는 seq 로거를 활용하기 위해서 공식문서에 node적용 케이스가 있어서 보고 적용하게 되었다.
wono | discuss |
it nextjs pino logger

pino logger and express attach custom property to all logs

First up, node is not my thing. Nevertheless I find myself trying to figure out how to combine pino/pino-http and express to deliver some formatted logs. This part I have achieved. What I was attem...
wono | discuss |
Next
© 2025. LINKTAG.ORG. Help Feedback Privacy Terms