зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-31 05:36:08 +02:00 
			
		
		
		
	m
Этот коммит содержится в:
		
							родитель
							
								
									8ee8a2bd63
								
							
						
					
					
						Коммит
						b57bb8d6af
					
				
							
								
								
									
										20
									
								
								db/sql/postgres/feature/internals/statistics/tips.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										20
									
								
								db/sql/postgres/feature/internals/statistics/tips.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,20 @@ | |||||||
|  | ************************************************************* | ||||||
|  | Сегодня у нас будет простой, но очень полезный запрос. Этот запрос позволит нам посмотреть статистику таблицы в PostgreSQL. Но не ту статистику, которая полезна для планировщика запросов в PostgreSQL, т.е. кол-во строк и прочие технические вещи, а статистику по использованию таблицы. | ||||||
|  | 
 | ||||||
|  | Т. е. мы увидим сколько строк было вставлено в таблицу, сколько удалено и сколько обновлено. Такая информация может быть нам полезна для оценки интенсивности работы с таблицей и принятия решения об оптимизации работы с ней, переносе таблицы на более быстрый диск, например. | ||||||
|  | 
 | ||||||
|  | Запрос будет следующим: | ||||||
|  | 
 | ||||||
|  | SELECT relname, n_tup_ins "Total Inserts",  | ||||||
|  | n_tup_upd "Total Updates",  | ||||||
|  | n_tup_del "Total Deletes"  | ||||||
|  | FROM pg_stat_user_tables WHERE | ||||||
|  |       relname='имя_таблицы'; | ||||||
|  | 
 | ||||||
|  | Здесь: | ||||||
|  | 
 | ||||||
|  | pg_stat_user_tables - представление, которое содержит информацию по статистике пользовательских, не системных таблиц; | ||||||
|  | 
 | ||||||
|  | n_tup_ins, n_tup_upd и n_tup_del - кол-во вставленных, обновленных и удаленных строк соответственно. | ||||||
|  | 
 | ||||||
|  | Вот таким нехитрым способом мы можем быстро оценить на сколько сильно загруженная таблица в PostgreSQL. | ||||||
							
								
								
									
										1
									
								
								devops/cloud/azure/servicebus/entity-suspend.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										1
									
								
								devops/cloud/azure/servicebus/entity-suspend.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1 @@ | |||||||
|  | https://learn.microsoft.com/en-us/azure/service-bus-messaging/entity-suspend | ||||||
							
								
								
									
										1
									
								
								devops/docs/people/kryukov.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										1
									
								
								devops/docs/people/kryukov.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1 @@ | |||||||
|  | https://boosty.to/bigkaa | ||||||
| @ -4,5 +4,7 @@ https://forklog.com/sp/ASIC-in-blockchain/ | |||||||
| https://habr.com/ru/articles/778074/ | https://habr.com/ru/articles/778074/ | ||||||
|     ! crypto-heating |     ! crypto-heating | ||||||
| https://bytwork.com/articles/what-is-asic | https://bytwork.com/articles/what-is-asic | ||||||
|  | 2023 | ||||||
|  | https://habr.com/ru/companies/yadro/articles/780278/ | ||||||
| 2022 | 2022 | ||||||
| https://prostocoin.io/blog/asic-mining | https://prostocoin.io/blog/asic-mining | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								nontech/history/countries/eu/de/alfred-rozenberg.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										2
									
								
								nontech/history/countries/eu/de/alfred-rozenberg.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | 2023 | ||||||
|  | https://dzen.ru/a/ZWnOqG5FyA0H78EE | ||||||
							
								
								
									
										2
									
								
								nontech/history/countries/eu/de/anenerbe/von-zivers.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										2
									
								
								nontech/history/countries/eu/de/anenerbe/von-zivers.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | 2022 | ||||||
|  | https://dzen.ru/a/Y32qFEBEewl04U3p | ||||||
| @ -2,7 +2,7 @@ Georkiy Gennadievich | |||||||
| vice-president of RU nano-techno society | vice-president of RU nano-techno society | ||||||
| 
 | 
 | ||||||
