mdbq 1.4.2__py3-none-any.whl → 1.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mdbq/company/copysh.py
CHANGED
@@ -289,7 +289,7 @@ class UpdateMysql:
|
|
289
289
|
return False, self.d_path
|
290
290
|
|
291
291
|
|
292
|
-
def op_data(days: int =
|
292
|
+
def op_data(days: int =100):
|
293
293
|
|
294
294
|
# 清理数据库, 除了 聚合数据
|
295
295
|
if socket.gethostname() == 'company': # 公司台式机自身运行
|
@@ -322,11 +322,11 @@ def op_data(days: int =3650):
|
|
322
322
|
'属性设置2',
|
323
323
|
# '聚合数据', # 不在这里清理聚合数据, 还未开始聚合呢
|
324
324
|
],
|
325
|
-
days=
|
325
|
+
days=days,
|
326
326
|
)
|
327
327
|
|
328
328
|
# 数据聚合
|
329
|
-
query_data.data_aggregation(service_databases=[{'home_lx': 'mysql'}], months=
|
329
|
+
query_data.data_aggregation(service_databases=[{'home_lx': 'mysql'}], months=3, system_name='home_lx')
|
330
330
|
time.sleep(60)
|
331
331
|
|
332
332
|
# 清理聚合数据
|
@@ -352,7 +352,7 @@ def main():
|
|
352
352
|
w = update_conf.UpdateConf()
|
353
353
|
w.update_config(filename='.copysh_conf', option='ch_record', new_value='False')
|
354
354
|
time.sleep(60)
|
355
|
-
op_data(days=
|
355
|
+
op_data(days=100) # 数据清理和聚合
|
356
356
|
|
357
357
|
t.sleep_minutes = 30 # 同步前休眠时间
|
358
358
|
t.tb_file()
|
@@ -11,7 +11,7 @@ mdbq/bdup/bdup.py,sha256=LAV0TgnQpc-LB-YuJthxb0U42_VkPidzQzAagan46lU,4234
|
|
11
11
|
mdbq/clean/__init__.py,sha256=A1d6x3L27j4NtLgiFV5TANwEkLuaDfPHDQNrPBbNWtU,41
|
12
12
|
mdbq/clean/data_clean.py,sha256=TnG0t6Ted9miMoBdGanpTmj6AUa0YFSyEBvmgN3V7sw,87558
|
13
13
|
mdbq/company/__init__.py,sha256=qz8F_GsP_pMB5PblgJAUAMjasuZbOEp3qQOCB39E8f0,21
|
14
|
-
mdbq/company/copysh.py,sha256=
|
14
|
+
mdbq/company/copysh.py,sha256=XBnSalNHJPCBkswyiDpHhhVPqxRMOGcbAncWytrhCyQ,17039
|
15
15
|
mdbq/config/__init__.py,sha256=jso1oHcy6cJEfa7udS_9uO5X6kZLoPBF8l3wCYmr5dM,18
|
16
16
|
mdbq/config/get_myconf.py,sha256=bp6bVARZVm3ANj1pmM9hLB8Ao539TUWeM9xxeSsBpzw,5994
|
17
17
|
mdbq/config/products.py,sha256=9gqXJMsw8KKuD4Xs6krNgcF7AuWDvV7clI6wVi3QjcA,4260
|
@@ -35,7 +35,7 @@ mdbq/pbix/__init__.py,sha256=Trtfaynu9RjoTyLLYBN2xdRxTvm_zhCniUkVTAYwcjo,24
|
|
35
35
|
mdbq/pbix/pbix_refresh.py,sha256=JUjKW3bNEyoMVfVfo77UhguvS5AWkixvVhDbw4_MHco,2396
|
36
36
|
mdbq/pbix/refresh_all.py,sha256=tgy762608HMaXWynbOURIf2UVMuSPybzrDXQnOOcnZU,6102
|
37
37
|
mdbq/spider/__init__.py,sha256=RBMFXGy_jd1HXZhngB2T2XTvJqki8P_Fr-pBcwijnew,18
|
38
|
-
mdbq-1.4.
|
39
|
-
mdbq-1.4.
|
40
|
-
mdbq-1.4.
|
41
|
-
mdbq-1.4.
|
38
|
+
mdbq-1.4.3.dist-info/METADATA,sha256=O4RKaUpul7RzqaucQbThigiFnKGCDN9K8TVsiZKZvng,245
|
39
|
+
mdbq-1.4.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
40
|
+
mdbq-1.4.3.dist-info/top_level.txt,sha256=2FQ-uLnCSB-OwFiWntzmwosW3X2Xqsg0ewh1axsaylA,5
|
41
|
+
mdbq-1.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|