ORA-01652:unable to extend temp segment by 128 in tablespace TEMP | Community
Skip to main content
Level 2
June 2, 2021
Solved

ORA-01652:unable to extend temp segment by 128 in tablespace TEMP

  • June 2, 2021
  • 2 replies
  • 24446 views

Hello everyone,
I hope you can help me solve this issue.
We launched a workflow with a query-->enrichment box-->change dimension box...
The workflow stops just when it reaches the change dimension box because of the following error: ORA-01652:unable to extend temp segment by 128 in tablespace TEMP.

We already extended the temp tablespace in the database, but it didn't resolve the problem.
Do you have an idea please? because we had the same error with the same workflow in the query box too before. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by venkatesanj1458

Hi @ofattah 

This could be because the resulting data set fetched by the query is exceeding the temp tablespace in oracle DB. Please have a DBA involved and extend the temp tablespace in the database.

 

2 replies

venkatesanj1458
venkatesanj1458Accepted solution
Level 2
June 2, 2021

Hi @ofattah 

This could be because the resulting data set fetched by the query is exceeding the temp tablespace in oracle DB. Please have a DBA involved and extend the temp tablespace in the database.

 

OfattahAuthor
Level 2
June 2, 2021

Hi @venkatesanj1458 

Thank you for your response.

We already extended the temp tablespace in the database but it didn't solve the problem.

Thanks

LaurentLam
Level 5
June 2, 2021

Hi @ofattah 
Does the neolane DB user has the right to extend the temp segment:

I'm not DBA at all but it seems that, due to the request, the user is trying to do it by itself, and that's the result

if not possible, I would then try to

1- try to reproduce the issue with the less sample data as possible in order to know if this is a structural issue in the generated SQL queries or not

2- if this is a structural issue then simplify the enrichment and trying to reproduce the problem by adding more and more links/fields in order to understand which field or link create the issue

LaurentLam
Level 5
June 4, 2021

Hi @ofattah, when you say that you use the workflow with another account and it works just fine. Do you mean that this is another AC user that running it? if yes, be sure to check the difference between your rights. As example, a SQL query gets more complicated if not administrator because it adds lot of security checkings in the SQL request generated to the DB. As a personnal opinion, I would try to put a split activity in order to split in 10 different branch the rest of your workflow: you'll be able to see that:

1- if the problem disappear => that means that this is an issue with the total amount of data and its complexity that is involved

2- if the issue pops on one branch but not the other before, you can nail the issue to a particular data in that segmentation: you can just then select the same population of this branch and segment it again in 10 part. with this method, you'll find at the end which record(s) is/are causing the issue

 

I've not any better suggestion: I know that this is time consuming