| 2023 | 2023 | ||||||
| Horoscope - Malinetskiy - Savvateev of 1:39:56 | Horoscope - Malinetskiy - Savvateev 1:03:00 of 1:39:56 | ||||||
|     https://www.youtube.com/watch?v=plX6bsMnzkE |     https://www.youtube.com/watch?v=plX6bsMnzkE | ||||||
| 2022 | 2022 | ||||||
| NDay - Peretolchin - Malinetskiy - New Reality, Selforganisation and Control of the Future of 23:32 of 57:17 | NDay - Peretolchin - Malinetskiy - New Reality, Selforganisation and Control of the Future of 23:32 of 57:17 | ||||||
|  | |||||||
| @ -1,3 +1,7 @@ | |||||||
|  | https://github.com/mfussenegger/nvim-jdtls | ||||||
|  | 
 | ||||||
|  | 2024 | ||||||
|  | https://www.reddit.com/r/neovim/comments/1cytzff/how_can_neovim_be_improved_for_java_need_help_for/ | ||||||
| 2022 | 2022 | ||||||
| https://sookocheff.com/post/vim/neovim-java-ide/ | https://sookocheff.com/post/vim/neovim-java-ide/ | ||||||
|     https://habr.com/ru/articles/760234/ |     https://habr.com/ru/articles/760234/ | ||||||
|  | |||||||
| @ -4,6 +4,7 @@ https://nix-community.github.io/nixos-anywhere/ | |||||||
| https://github.com/nix-community/nixos-anywhere | https://github.com/nix-community/nixos-anywhere | ||||||
| 
 | 
 | ||||||
| https://github.com/nix-community/nixos-anywhere/tree/main/docs | https://github.com/nix-community/nixos-anywhere/tree/main/docs | ||||||
|  | https://github.com/nix-community/nixos-anywhere/blob/main/docs/quickstart.md | ||||||
| https://github.com/nix-community/nixos-anywhere/blob/main/docs/howtos/no-os.md#installing-on-a-machine-with-no-operating-system | https://github.com/nix-community/nixos-anywhere/blob/main/docs/howtos/no-os.md#installing-on-a-machine-with-no-operating-system | ||||||
| 
 | 
 | ||||||
| 2023 | 2023 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								os/linux/nixos/tools/cache/cachix.txt
									
									
									
									
										поставляемый
									
									
								
							
							
						
						
									
										2
									
								
								os/linux/nixos/tools/cache/cachix.txt
									
									
									
									
										поставляемый
									
									
								
							| @ -11,5 +11,7 @@ https://github.com/colemickens/nixpkgs-wayland | |||||||
|     https://blog.cachix.org/posts/2020-11-09-write-access-control-for-binary-caches/ |     https://blog.cachix.org/posts/2020-11-09-write-access-control-for-binary-caches/ | ||||||
|         CACHIX_AUTH_TOKEN or via configuration file by running cachix authtoken. |         CACHIX_AUTH_TOKEN or via configuration file by running cachix authtoken. | ||||||
| 
 | 
 | ||||||
|  | 2024 | ||||||
|  | https://blog.cachix.org/posts/2024-01-12-cachix-v1-7/ | ||||||
| 2020 | 2020 | ||||||
| https://fzakaria.com/2020/08/11/caching-your-nix-shell.html | https://fzakaria.com/2020/08/11/caching-your-nix-shell.html | ||||||
|  | |||||||
							
								
								
									
										4
									
								
								pl/cross/search/meilisearch-rs/articles.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										4
									
								
								pl/cross/search/meilisearch-rs/articles.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,4 @@ | |||||||
|  | 2023 | ||||||
|  | https://blog.kerollmops.com/meilisearch-expands-search-power-with-arroy-s-filtered-disk-ann | ||||||
|  | https://blog.kerollmops.com/multithreading-and-memory-mapping-refining-ann-performance-with-arroy | ||||||
|  | https://blog.kerollmops.com/spotify-inspired-elevating-meilisearch-with-hybrid-search-and-rust | ||||||
							
								
								
									
										5
									
								
								pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										5
									
								
								pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | // Sort stringySort = Sort.by("age"); | ||||||
