Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chriselswede/hanacleaner
/ functions
Functions
73 in github.com/chriselswede/hanacleaner
⨍
Functions
73
◇
Types & classes
4
↓ 196 callers
Function
log
(message, logmanager, send_email = False)
hanacleaner.py:430
↓ 102 callers
Function
run_command
(cmd, check = True)
hanacleaner.py:402
↓ 91 callers
Function
getParameterFromCommandLine
(sysargv, flag_string, flag_log, parameter)
hanacleaner.py:609
↓ 91 callers
Function
getParameterFromFile
(flag, flag_string, flag_value, flag_file, flag_log, parameter)
hanacleaner.py:597
↓ 48 callers
Function
is_integer
(s)
hanacleaner.py:423
↓ 32 callers
Function
checkAndConvertBooleanFlag
(boolean, flagstring, logman = '')
hanacleaner.py:1560
↓ 32 callers
Function
try_execute_sql
(sql, errorlog, sqlman, logman, exit_on_fail = True, always_execute = False)
hanacleaner.py:452
↓ 11 callers
Function
getParameterListFromCommandLine
(sysargv, flag_string, flag_log, parameter)
hanacleaner.py:616
↓ 10 callers
Function
getParameterListFromFile
(flag, flag_string, flag_value, flag_file, flag_log, parameter)
hanacleaner.py:603
↓ 4 callers
Function
cdalias
(alias, local_dbinstance)
hanacleaner.py:1056
↓ 3 callers
Function
clear_traces
(trace_list, oldestRetainedTraceContentDate, backupTraceContent, sqlman, logman)
hanacleaner.py:738
↓ 3 callers
Function
lob_reorg
(sql_select_lobs, criteria_description, lobPrint, print_header, sqlman, logman)
hanacleaner.py:1222
↓ 2 callers
Function
checkIfAcceptedFlag
(word)
hanacleaner.py:592
↓ 2 callers
Function
clean_output
(minRetainedOutputDays, sqlman, logman)
hanacleaner.py:1526
↓ 2 callers
Function
file_len
(filename)
hanacleaner.py:913
↓ 2 callers
Function
get_key_info
(dbuserkey, local_host, logman)
hanacleaner.py:492
↓ 2 callers
Function
get_sid
()
hanacleaner.py:419
↓ 2 callers
Function
is_email
(s)
hanacleaner.py:471
↓ 2 callers
Method
printVTCheck
(self)
hanacleaner.py:386
↓ 2 callers
Function
print_removed_entries
(before, after, logman)
hanacleaner.py:672
↓ 2 callers
Function
print_table
(header_list, values_lists)
hanacleaner.py:686
↓ 2 callers
Function
sendEmail
(message, logmanager)
hanacleaner.py:442
↓ 1 callers
Function
backup_id
(minRetainedBackups, minRetainedDays, sqlman)
hanacleaner.py:622
↓ 1 callers
Function
clean_alerts
(minRetainedAlertDays, outputAlerts, outputDeletedAlerts, sqlman, logman)
hanacleaner.py:934
↓ 1 callers
Function
clean_anyfile
(retainedAnyFileDays, anyFilePaths, anyFileWords, anyFileMaxDepth, sqlman, logman)
hanacleaner.py:1536
↓ 1 callers
Function
clean_audit_logs
(retainedAuditLogDays, sqlman, logman)
hanacleaner.py:1136
↓ 1 callers
Function
clean_backup_catalog
(minRetainedBackups, minRetainedDays, deleteBackups, outputCatalog, outputDeletedCatalog, outputNDeletedLBEntr
hanacleaner.py:701
↓ 1 callers
Function
clean_dumps
(retainedDumpDays, local_dbinstance, sqlman, logman)
hanacleaner.py:837
↓ 1 callers
Function
clean_events
(minRetainedDaysForHandledEvents, minRetainedDaysForEvents, sqlman, logman)
hanacleaner.py:1094
↓ 1 callers
Function
clean_hdbcons
(retainedHDBCONSDays, local_dbinstance, DATABASE, sqlman, logman)
hanacleaner.py:853
↓ 1 callers
Function
clean_ini
(minRetainedIniDays, version, revision, mrevision, sqlman, logman)
hanacleaner.py:961
↓ 1 callers
Function
clean_objhist
(objHistMaxSize, outputObjHist, sqlman, logman)
hanacleaner.py:1001
↓ 1 callers
Function
clean_objlock
(minRetainedObjLockDays, sqlman, logman)
hanacleaner.py:986
↓ 1 callers
Function
clean_pending_emails
(pendingEmailsDays, sqlman, logman)
hanacleaner.py:1149
↓ 1 callers
Function
clean_trace_files
(retainedTraceContentDays, retainedBacklogDays, retainedExpensiveTraceContentDays, backupTraceContent, backupT
hanacleaner.py:747
↓ 1 callers
Function
create_vt_statistics
(vtSchemas, maxColumnsOfVT, defaultVTStatType, maxRowsForDefaultVT, largeVTStatType, otherDBVTStatType, ignore
hanacleaner.py:1378
↓ 1 callers
Function
dates_from_hdbcons_line
(line)
hanacleaner.py:895
↓ 1 callers
Function
defragment
(fragmentationLimit, fragmentationDefrag, outputFragmentation, sqlman, logman)
hanacleaner.py:1165
↓ 1 callers
Function
force_compression
(maxRawComp, maxEstComp, maxRowComp, maxMemComp, minDistComp, maxQuotaComp, maxUDIVComp, maxBLOCKComp, partCom
hanacleaner.py:1272
↓ 1 callers
Function
getAdapterName
(schema, table, sqlman)
hanacleaner.py:1050
↓ 1 callers
Function
getNbrRows
(schema, table, sqlman)
hanacleaner.py:1047
↓ 1 callers
Function
getTableType
(schema, table, sqlman)
hanacleaner.py:1053
↓ 1 callers
Function
get_all_databases
(execute_sql, hdbsql_string, dbuserkey, local_host, out_sql, logman)
hanacleaner.py:576
↓ 1 callers
Function
hana_version_revision_maintenancerevision
(sqlman, logman)
hanacleaner.py:477
↓ 1 callers
Function
hosts
(sqlman)
hanacleaner.py:487
↓ 1 callers
Function
is_date
(str)
hanacleaner.py:903
↓ 1 callers
Function
is_master
(local_dbinstance, local_host, logman)
hanacleaner.py:530
↓ 1 callers
Function
is_online
(cockpit, dbinstance, logman)
hanacleaner.py:547
↓ 1 callers
Function
is_secondary
(logman)
hanacleaner.py:566
↓ 1 callers
Function
lob_reorg_frag
(lobFragMax, lobFragPacked, lobPrint, lobSchemasSQL, sqlman, logman)
hanacleaner.py:1201
↓ 1 callers
Function
lob_reorg_num
(lobFragNum, lobPrint, lobSchemasSQL, sqlman, logman)
hanacleaner.py:1216
↓ 1 callers
Function
lob_reorg_small
(lobFragSmall, lobPrint, lobSchemasSQL, sqlman, logman)
hanacleaner.py:1210
↓ 1 callers
Function
main
()
hanacleaner.py:1571
↓ 1 callers
Function
max_filesystem_usage_in_percent
(file_system, ignore_filesystems, logman)
hanacleaner.py:1017
↓ 1 callers
Function
online_and_master_tests
(online_test_interval, local_dbinstance, local_host, cockpit, logman)
hanacleaner.py:521
↓ 1 callers
Function
output_removed_trace_files
(before, after, logman)
hanacleaner.py:919
↓ 1 callers
Function
printDisclaimer
()
hanacleaner.py:308
↓ 1 callers
Function
printHelp
()
hanacleaner.py:9
↓ 1 callers
Function
reclaim_logsegments
(maxFreeLogsegments, sqlman, logman)
hanacleaner.py:1074
↓ 1 callers
Function
reclaim_rs_containers
(outputRcContainers, sqlman, logman)
hanacleaner.py:1250
↓ 1 callers
Function
refresh_data_statistics
(refreshAgeDS, sqlman, logman)
hanacleaner.py:1429
↓ 1 callers
Function
refresh_ip_block
(refreshIPBlockTable, refreshIPBlockSchema, refreshIPBlockNbr, sqlman, logman)
hanacleaner.py:1489
↓ 1 callers
Function
refresh_statistics
(vtSchemas, refreshAge, ignore2ndMon, sqlman, logman)
hanacleaner.py:1409
↓ 1 callers
Function
refresh_virtual_tables
(refreshVTs, refreshVTsSchema, refreshVTsTable, printVTChecks, sqlman, logman)
hanacleaner.py:1447
↓ 1 callers
Function
sql_for_backup_id_for_min_retained_backups
(minRetainedBackups)
hanacleaner.py:518
↓ 1 callers
Function
sql_for_backup_id_for_min_retained_days
(minRetainedDays)
hanacleaner.py:513
↓ 1 callers
Function
sqls_for_backup_catalog_cleanup
(minRetainedBackups, minRetainedDays, deleteBackups, sqlman)
hanacleaner.py:651
Method
__init__
(self, execute_sql, hdbsql_string, dbuserkey, DATABASE, log_sql)
hanacleaner.py:334
Method
__init__
(self, log_path, out_prefix, print_to_std, emailSender)
hanacleaner.py:351
Method
__init__
(self, receiverEmails, emailClient, senderEmail, mailServer, SID)
hanacleaner.py:360
Method
__init__
(self, schema, virtualtable, column, action, explanation, severity)
hanacleaner.py:379
Method
printEmailSender
(self)
hanacleaner.py:366
Function
timeout_handler
(signum, frame)
hanacleaner.py:2380