[Oracle] Description of the Cache clause when creating or modifying a table

Source: Internet
Author: User
If a Cache clause is specified when a table is created or modified, the table will be added to the database Cache for a long time when the data in the table is accessed for the first time,

If a Cache clause is specified when a table is created or modified, the table will be added to the database Cache for a long time when the data in the table is accessed for the first time,

If a Cache clause is specified when a table is created or modified, the table will be added to the database Cache for a long time when the data in the table is accessed for the first time, in this way, the user can access the table again, and can directly access the data in the database cache, thus improving the access speed.
Therefore, we recommend that you add cache clauses to tables that are small and frequently accessed by users to improve access efficiency. Common examples include user tables, permission tables, role tables, and department tables.

Statement example for modifying a table:

Alter table TB_SYS_USER cache;
Alter table TB_SYS_USER_dept cache;
Alter table TB_SYS_USER_role cache;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.