479 lines
26 KiB
Markdown
479 lines
26 KiB
Markdown
- ```
|
|
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
|
|
- ``` SQL
|
|
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)
|
|
```
|
|
- ```
|
|
GRANT EXECUTE, SELECT, SHOW VIEW, ALTER, ALTER ROUTINE, CREATE, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, DELETE, DROP, EVENT, INDEX, INSERT, REFERENCES, TRIGGER, UPDATE, LOCK TABLES ON `hierarchyservice_broken`.* TO 'admin'@'%' WITH GRANT OPTION;
|
|
Aiquai3b
|
|
HBpqeZ6N5A
|
|
Dara2#121016!
|
|
|
|
```
|
|
- ```
|
|
"kafkaOffset#station/251/annotated#0_ls_mode_both":441209142,
|
|
|
|
group-251-persister gestopped
|
|
|
|
datapool_data
|
|
86400
|
|
{'configset': 'document_vw', 'num_shards': 3, 'replication_factor': 2, 'max_shards_per_node': 2}
|
|
|
|
|
|
|
|
/backup/solr-cloud-002/documents_251_8/backup_increment/documents_251_8
|
|
|
|
|
|
http://solr-cloud-002.k8s-c1.vicosrv.de:8983/solr/admin/collections?action=LISTBACKUP&name=backup_increment&location=/backup/solr-cloud-002/documents_251_8
|
|
|
|
http://solr-cloud-002.k8s-c1.vicosrv.de:8983/solr/admin/collections?action=RESTORE&name=backup_increment&location=/backup/solr-cloud-002/documents_251_8&collection=documents_251_8&backupId=260
|
|
|
|
http://solr-cloud-002.k8s-c1.vicosrv.de:8983/solr/admin/collections?action=COLSTATUS&collection=documents_251_8
|
|
|
|
|
|
|
|
{
|
|
"date": "2023-03-16T08:31:22.737+0000",
|
|
"minLogSize": 439527991,
|
|
"logSize": 441418659,
|
|
"numMessages": 1890668,
|
|
"offset": 441407443,
|
|
"lag": 11216,
|
|
"owner": null
|
|
}
|
|
|
|
|
|
{
|
|
"znode": {
|
|
"path": "/overseer/async_ids/mn-92810c0e-fd6a-43ad-b537-24894ade0100",
|
|
"prop": {
|
|
"version": 0,
|
|
"aversion": 0,
|
|
"children_count": 0,
|
|
"ctime": "Thu Mar 16 07:22:36 UTC 2023 (1678951356795)",
|
|
"cversion": 0,
|
|
"czxid": 94489539729,
|
|
"ephemeralOwner": 0,
|
|
"mtime": "Thu Mar 16 07:22:36 UTC 2023 (1678951356795)",
|
|
"mzxid": 94489539729,
|
|
"pzxid": 94489539729,
|
|
"dataLength": 0
|
|
},
|
|
"data": ""
|
|
},
|
|
"tree": [
|
|
{
|
|
"text": "mn-92810c0e-fd6a-43ad-b537-24894ade0100",
|
|
"a_attr": {
|
|
"href": "admin/zookeeper?detail=true&path=%2Foverseer%2Fasync_ids%2Fmn-92810c0e-fd6a-43ad-b537-24894ade0100"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
kafkaOffset#station/251/annotated#0_ls_mode_both desc
|
|
441066159
|
|
|
|
"numFound":129727185
|
|
|
|
```
|
|
- ```
|
|
mysqldump -u vicoroot -f -p -n -t --skip-triggers --complete-insert -h station-dev-001.vicosrv.de --databases monitoring --tables alert alert_logging alexa api_key_mapping api_rate_limit_bucket_configuration author_review_metadata auto_reports_feeds_data auto_reports_hashtag_data auto_reports_tags_data base_hierarchy_id blacklist_author blacklist_channel blacklist_phrase blacklist_source blacklist_sourcename blacklist_url category configuration customer customer_metadata customer_productkpidata dashboard_channel dashboard_view dashboard_view_node dashboard_view_node_category dashboard_view_node_category_topic dashboard_view_node_channel dashboard_view_node_custom_query dashboard_view_node_customer_product dashboard_view_node_entity dashboard_view_node_product_category dashboard_view_node_query entry_editorial filter_alias filter_keywords filter_list group group_customer group_project indexer_parameters language list_author list_document list_source log_customer log_macro log_node log_product_category log_query log_report macro macro_category market_price_class node_sentiment_model node_sentimentquery oauth_access_token oauth_client_details pricing_customer_booking pricing_customer_price pricing_customer_volume pricing_feature pricing_feed_volume pricing_package pricing_package_feature product_reference_price rate_limit_configuration rights role role_grant_role role_rights scheduled_export_task searchterm_management_log sentiment_model_trials sentiment_models sentimentquery service_entry shared_clipboard source sourceset sourceset_subselection sourceset_types source_category station_annotator_errors statistics_user_action stopwords stored_searches synonym_tagcloud_tokens synonym_tagcloud_variants topic topicmodel topicmodel_node topicmodel_topic topicstopwords user_abo user_alert user_annotations user_filters user_group user_rights user_role user_settings users web_alert_addresses web_alerts web_alerts_stream web_alerts_stream_conds web_alerts_stream_config web_alerts_stream_config_params web_alerts_stream_incident web_archive_customer_configuration web_customer_export_template web_customer_image_upload web_customer_mail_templates web_dashboards web_download_file web_export_templates web_export_templates_customer web_export_templates_reports web_export_templates_text web_export_templates_text_value web_export_templates_texts web_export_templates_widgets web_filter_attribute_type_ids web_filter_authors web_filter_black_lists web_filter_categories web_filter_countries web_filter_crossed_topics web_filter_data_providers web_filter_doc_types web_filter_genders web_filter_languages web_filter_market_price_classes web_filter_named_entities web_filter_nodes web_filter_post_comment_state web_filter_product web_filter_product_category_ids web_filter_product_sub_category_ids web_filter_ratings web_filter_sentiments web_filter_sort_field web_filter_sort_fields web_filter_source_types web_filter_sources web_filter_tags web_filter_topics web_filter_white_lists web_filters web_flags web_flagseries web_health_taskinfo web_kpi_customer_configuration web_label_nodes web_label_perspectives web_labels web_perspectives web_projects web_reply_templates web_reports web_reports_addresses web_reports_formats web_reports_widgets_filters web_shared_perspectives web_social_media_channel_token web_social_media_user_token web_themes web_user_annotation_context web_user_annotation_entry web_user_project web_webdashboard_containers web_webdashboard_links web_webdashboard_webdashboard_links web_webdashboards web_webpage_entry web_widget_color_settings web_widget_settings web_widget_settings_post_columns web_widget_settings_visible_columns web_widget_template_categories web_widget_template_categories_widgets web_widget_views web_widgets webpage_tracking_alerting webpage_tracking_category webpage_tracking_localization webpage_tracking_mailing webpage_tracking_permission webpage_tracking_request webpage_tracking_topic webpage_tracking_webpage webpage_tracking_webpage_content webpage_tracking_webpage_version > station-dev1_va.sql
|
|
|
|
|
|
|
|
cat station-dev1_va.sql | mysql -u monitoring -p -f -h mariadb-001.va.k8s-c1.vicosrv.de monitoring_808
|
|
|
|
|
|
mysqldump -u vicoroot -f -p -n -t --skip-triggers --complete-insert -h station-dev-001.vicosrv.de --databases monitoring --tables author > station-dev1_va_a.sql
|
|
|
|
cat station-dev1_va_a.sql | mysql -u monitoring -p -f -h mariadb-001.va.k8s-c1.vicosrv.de monitoring_808
|
|
|
|
mysqldump -u vicoroot -f -p -n -t --skip-triggers --complete-insert -h station-dev-001.vicosrv.de --databases monitoring --tables thread > station-dev1_va_t.sql
|
|
|
|
cat station-dev1_va_t.sql | mysql -u monitoring -p -f -h mariadb-001.va.k8s-c1.vicosrv.de monitoring_808
|
|
|
|
|
|
```
|
|
- ``` SQL
|
|
alter table author
|
|
drop column is_vine_user,
|
|
drop column is_hall_of_fame,
|
|
drop column is_seller,
|
|
drop column is_manufacturer,
|
|
drop column is_top_reviewer;
|
|
|
|
drop index FK7xjsawap37qpi3uaucvfllhn5 on author;
|
|
|
|
|
|
alter table blacklist_url
|
|
modify url varchar(250) not null;
|
|
|
|
alter table blacklist_url
|
|
add primary key (url);
|
|
|
|
|
|
alter table customer
|
|
add max_inactivity_days int default 0 not null after password_expiration_period;
|
|
|
|
|
|
|
|
alter table dashboard_view_node
|
|
drop column topic_feed;
|
|
|
|
alter table dashboard_view_node
|
|
drop column customer_id;
|
|
|
|
|
|
|
|
alter table dashboard_view_node_customer_product
|
|
drop key node_id_uuid;
|
|
|
|
alter table dashboard_view_node_customer_product
|
|
add constraint uniquekey1
|
|
unique (node_id, uuid);
|
|
|
|
|
|
|
|
alter table dashboard_view_node_query
|
|
drop column searchtermservice_updated;
|
|
|
|
|
|
|
|
alter table log_customer
|
|
add id int AUTO_INCREMENT PRIMARY KEY first;
|
|
alter table log_node
|
|
add id int AUTO_INCREMENT PRIMARY KEY first;
|
|
alter table log_product_category
|
|
add id int AUTO_INCREMENT PRIMARY KEY first;
|
|
alter table log_query
|
|
add id int AUTO_INCREMENT PRIMARY KEY first;
|
|
|
|
|
|
alter table log_macro
|
|
add id int AUTO_INCREMENT PRIMARY KEY first;
|
|
alter table market_price_class
|
|
drop column created_at;
|
|
alter table web_alerts_stream
|
|
drop column customer_id;
|
|
alter table web_dashboards
|
|
drop column customer_id;
|
|
alter table web_filters
|
|
drop column customer_id,
|
|
drop column ratingFrom,
|
|
drop column ratingTo,
|
|
drop column indexEnd,
|
|
drop column indexStart,
|
|
drop column rating_from,
|
|
drop column rating_to,
|
|
drop column max_indexed_date;
|
|
|
|
|
|
alter table web_kpi_customer_configuration
|
|
drop column shop_ids;
|
|
|
|
alter table web_perspectives
|
|
drop column show_as_new_in_webdashboard;
|
|
|
|
alter table web_user_annotation_context
|
|
drop column feedName,
|
|
drop column feedPath;
|
|
|
|
|
|
alter table web_widget_settings
|
|
drop column `loop`;
|
|
|
|
```
|
|
- ``` SQL
|
|
|
|
|
|
``` |