зеркало из
https://github.com/iharh/notes.git
synced 2025-11-01 14:16:09 +02:00
m
Этот коммит содержится в:
родитель
a9b6cb220a
Коммит
f4a017865c
@ -1,3 +1,6 @@
|
|||||||
|
2023
|
||||||
|
PostgresProfessional - DBA2 Administration of 18 parts
|
||||||
|
https://www.youtube.com/playlist?list=PLaFqU3KCWw6L72nIqJ-l-pscc6WxtW4G1
|
||||||
2021
|
2021
|
||||||
PostgresProfessional - Rogov - DEV2 of 21 videos
|
PostgresProfessional - Rogov - DEV2 of 21 videos
|
||||||
https://www.youtube.com/playlist?list=PLaFqU3KCWw6K3AyBVcZGdXMtM2xvjHA1N
|
https://www.youtube.com/playlist?list=PLaFqU3KCWw6K3AyBVcZGdXMtM2xvjHA1N
|
||||||
|
|||||||
@ -28,3 +28,6 @@ Tenzor - Backend School p4 - Query Analysis p1 9:00 of 1:24:11
|
|||||||
! Index Only Scan - smartest
|
! Index Only Scan - smartest
|
||||||
! 1:09:00 - if Heap Fetches quite large, we made worse by this idx, compare to just "Index Scan"
|
! 1:09:00 - if Heap Fetches quite large, we made worse by this idx, compare to just "Index Scan"
|
||||||
! 1:13:00 - Foreign Scan - for tables on ext servers
|
! 1:13:00 - Foreign Scan - for tables on ext servers
|
||||||
|
2021
|
||||||
|
PGConf - Augustine - Deeper understanding of PG execution plan 1:00 of 47:55
|
||||||
|
https://www.youtube.com/watch?v=Ls-uE1V31lE
|
||||||
@ -1,7 +1,48 @@
|
|||||||
2023
|
2023
|
||||||
Tenzor - Borovikov - Backend School - 7 Locks 3:00 of 1:04:52
|
Tenzor - Borovikov - Backend School - 7 Locks of 1:04:52
|
||||||
https://www.youtube.com/watch?v=RjLlixMdnSQ
|
https://www.youtube.com/watch?v=RjLlixMdnSQ
|
||||||
https://www.postgresql.org/docs/current/explicit-locking.html
|
https://www.postgresql.org/docs/current/explicit-locking.html
|
||||||
|
! https://www.postgresql.org/docs/current/sql-lock.html
|
||||||
|
! 6:00 - https://www.postgresql.org/docs/current/functions-admin.html
|
||||||
|
! pg_cancel_backend, pg_terminate_backend
|
||||||
|
! 9:00 - pg_advisory_unlock(*) -- outside of tran
|
||||||
|
! 10:00 - commit/rollback/rollback to sp, exception in stored proc
|
||||||
|
! 11:00 - lock types:
|
||||||
|
! table-level, row-level, page-level, advisory, deadlocks
|
||||||
|
! 12:00 - table-level locks - https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-TABLES
|
||||||
|
! 13:00 - table-level modes
|
||||||
|
! AS - access share - select put this on all tables and all its indices from query, lock ... nowait
|
||||||
|
! RS - row share - select ... for ...
|
||||||
|
! RE - row exclusive
|
||||||
|
! SUE - share update exclusive
|
||||||
|
! S - share
|
||||||
|
! SRE - share row exclusive
|
||||||
|
! E - exclusive
|
||||||
|
! AE - access exclusive
|
||||||
|
! 20:00 - ... nowait - either now or exception is thrown
|
||||||
|
! 22:00 - lock_timeout(integer) - https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-LOCK-TIMEOUT ch19 (server config)
|
||||||
|
! 23:00 - alter_in_transaction_session_timeout (for mezkih clients)
|
||||||
|
! 25:00 - row-level locks - https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-ROWS
|
||||||
|
! 27:00 - row-level modes
|
||||||
|
! RS - select ... for key share
|
||||||
|
! S - select ... for share
|
||||||
|
! SRE - select ... for no key update, update [*]
|
||||||
|
! E - select ... for update, delete, update (cols of unique idx)
|
||||||
|
! 32:00 - page-level locks - https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-PAGES
|
||||||
|
! S - share
|
||||||
|
! E - exclusive
|
||||||
|
! !!! mostly hw-level (should not see in normal flow)
|
||||||
|
! 33:00 - advisory locks https://www.postgresql.org/docs/current/explicit-locking.html#ADVISORY-LOCKS
|
||||||
|
! blocked resource - arbitrary number (64-bit)
|
||||||
|
! PG-only thing - https://www.postgresql.org/docs/current/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS
|
||||||
|
! pg_advisory_*(...), tg_try_advisory_(...), pg_advisory_unlock_all(hiliotina)
|
||||||
|
! S - share
|
||||||
|
! E - exclusive
|
||||||
|
! problems - max_locks_per_transaction * max_connections
|
||||||
|
! 51:00 - deadlocks - https://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-DEADLOCKS
|
||||||
|
! 59:00 - pg_stat_activity - https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW
|
||||||
|
! wait event types
|
||||||
|
! 1:02:00 - pg_locks where not granted
|
||||||
2019
|
2019
|
||||||
HighLoad - Rogov - PG Locks of 48:42
|
HighLoad - Rogov - PG Locks of 48:42
|
||||||
https://www.youtube.com/watch?v=_R2-IsKfsUU
|
https://www.youtube.com/watch?v=_R2-IsKfsUU
|
||||||
|
|||||||
@ -13,5 +13,6 @@ where
|
|||||||
pg_locks
|
pg_locks
|
||||||
transactionid, granted
|
transactionid, granted
|
||||||
|
|
||||||
|
https://www.postgresql.org/docs/current/functions-admin.html
|
||||||
pg_terminate_backend(pid)
|
pg_terminate_backend(pid)
|
||||||
function
|
function
|
||||||
|
|||||||
@ -1,7 +1,13 @@
|
|||||||
https://www.deepseek.com/
|
https://www.deepseek.com/
|
||||||
|
|
||||||
https://github.com/deepseek-ai
|
https://github.com/deepseek-ai
|
||||||
|
https://github.com/deepseek-ai/DeepSeek-V3
|
||||||
|
|
||||||
https://api-docs.deepseek.com/quick_start/pricing
|
https://api-docs.deepseek.com/quick_start/pricing
|
||||||
|
|
||||||
|
https://deepseekcoder.github.io/
|
||||||
|
|
||||||
|
|
||||||
2025
|
2025
|
||||||
Aiii - DeepSeq v3 + make 0:00 of 23:40
|
Aiii - DeepSeq v3 + make 0:00 of 23:40
|
||||||
https://www.youtube.com/watch?v=9Xb6KpVl9dQ
|
https://www.youtube.com/watch?v=9Xb6KpVl9dQ
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
2024
|
2024
|
||||||
|
freeCodeCamp - Ollama Course – Build AI Apps Locally 0:00 of 2:57:23
|
||||||
|
https://www.youtube.com/watch?v=GWB9ApTPTv4
|
||||||
KskRoyal - How To Run ANY Open Source LLM LOCALLY In Linux 0:00 of 11:11
|
KskRoyal - How To Run ANY Open Source LLM LOCALLY In Linux 0:00 of 11:11
|
||||||
https://www.youtube.com/watch?v=rriOONGE1Vw
|
https://www.youtube.com/watch?v=rriOONGE1Vw
|
||||||
2023
|
2023
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user