跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] oracle 12c 如何清空 undo, redo 等日志和压缩表空间

发表于

如题

起因

本机安装有 oracle 12c 用于测试。 每次新建表空间,新建表并添加大量模拟数据(大约 2kw ),有些表数据需保留,有些表数据需清空。但是新建模拟数据后,表空间会急剧增大(大概新增 10+g ),试过 alter table_space resize 无效(除了删除原表空间)。

需求

有没有办法缩小 oracle12c 因为这些操作导致的空间增大呢,网上搜了下涉及的内容可能有表空间、日志等。 希望能删除因为新增大量数据导致的数据库占用变大问题。


感谢

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.