|  | 
 | ||||||
|  | TypedSort<Employee> typedSort = Sort.sort(Employee.class); | ||||||
|  | Sort sort = typedSort.by(Employee::getAge); | ||||||
|  | List<Employee> result = employeeRepository.findAll(sort); | ||||||
| @ -55,6 +55,7 @@ RealManual - Egorov - ArgoCD+Keycloak | |||||||
|     nnm:1692389 |     nnm:1692389 | ||||||
| 
 | 
 | ||||||
| 2023 | 2023 | ||||||
|  | https://habr.com/ru/companies/axenix/articles/780422/ | ||||||
| https://habr.com/ru/articles/779170/ | https://habr.com/ru/articles/779170/ | ||||||
| https://habr.com/ru/articles/772010/ | https://habr.com/ru/articles/772010/ | ||||||
| https://habr.com/ru/articles/716232/ | https://habr.com/ru/articles/716232/ | ||||||
|  | |||||||
| @ -1,3 +1,5 @@ | |||||||
|  | 2023 | ||||||
|  | https://www.thecodedmessage.com/posts/oop-3-inheritance/ | ||||||
| 2020 | 2020 | ||||||
| https://blog.darrien.dev/posts/so-you-want-to-object/ | https://blog.darrien.dev/posts/so-you-want-to-object/ | ||||||
| 2017 | 2017 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								pl/rs/tools/cargo/features/cache.txt
									
									
									
									
									
										Обычный файл
									
								
							
							
						
						
									
										2
									
								
								pl/rs/tools/cargo/features/cache.txt
									
									
									
									
									
										Обычный файл
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | 2023 | ||||||
|  | https://blog.rust-lang.org/2023/12/11/cargo-cache-cleaning.html | ||||||
| @ -1 +1,12 @@ | |||||||
|  | https://watchexec.github.io/ | ||||||
|  | 
 | ||||||
| https://github.com/watchexec/watchexec | https://github.com/watchexec/watchexec | ||||||
|  | 
 | ||||||
|  | https://crates.io/crates/watchexec | ||||||
|  | https://github.com/mattgreen/watchexec | ||||||
|  | 
 | ||||||
|  | https://github.com/passcod/notify | ||||||
|  | 
 | ||||||
|  | 2024 | ||||||
|  | https://cohost.org/watchexec | ||||||
|  | https://cohost.org/watchexec/post/3818997-watchexec-library-3 | ||||||
|  | |||||||
| @ -1,4 +0,0 @@ | |||||||
| https://crates.io/crates/watchexec |  | ||||||
| https://github.com/mattgreen/watchexec |  | ||||||
| 
 |  | ||||||
| https://github.com/passcod/notify |  | ||||||
| @ -2,6 +2,7 @@ | |||||||
| https://dev.to/maximsaplin/ai-assisted-coding-sleeping-on-a-volcano-3mf9 | https://dev.to/maximsaplin/ai-assisted-coding-sleeping-on-a-volcano-3mf9 | ||||||
|     https://proglib.io/p/ii-assistenty-razrabotchika-skrytaya-ugroza-2024-04-15 |     https://proglib.io/p/ii-assistenty-razrabotchika-skrytaya-ugroza-2024-04-15 | ||||||
| 2023 | 2023 | ||||||
|  | https://eao197.blogspot.com/2023/12/progworkflame.html | ||||||
| https://github.blog/2023-10-30-the-architecture-of-todays-llm-applications/ | https://github.blog/2023-10-30-the-architecture-of-todays-llm-applications/ | ||||||
|     https://habr.com/ru/articles/777248/ |     https://habr.com/ru/articles/777248/ | ||||||
| https://habr.com/ru/articles/777366/ | https://habr.com/ru/articles/777366/ | ||||||
|  | |||||||
		Загрузка…
	
	
			
			x
			
			
		
	
		Ссылка в новой задаче
	
	Block a user
	 Ihar Hancharenka
						Ihar Hancharenka