From df04e87dd42d1d36a537ff811ae2ca9fa1501e64 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Sat, 28 Sep 2024 17:19:20 +0300 Subject: [PATCH] m --- db/search/es/docs/presentations.txt | 18 +++++++++++++++++- nontech/ortho/people/mazhuko.txt | 2 ++ .../spring/data/jpa/docs/course/linkedin.txt | 2 +- .../spring/data/jpa/docs/presentations.txt | 15 +++++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/db/search/es/docs/presentations.txt b/db/search/es/docs/presentations.txt index 6a8c3e808..58b75e5ab 100644 --- a/db/search/es/docs/presentations.txt +++ b/db/search/es/docs/presentations.txt @@ -1,7 +1,23 @@ 2024 -SuchkovTech - ES for 30 min Ru 11:00 of 28:39 +SuchkovTech - ES for 30 min Ru 17:20 of 28:39 https://www.youtube.com/watch?v=vxE1aGTEnbE ! 10:50 index creation PUT-sample + ! PUT lh:9200/first_index + ! { "mappings": { "properties": { "title": {type": "text", "analyzer": "russian"}, "price": {"type": "float"}, "available": { "type": "boolean" }}} + ! PUT lh:9200/first_index/_doc1/1 -d '{ "title": "...", "price": "...", ...}' + ! { "_id": "1", "_type": "_doc", "_version": 1, "_shards": {...}, "_seq_no": 0, "_primary_term": "result": "created/updated", ... } + ! PUT ... _doc1/1/_create -d'...' - to not update existing + ! error -> root_cause + ! GET ... _doc1/1 + ! if not found { ... "found": false } + ! DELETE -> + ! { ... "result": "deleted" } + ! POST lh:9200/first_index/_bulk + ! + ! ?GET lh:9200/first_index/_search + ! { "from": 20, "size": 3} + ! { "query": {"match": {"title": "cableless"}}} + ! ... "_score": 6.57... https://github.com/SuchkovDenis/elasticexample https://suchkov.tech/elasticsearch-quick-start/ https://suchkov.tech/wp-content/uploads/2024/08/ElasticSearch-Postman-collection.zip diff --git a/nontech/ortho/people/mazhuko.txt b/nontech/ortho/people/mazhuko.txt index fe57e79ee..e7e03cdb4 100644 --- a/nontech/ortho/people/mazhuko.txt +++ b/nontech/ortho/people/mazhuko.txt @@ -22,6 +22,8 @@ people ! his students - S.S Averintsev, V Bibihin 2024 +Mazuko - UA Resentiment of 18:18 + https://www.youtube.com/watch?v=xmKSN55XTF8 Mazuko - MotherOfGod Cristmas of 20:51 https://www.youtube.com/watch?v=V2QZb67gtz4 Mazhuko - Cross and Fatum of 18:06 diff --git a/pl/java/libfws/spring/data/jpa/docs/course/linkedin.txt b/pl/java/libfws/spring/data/jpa/docs/course/linkedin.txt index 4470e920b..10254ec74 100644 --- a/pl/java/libfws/spring/data/jpa/docs/course/linkedin.txt +++ b/pl/java/libfws/spring/data/jpa/docs/course/linkedin.txt @@ -1,5 +1,5 @@ 2024 -https://www.linkedin.com/learning/java-persistence-with-jpa-and-hibernate/finding-and-updating-an-existing-entity-instance +https://www.linkedin.com/learning/java-persistence-with-jpa-and-hibernate ! short lessons 2023 https://www.linkedin.com/learning/java-persistence-with-jpa diff --git a/pl/java/libfws/spring/data/jpa/docs/presentations.txt b/pl/java/libfws/spring/data/jpa/docs/presentations.txt index 547185b0d..994835728 100644 --- a/pl/java/libfws/spring/data/jpa/docs/presentations.txt +++ b/pl/java/libfws/spring/data/jpa/docs/presentations.txt @@ -6,6 +6,21 @@ SeleniumExpress - Spring Data JPA - ORM Mappings of p2 https://www.youtube.com/playlist?list=PL3NrzZBjk6m-XiX22zxJYJd6CYzmNENUI 2024 +JPoint - Sindeev - Hibernate OOM and really HUGE Queries (in) of 39:18 + https://www.youtube.com/watch?v=KUmzw-gAhCY + ! -XX:HeapDumpPath=/opt/dumps # mapped volume + ! -XX:MaxRAMPercentage=70 + ! -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 + ! -Dcom.sun.management.jmxremote=true + ! ... port, rmi.port + ! -Djava.rmi.server.hostname=127.0.0.1 + ! starter.actuator. + ! yaml: managements.endpoints.web.exposure.include: heapdump + ! org.hibernate.internal.StatisticsImpl + ! org.hibernate.internal.SessionFactoryImpl + ! ... queryPlanCache + ! yaml: spring.jpa.properties.hibernate.generate_statistics: false + ! hibernate.query.in_clause_parameter_padding: ON JPoint - Ilya and Fedor Sazonov - DB Tamer of 48:02 https://www.youtube.com/watch?v=mIxr65ZGGFw https://www.youtube.com/watch?v=1T5LjQaWGhQ