In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
In oracle11g, when each table is initially created, no extents are assigned to this object by default.
When data is inserted for the first time, the corresponding section is assigned.
The corresponding control parameter is deferred_segment_creation=true
If you want to keep properties consistent with earlier versions, you can set this parameter value to flase
Alter system set deferred_segment_creation=false scope=both
In subsequent new tables, extents are assigned by default.
If the parameter value is set to true, even if a specific storage parameter is specified when the table is created to obtain the initial section size, the corresponding section is not allocated.
Eg:
Create table A_ALLOCAT_EXTENT
(
Userno NUMBER
Username VARCHAR2 (20 CHAR)
)
Tablespace USERS
Pctfree 10
Initrans 1
Maxtrans 255
Storage
(
Initial 64K
Next 1M
Minextents 1
Maxextents unlimited
);
SQL > select * from user_extents t where t.segment_name = 'Aging ALCATROCATALCATIC extension'
No rows selected
After setting the parameter value to false, you need to add sections to the table that does not have an assigned section.
Get the name of the table without partition:
Select table_name from user_tables
Minus
Select segment_name from user_segments
Then execute the partition statement to allocate:
Alter table A_ALLOCAT_EXTENT allocate extent (size 8K);-- size is defined by itself.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.