-
Hi,
i'm facing this problem while trying to create one index.
This table has 5 million records and record size is 52 bytes.
the query and output are here
any suggestion will be highly appreciated.
thanx
SQL> CREATE UNIQUE INDEX PK_TIMESHEETENTRY ON TIMESHEETENTRY (EMPLOYEENO , ENTRYDATE , PROJECTID ,
TASKID , CHARGETYPECODE ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 1048576 NEXT 1048576 M
INEXTENTS 1 MAXEXTENTS 200 PCTINCREASE 5 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESP
ACE IPMS_INDX LOGGING
2 /
CREATE UNIQUE INDEX PK_TIMESHEETENTRY ON TIMESHEETENTRY (EMPLOYEENO , ENTRYDATE , PROJECTID , TASKI
*
ERROR at line 1:
ORA-01652: unable to extend temp segment by 1420 in tablespace IPMS_INDX
-
IPMS_INDX is not big enough. Add more space.
Jeff Hunter
-
HI
i added another datafile of size 200MB in IPMS_INDX tablespace, but no result.
-
INITIAL 1048576 NEXT 1048576 M
Hello;
please check your next-clause
1048576 M is a lot!
Orca
-
Hi
that's not 1048576 M it is 1048576 MINEXTENTS.
By mistake 1048576 M in one line and INEXTENTS in other line.
thanx
-
ok; sorry!
Then your Tablespace is still too small.
Do not add another Datafile, try to increase the size
the datafiles, so you have the opportunity to
shrink the TS again if you need to.
Orca
-
What is the temporary tablesapce assigned for the user?
Sanjay
-
I've had this before, it was trying to create an extent that is bigger than any avialible extent.
Run this sql and look at the max chunk column and see if its big enough.
col psm format 99990.99 heading 'Physical|Space (Mb)'
col fsm format 99990.99 heading 'Total Free|Space (Mb)'
col pcu format 990 heading 'Pct Used'
col mfs format 99990.99 heading 'Max Free|Chunk (Mb)'
break on report
compute sum of psm fsm on report
select a.tablespace_name, a.physsp/(1024*1024) psm,
nvl(b.freesp,0)/(1024*1024) fsm,
nvl(b.mfreecnk,0)/(1024*1024) mfs,
100-((100*nvl(b.freesp,0))/a.physsp) pcu
from (select tablespace_name, sum(bytes) physsp
from dba_data_files
group by tablespace_name) a,
(select tablespace_name, sum(bytes) freesp, max(bytes) mfreecnk
from dba_free_space
group by tablespace_name) b
where b.tablespace_name (+) = a.tablespace_name
/
Cheers
-
THANX EVERYBODY 4 UR RESPONSE.
I'll follow ur valuable suggestions and let u know.
once again thanx a lot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|