Updating MariaDb Translate scripts
This commit is contained in:
46
Translate/Database/optimize.sql
Executable file
46
Translate/Database/optimize.sql
Executable file
@@ -0,0 +1,46 @@
|
||||
PURGE BINARY LOGS BEFORE NOW();
|
||||
|
||||
USE market_data;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE analystpricetarget;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE analystratings;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE balancesheet;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE incomestatement;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE cashflowstatement;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE dividendhistory;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE etfholdings;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE fundamentals;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE historical;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE insidertransaction;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE options;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE prices;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE secfilings;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE valuations;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE yieldcurve;
|
||||
|
||||
use portfolio_data;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE accounts;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE cash;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE trades;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE watchlist;
|
||||
|
||||
OPTIMIZE NO_WRITE_TO_BINLOG TABLE watchlists;
|
||||
|
||||
Reference in New Issue
Block a user