17 KiB
-
curl -s "http://csdra-s50.vicosrv.de:6001/api/product/page/name?pid=241&customerId=8&query&relevant=0&assignedCustomerProduct=0&shopCountryFilter&shopIdFilter&createdAtStart=2018-08-08T00:00:00Z&createdAtEnd=2018-08-08T23:59:59Z&additionalFieldUUIDs&loadTechnicalProperties=true&loadAssignedCustomerProducts=true&loadMinimalRelatedEntityProperties=true&size=2500&sort=creation_date,ASC&userId=17" | jq -r ".allEntities | map(select(.entityTypeId==\"fd7d4d2e-4254-4885-a088-891e7e69a19b\") | .id) | to_entries[] | .value" curl -s "http://csdra-s50.vicosrv.de:6001/api/product/page/name?pid=241&customerId=8&query&relevant=0&assignedCustomerProduct=0&shopCountryFilter&shopIdFilter&createdAtStart=2018-08-08T00:00:00Z&createdAtEnd=2018-08-08T23:59:59Z&additionalFieldUUIDs&loadTechnicalProperties=true&loadAssignedCustomerProducts=true&loadMinimalRelatedEntityProperties=true&size=2500&sort=creation_date,ASC&userId=17&page=1198" | jq -r ".allEntities | map(select(.entityTypeId==\"fd7d4d2e-4254-4885-a088-891e7e69a19b\") | .id) | to_entries[] | .value" | diff ppage10.txt - curl -s "http://csdra-s50.vicosrv.de:6001/api/product/page/name?pid=241&customerId=8&query&relevant=0&assignedCustomerProduct=0&shopCountryFilter&shopIdFilter&createdAtStart=2018-08-08T00:00:00Z&createdAtEnd=2018-08-08T23:59:59Z&additionalFieldUUIDs&loadTechnicalProperties=true&loadAssignedCustomerProducts=true&loadMinimalRelatedEntityProperties=true&size=2&sort=creation_date,ASC&userId=17&page=1497500" | jq -r ".allEntities | map(select(.entityTypeId==\"fd7d4d2e-4254-4885-a088-891e7e69a19b\") | .id) | to_entries[] | .value" curl -s "http://localhost:6001/api/product/page/name?pid=241&customerId=8&query&relevant=0&assignedCustomerProduct=0&shopCountryFilter&shopIdFilter&createdAtStart=2018-08-08T00:00:00Z&createdAtEnd=2018-08-08T23:59:59Z&additionalFieldUUIDs&loadTechnicalProperties=true&loadAssignedCustomerProducts=true&loadMinimalRelatedEntityProperties=true&size=2&sort=creation_date,ASC&sort=uuid,ASC&userId=17&page=1497500" | jq -r ".allEntities | map(select(.entityTypeId==\"fd7d4d2e-4254-4885-a088-891e7e69a19b\") | .id) | to_entries[] | .value" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+PrintPromotionFailure -XX:PrintFLSStatistics=1 -Xloggc:/usr/local/vicosoft/logs/gc_%t_%p.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Dspring.profiles.active=prod -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=2204 -Dreadonly=false -Dservice.assignment.max-assigned-pp-for-cp=100 MTQ5NzUwMA== -
#+BEGIN_QUOTE
- Stellenbeschreibung prüfen Grundlegendes Spektrum (keine Erwartungen wecken)
Vertretungen nur bei speziellen Aufgaben, aufführen
Stellenbeschreibung, Stellentitel kommen von HR Überstellung fachlich und disziplinarisch Unterstellung fachlich und disziplinarisch
Verantwortlichkeiten nicht zu detailliert, da eher abstrakt (keine konkrete Technologien)
- Ziele
Anforderungen an Developer - Proaktivität (Aufwände, Qualität, Themen proaktiv weitertragen) regelmässig die Stunden pflegen
- Bewusstsein von Beitrag (Nutzen von Beitrag verstehen)
(Qualtitätsbewusstsein, Nachhaltigkeit intrinsisch vorhanden)
- Vorbereitung Gespräche
Personal Lead zusätzlich zur fachlichen Führung
Welche Erwartungshaltung an mich Welche Ziele selber Was liegt am Herzen wo kann ich unterstützen Welche bisherigen Anforderungen wurden bisher nicht erfüllt Wie kann ich helfen
Challengen auf organisatorischen Ebene? Was sind meine Erwartungshaltungen Gib mir die Chance dir zu helfen bevor du es in dich herein frisst
Einschätzung bzgl der Mitarbeiter
Gibt es aktuelle Themen die dringend angesprochen werden müssen?
Gibt es aktuelle Themen die dringend angesprochen werden müssen?
-
Andreas Unsicheres Bild Chronisch überlastet. Unverzichtbar für Aufrechterhaltung der Themen. Z.T. schon resigniert Fokusierung/Zuverlässigkeit
Kann sich für Punkte begeistern
Stärken: Teamplayer, extrem gutes Gefühl wie andere Leute im Team drauf sind, innovativ (technologisch)
Themen mehr enablen, damit andere diese umsetzen können
Datapipe Thema neu aufrollen, Umsetzung um neue stabile Datapipe zu bekommen
Releaseprozesse
Gehaltsgespräch letztes Jahr (aktuell nicht auf dem Plan): 5167 E
Gibt es aktuelle Themen die dringend angesprochen werden müssen?
- Stehen Gehaltsanpassungen an?
#+END_QUOTE
-
UPDATE ent_customerproduct SET ucid = c.ucid FROM ent_customer c WHERE c.pid=ent_customerproduct.pid AND c.cid=ent_customerproduct.cid AND ent_customerproduct.ucid IS NULL; ALTER TABLE tmp_ent_productpage_updated OWNER TO productstore; ALTER TABLE tmp_booking_speed_sc OWNER TO productstore; ALTER TABLE tmp_booking_speed_pp OWNER TO productstore; ALTER TABLE tmp_ignoring_customer_ids OWNER TO productstore; ALTER TABLE tmp_assigned_cp_ids OWNER TO productstore; ALTER TABLE tmp_assigning_customer_ids OWNER TO productstore; CREATE TABLE "bkcp_ent_productpage" (like "ent_productpage"); INSERT INTO "bkcp_ent_productpage" SELECT * FROM ent_productpage; DROP TABLE IF EXISTS tmp_ent_productpage; CREATE TABLE "tmp_ent_productpage" (like "ent_productpage"); INSERT INTO "tmp_ent_productpage" ( "uuid", "creation_date", "modification_date", "creator_id", "last_modifier_id", "name", "url", "url_normalized", "former_urls", "crawl_date", "language", "country", "breadcrumb", "brand", "image_url", "current_price", "number_of_replies", "number_of_reviews", "asin", "asin_normalized", "gtin", "gtin_normalized", "ean13", "ean13_normalized", "sku", "sku_normalized", "vib", "vib_normalized", "modelnumber", "modelnumber_normalized", "shopcategory_id", "shop_id", "shop_internal_id", "meta_info") SELECT "uuid", "creation_date", "modification_date", "creator_id", "last_modifier_id", "name", "url", "url_normalized", "former_urls", "crawl_date", "language", "country", "breadcrumb", "brand", "image_url", "current_price", "number_of_replies", "number_of_reviews", "asin", "asin_normalized", "gtin", "gtin_normalized", "ean13", "ean13_normalized", "sku", "sku_normalized", "vib", "vib_normalized", "modelnumber", "modelnumber_normalized", "shopcategory_id", "shop_id", "shop_internal_id", "meta_info" FROM ent_productpage; INSERT INTO "tmp_ent_productpage" SELECT * FROM ent_productpage; UPDATE tmp_ent_productpage SET booking_customer_ids = NULL, ignoring_customer_ids = NULL, assigned_cp_ids = NULL, assigning_customer_ids = NULL WHERE booking_customer_ids IS NULL OR ignoring_customer_ids IS NULL OR assigned_cp_ids IS NULL OR assigning_customer_ids IS NULL; UPDATE tmp_ent_productpage SET booking_customer_ids = NULL, ignoring_customer_ids = NULL, assigned_cp_ids = NULL, assigning_customer_ids = NULL WHERE booking_customer_ids IS NULL OR ignoring_customer_ids IS NULL OR assigned_cp_ids IS NULL OR assigning_customer_ids IS NULL; CREATE TABLE "tmp_ent_productpage_updated" (like "ent_productpage"); INSERT INTO tmp_ent_productpage_updated SELECT p."uuid", "creation_date", "modification_date", "creator_id", "last_modifier_id", "name", "url", "url_normalized", "former_urls", "crawl_date", "language", "country", "breadcrumb", "brand", "image_url", "current_price", "number_of_replies", "number_of_reviews", "asin", "asin_normalized", "gtin", "gtin_normalized", "ean13", "ean13_normalized", "sku", "sku_normalized", "vib", "vib_normalized", "modelnumber", "modelnumber_normalized", "shopcategory_id", "shop_id", "shop_internal_id", "meta_info", (ssc.speed || spp.speed || p.booking_customer_ids) AS booking_customer_ids, acp.speed, acid.speed, ici.speed FROM ent_productpage p LEFT JOIN tmp_booking_speed_sc ssc ON p.uuid=ssc.uuid LEFT JOIN tmp_booking_speed_pp spp ON p.uuid=spp.uuid LEFT JOIN tmp_assigned_cp_ids acp ON p.uuid=acp.uuid LEFT JOIN tmp_assigning_customer_ids acid ON p.uuid=acid.uuid LEFT JOIN tmp_ignoring_customer_ids ici ON p.uuid=ici.uuid; TRUNCATE ent_productpage INSERT INTO ent_productpage SELECT p."uuid", "creation_date", "modification_date", "creator_id", "last_modifier_id", "name", "url", "url_normalized", "former_urls", "crawl_date", "language", "country", "breadcrumb", "brand", "image_url", "current_price", "number_of_replies", "number_of_reviews", "asin", "asin_normalized", "gtin", "gtin_normalized", "ean13", "ean13_normalized", "sku", "sku_normalized", "vib", "vib_normalized", "modelnumber", "modelnumber_normalized", "shopcategory_id", "shop_id", "shop_internal_id", "meta_info", CASE WHEN ssc.speed IS NULL AND spp.speed IS NULL THEN NULL ELSE (COALESCE(ssc.speed,'') || COALESCE(spp.speed,'')) END AS booking_customer_ids, acp.speed, acid.speed, ici.speed FROM bckp_ent_productpage_parallel p LEFT JOIN tmp_booking_speed_sc ssc ON p.uuid=ssc.uuid LEFT JOIN tmp_booking_speed_pp spp ON p.uuid=spp.uuid LEFT JOIN tmp_assigned_cp_ids acp ON p.uuid=acp.uuid LEFT JOIN tmp_assigning_customer_ids acid ON p.uuid=acid.uuid LEFT JOIN tmp_ignoring_customer_ids ici ON p.uuid=ici.uuid; -- create booking speed temp table DROP TABLE IF EXISTS tmp_booking_speed_sc; CREATE TABLE tmp_booking_speed_sc AS SELECT hstore_sum(a.speed) AS speed , a.uuid FROM ( SELECT i.source_uuid AS uuid, hstore(ARRAY[('sc_'||c.ucid)], ARRAY[b.target_uuid:: TEXT]) AS speed FROM ent_customer c, rel_hasbooked b, rel_isfrom i WHERE c.uuid=b.source_uuid AND b.target_uuid=i.target_uuid ) a GROUP BY a.uuid; CREATE INDEX IF NOT EXISTS pp_uuid_idx1 ON tmp_booking_speed_sc(uuid); UPDATE tmp_ent_productpage p SET booking_customer_ids = COALESCE(booking_customer_ids, '') || s.speed FROM tmp_booking_speed_sc s WHERE s.uuid = p.uuid; DROP TABLE IF EXISTS tmp_booking_speed_sc; -- new RelationType(EDGE_LABEL_HAS_DIRECTLY_BOOKED, C, PP) DROP TABLE IF EXISTS tmp_booking_speed_pp; CREATE TABLE tmp_booking_speed_pp AS SELECT hstore_sum(a.speed) AS speed, a.uuid FROM ( SELECT b.target_uuid AS uuid, hstore(ARRAY[('d_'||c.ucid)], ARRAY[c.ucid::TEXT]) AS speed FROM ent_customer c, rel_hasdirectlybooked b WHERE c.uuid=b.source_uuid ) a GROUP BY a.uuid; CREATE INDEX IF NOT EXISTS pp_uuid_idx2 ON tmp_booking_speed_pp(uuid); UPDATE tmp_ent_productpage p SET booking_customer_ids = COALESCE(booking_customer_ids, '') || s.speed FROM tmp_booking_speed_pp s WHERE s.uuid = p.uuid; DROP TABLE IF EXISTS tmp_booking_speed_pp; -- new RelationType(EDGE_LABEL_IRRELEVANT, C, PP) DROP TABLE IF EXISTS tmp_ignoring_customer_ids; CREATE TABLE tmp_ignoring_customer_ids AS SELECT hstore_sum(a.speed) AS speed , a.uuid FROM ( SELECT i.target_uuid AS uuid, hstore(ARRAY[c.ucid:: TEXT], ARRAY[c.ucid:: TEXT]) AS speed FROM ent_customer c, rel_isirrelevant i WHERE c.uuid=i.source_uuid ) a GROUP BY a.uuid; CREATE INDEX IF NOT EXISTS pp_uuid_idx3 ON tmp_ignoring_customer_ids(uuid); UPDATE tmp_ent_productpage p SET ignoring_customer_ids = COALESCE(ignoring_customer_ids, '') || s.speed FROM tmp_ignoring_customer_ids s WHERE s.uuid = p.uuid; DROP TABLE IF EXISTS tmp_ignoring_customer_ids; -- new RelationType(EDGE_LABEL_CONTAINS, CP, PP) DROP TABLE IF EXISTS tmp_assigned_cp_ids; CREATE TABLE tmp_assigned_cp_ids AS SELECT hstore_sum(a.speed) AS speed , a.uuid FROM ( SELECT i.target_uuid AS uuid, hstore(ARRAY[c.uuid:: TEXT], ARRAY[c.ucid:: TEXT]) AS speed FROM ent_customerproduct c, rel_contains i WHERE c.uuid=i.source_uuid ) a GROUP BY a.uuid; CREATE INDEX IF NOT EXISTS pp_uuid_idx4 ON tmp_assigned_cp_ids(uuid); UPDATE tmp_ent_productpage p SET assigned_cp_ids = COALESCE(assigned_cp_ids, '') || s.speed FROM tmp_assigned_cp_ids s WHERE s.uuid = p.uuid; DROP TABLE IF EXISTS tmp_assigned_cp_ids; -- new RelationType(EDGE_LABEL_CONTAINS, CP, PP) DROP TABLE IF EXISTS tmp_assigning_customer_ids; CREATE TABLE tmp_assigning_customer_ids AS SELECT hstore_sum(a.speed) AS speed , a.uuid FROM ( SELECT i.target_uuid AS uuid, hstore(ARRAY[c.ucid:: TEXT], ARRAY[c.uuid:: TEXT]) AS speed FROM ent_customerproduct c, rel_contains i WHERE c.uuid=i.source_uuid ) a GROUP BY a.uuid; CREATE INDEX IF NOT EXISTS pp_uuid_idx5 ON tmp_assigning_customer_ids(uuid); UPDATE tmp_ent_productpage p SET assigning_customer_ids = COALESCE(assigning_customer_ids, '') || s.speed FROM tmp_assigning_customer_ids s WHERE s.uuid = p.uuid; DROP TABLE IF EXISTS tmp_assigning_customer_ids; -
#+BEGIN_QUOTE Save translations
pg_dump -a translationservice > translations2.sql
pv -e translations.sql | psql translationservice
#+END_QUOTE
-
having(rollup(search(documents_241_8, q="guid:(50b75ee8-3461-30a0-a8d0-035d98c0f3fb 49dcbc10-9638-348f-88fb-d2cb29d1f3d7)", fl="guid, tags", sort="guid asc"),over="guid",count(tags)), gt(count(tags), 1)) facet(documents_241_8, q="guid:(50b75ee8-3461-30a0-a8d0-035d98c0f3fb 49dcbc10-9638-348f-88fb-d2cb29d1f3d7)", buckets="guid, tags") facet(documents_241_8, q="guid:(50b75ee8-3461-30a0-a8d0-035d98c0f3fb 49dcbc10-9638-348f-88fb-d2cb29d1f3d7)", buckets="guid, tags") search(documents_241_8, q="guid:50b75ee8-3461-30a0-a8d0-035d98c0f3fb", fl="guid, superiors", sort="guid asc"),count(superiors)) facet(documents_240_8, q="guid:(ee85a4ab-6c7a-3923-a479-63582f04a021 77a9b3de-7eb9-3ac4-943b-8715bb995c8b)", buckets="tags", rows=20) rollup(search(documents_240_8, q="guid:(ee85a4ab-6c7a-3923-a479-63582f04a021 77a9b3de-7eb9-3ac4-943b-8715bb995c8b)", fl="guid, tags", sort="guid asc"),over="guid",count(tags)) having(facet(documents_240_8, q="guid:(ee85a4ab-6c7a-3923-a479-63582f04a021 77a9b3de-7eb9-3ac4-943b-8715bb995c8b)", buckets="guid, ppage#syndicate_s_mode_both"), gt(count(*), 1)) having(rollup(facet(documents_240_8, q="guid:(ee85a4ab-6c7a-3923-a479-63582f04a021 77a9b3de-7eb9-3ac4-943b-8715bb995c8b)", buckets="guid,ppage#syndicate_s_mode_both", rows=50), over="guid", count(*)), gt(count(*), 1)) reduce(select(having(rollup(facet(documents_240_8, q="ppage#syndicate_s_mode_both:*", buckets="guid,ppage#syndicate_s_mode_both", rows=50, bucketSorts="ppage#syndicate_s_mode_both desc"), over="guid", count(*)), gt(count(*), 0)),guid, count(*) as numpp), by="numpp", group(sort="numpp desc", n="100")) select(having(rollup(facet(documents_241_8, q="ppage#syndicate_s_mode_both:* AND pubDate:[2023-01-01T00:00:00Z TO 2023-04-01T00:00:00Z}", buckets="guid,ppage#syndicate_s_mode_both", rows=-1), over="guid", count(*)), gt(count(*), 1)),guid, count(*) as numpp) select(having(rollup(facet(documents_241_8, q="cproduct_s_mode_both:* AND pubDate:[2023-02-01T00:00:00Z TO 2023-02-15T00:00:00Z}", buckets="guid,cproduct_s_mode_both", rows=-1), over="guid", count(*)), gt(count(*), 1)),guid, count(*) as numcp) select(having(rollup(having(facet(documents_243_8, q="cproduct_s_mode_both:243#8#* AND pubDate:[2023-01-01T00:00:00Z TO 2023-02-01T00:00:00Z}", buckets="guid,cproduct_s_dv", rows=-1), and(gt(cproduct_s_dv, "243#8#0"), lt(cproduct_s_dv, "243#8#ffffffff-ffff-ffff-ffff-ffffffffffff"))), over="guid", count(*)), gt(count(*), 1)),guid, count(*) as numcp) having(select(facet(documents_240_8,q="guid:(ee85a4ab-6c7a-3923-a479-63582f04a021 77a9b3de-7eb9-3ac4-943b-8715bb995c8b)", buckets="guid,cproduct_s_mode_both", rows=-1), guid, cproduct_s_mode_both), and(gt(cproduct_s_mode_both, "240#12#0"), lt(cproduct_s_mode_both, "240#12#ffffffff-ffff-ffff-ffff-ffffffffffff"))) update(documents_241_8_reviews,batchSize=500,search(documents_241_8, q="cproduct_s_mode_both:241#8#* AND pubDate:[2023-01-01T00:00:00Z TO 2023-02-01T00:00:00Z}",fl="guid,url,docType,pubDate,indexedDate,language,country,is_comment,is_share,sourceGuid,sourceType,authorGuid,authorType,cproduct_s_mode_both", sort="guid asc", rows=1000)) update(documents_241_8_reviews,batchSize=500, select(search(documents_241_8, q="cproduct_s_mode_both:241#8#* AND guid:000008ff-7085-3843-8f83-89e88820baf8",fl="guid,docType,language,country,sourceGuid,sourceType,authorGuid,authorType,cproduct_s_dv", qt="/export", sort="guid asc"), guid,"" as url,docType, "" as pubDate, "" as indexedDate,language,country,"false" as is_comment, "false" as is_share", sourceGuid,sourceType,authorGuid,authorType,cproduct_s_dv as cproduct_s_mode_both )) update(documents_241_8_reviews, batchSize=500, search(collection1, q=*:*, qt="/export", fl="id,a_s,a_i,a_f,s_multi,i_multi", sort="a_f asc, a_i asc")) select(having(rollup(having(facet(documents_241_8, q="cproduct_s_mode_both:241#8#* AND pubDate:[2023-01-01T00:00:00Z TO 2023-02-01T00:00:00Z}", buckets="guid,cproduct_s_dv", rows=-1), and(gt(cproduct_s_dv, "241#8#0"), lt(cproduct_s_dv, "241#8#ffffffff-ffff-ffff-ffff-ffffffffffff"))), over="guid", count(*)), gt(count(*), 1)),guid, count(*) as numcp)