Auto saved by Logseq

This commit is contained in:
Matthias Eckert 2024-04-16 13:31:53 +02:00
parent 8c914294ed
commit 7de07a33f5

View File

@ -298,4 +298,182 @@
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
```