DB2 给数据库中所有表 reorg

DB2 给数据库中所有表 reorg

db2 -x "select 'reorg table '||tablename||';'from syscat.tables where tabschema='USER'" > reorgAllTables.sql
db2 -tf reorgAllTables.sql
posted @ 2023-05-18 16:33  ~博客~  阅读(119)  评论(0)    收藏  举报