Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01652: unable to extend temp segment by 640 in tablespace ORATEMP

Ramesh_85May 15 2020 — edited May 15 2020

Dear All,

I am facing the below issue while running on batch process and it got aborted.

ORA-01652: unable to extend temp segment by 640 in tablespace ORATEMP

When I refer some articles, they suggested to increase PGA memory, if it is undersized the sorting / aggregation or moved to swap memory TEMP.

Still I am not clear on this issue, can some explain what is exactly happen in DB, how to overcome this issue.

Please find the current DB parameters below. Let me know your suggestions.

    

NAMEVALUEDISPLAY_VALUEDESCRIPTION
processes300300user processes
sessions480480user and system sessions
timed_statisticsTRUETRUEmaintain internal timing statistics
timed_os_statistics00internal os statistic gathering interval in seconds
resource_limitTRUETRUEmaster switch for resource limit
license_max_sessions200200maximum number of non-system user sessions allowed
license_sessions_warning00warning level for number of non-system user sessions
cpu_count1212number of CPUs for this instance
event10336 trace name context forever10336 trace name context foreverdebug event control - default null string
sga_max_size15770583041504Mmax total SGA size
use_large_pagesTRUETRUEUse large pages if available (TRUE/FALSE/ONLY)
pre_page_sgaTRUETRUEpre-page sga for process
shared_memory_address00SGA starting address (low order 32-bits on 64-bit platforms)
hi_shared_memory_address00SGA starting address (high order 32-bits on 64-bit platforms)
use_indirect_data_buffersFALSEFALSEEnable indirect data buffers (very large SGA on 32-bit platforms)
lock_sgaFALSEFALSELock entire SGA in physical memory
shared_pool_size00size in bytes of shared pool
large_pool_size268435456256Msize in bytes of large pool
java_pool_size00size in bytes of java pool
streams_pool_size6710886464Msize in bytes of the streams pool
shared_pool_reserved_size4026531840265318size in bytes of reserved area of shared pool
_shared_pool_reserved_pct1010percentage memory of the shared pool allocated for the reserved area
java_soft_sessionspace_limit00warning limit on size in bytes of a Java sessionspace
java_max_sessionspace_size00max allowed size in bytes of a Java sessionspace
pga_aggregate_limit21474836482Glimit of aggregate PGA memory consumed by the instance
spfile/global/tdcolmy/bkup/tdcolmy/dba/spfiletdcolmy.ora/global/tdcolmy/bkup/tdcolmy/dba/spfiletdcolmy.oraserver parameter file
instance_typeRDBMSRDBMStype of instance to be executed
nls_languageENGLISHENGLISHNLS language name
nls_territoryAUSTRALIAAUSTRALIANLS territory name
nls_date_languageENGLISHENGLISHNLS date language name
nls_compBINARYBINARYNLS comparison
nls_length_semanticsBYTEBYTEcreate columns using byte or char semantics by default
nls_nchar_conv_excpFALSEFALSENLS raise an exception instead of allowing implicit conversion
filesystemio_optionssetallsetallIO operations on filesystem files
dnfs_batch_size40964096Max number of dNFS asynch I/O requests queued per session
clonedbFALSEFALSEclone database
instant_restoreFALSEFALSEinstant repopulation of datafiles
disk_asynch_ioTRUETRUEUse asynch I/O for random access devices
tape_asynch_ioTRUETRUEUse asynch I/O requests for tape devices
dbwr_io_slaves00DBWR I/O slaves
backup_tape_io_slavesFALSEFALSEBACKUP Tape I/O slaves
resource_manager_cpu_allocation1212Resource Manager CPU allocation
encrypt_new_tablespacesCLOUD_ONLYCLOUD_ONLYwhether to encrypt newly created tablespaces
allow_group_access_to_sgaFALSEFALSEAllow read access for SGA to users of Oracle owner group
optimizer_adaptive_plansTRUETRUEcontrols all types of adaptive plans
optimizer_adaptive_statisticsFALSEFALSEcontrols all types of adaptive statistics
file_mappingFALSEFALSEenable file mapping
threaded_executionFALSEFALSEThreaded Execution Mode
gcs_server_processes00number of background gcs server processes to start
sga_target15770583041504MTarget size of SGA
memory_target00Target size of Oracle SGA and PGA memory
memory_max_target00Max size for Memory Target
control_files/global/tdcolmy/bkup/tdcolmy/dba/tdcolmy_ctl1.con, /global/tdcolmy/db/tdcolmy/dbs/tdcolmy_ctl2.con, /global/tdcolmy/bkup/tdcolmy/ora_redo/tdcolmy_ctl3.con/global/tdcolmy/bkup/tdcolmy/dba/tdcolmy_ctl1.con, /global/tdcolmy/db/tdcolmy/dbs/tdcolmy_ctl2.con, /global/tdcolmy/bkup/tdcolmy/ora_redo/tdcolmy_ctl3.concontrol file names list
control_file_record_keep_time3737control file record keep time in days
db_block_buffers00Number of database blocks cached in memory
db_block_checksumTYPICALTYPICALstore checksum in db blocks and check during reads
db_ultra_safeOFFOFFSets defaults for other parameters that control protection levels
db_block_size81928192Size of database block in bytes
db_cache_size00Size of DEFAULT buffer pool for standard block size buffers
db_2k_cache_size00Size of cache for 2K buffers
db_4k_cache_size00Size of cache for 4K buffers
db_8k_cache_size00Size of cache for 8K buffers
db_16k_cache_size00Size of cache for 16K buffers
db_32k_cache_size00Size of cache for 32K buffers
db_keep_cache_size00Size of KEEP buffer pool for standard block size buffers
db_recycle_cache_size00Size of RECYCLE buffer pool for standard block size buffers
db_big_table_cache_percent_target00Big table cache target size in percentage
db_writer_processes11number of background database writer  processes to start
db_flash_cache_size00flash cache size for db_flash_cache_file
db_cache_adviceONONBuffer cache sizing advisory
compatible12.1.012.1.0Database will be completely compatible with this software version
log_archive_startFALSEFALSEstart archival process on SGA initialization
log_archive_min_succeed_dest11minimum number of archive destinations that must succeed
standby_archive_dest?/dbs/arch?/dbs/archstandby database archivelog destination text string
log_archive_trace00Establish archivelog operation tracing level
log_archive_format_%r_%t_%S.arc_%r_%t_%S.arcarchival destination format
log_archive_max_processes44maximum number of active ARCH processes
log_buffer1332838413016Kredo circular buffer size
log_checkpoint_interval00# redo blocks checkpoint threshold
log_checkpoint_timeout18001800Maximum time interval between checkpoints in seconds
archive_lag_target00Maximum number of seconds of redos the standby could lose
db_files500500max allowable # db files
db_file_multiblock_read_count128128db block to be read each IO
read_only_open_delayedFALSEFALSEif TRUE delay opening of read only files until first access
cluster_databaseFALSEFALSEif TRUE startup in cluster database mode
parallel_serverFALSEFALSEif TRUE startup in parallel server mode
parallel_server_instances11number of instances to use for sizing OPS SGA structures
cluster_database_instances11number of instances to use for sizing cluster db SGA structures
db_recovery_file_dest_size00database recovery files size limit
standby_file_managementMANUALMANUALif auto then files are created/dropped automatically on standby
db_unrecoverable_scn_trackingTRUETRUETrack nologging SCN in controlfile
thread00Redo thread to mount
fast_start_io_target00Upper bound on recovery reads
fast_start_mttr_target00MTTR target in seconds
log_checkpoints_to_alertFALSEFALSElog checkpoint begin/end to alert file
db_lost_write_protectNONENONEenable lost write detection
recovery_parallelism00number of server processes to use for parallel recovery
enable_goldengate_replicationFALSEFALSEgoldengate replication enabled
db_flashback_retention_target14401440Maximum Flashback Database log retention time in minutes.
dml_locks800800dml locks - one for each table modified in a transaction
replication_dependency_trackingTRUETRUEtracking dependency for Replication parallel propagation
transactions528528max. number of concurrent active transactions
transactions_per_rollback_segment55number of active transactions per rollback segment
undo_managementAUTOAUTOinstance runs in SMU mode if TRUE, else in RBU mode
undo_tablespaceORAUNDOORAUNDOuse/switch undo tablespace
temp_undo_enabledFALSEFALSEis temporary undo enabled
undo_retention00undo retention in seconds
fast_start_parallel_rollbackLOWLOWmax number of parallel recovery slaves that may be used
resumable_timeout00set resumable_timeout
instance_number00instance number
heat_mapOFFOFFILM Heatmap Tracking
inmemory_size00size in bytes of in-memory area
db_block_checkingFALSEFALSEheader checking and data and index block checking
recyclebinONONrecyclebin processing
db_index_compression_inheritanceNONENONEoptions for table or tablespace level compression inheritance
db_securefilePREFERREDPREFERREDpermit securefile storage during lob creation
inmemory_forceDEFAULTDEFAULTForce tables to be in-memory or not
inmemory_queryENABLEENABLESpecifies whether in-memory queries are allowed
inmemory_max_populate_servers00maximum inmemory populate servers
inmemory_trickle_repopulate_servers_percent11inmemory trickle repopulate servers percent
serial_reusedisabledisablereuse the frame segments
ldap_directory_accessNONENONERDBMS's LDAP access option
ldap_directory_sysauthnonoOID usage parameter
os_rolesFALSEFALSEretrieve roles from the operating system
max_enabled_roles150150max number of roles a user can have enabled
remote_os_authentFALSEFALSEallow non-secure remote clients to use auto-logon accounts
remote_os_rolesFALSEFALSEallow non-secure remote clients to use os roles
sec_case_sensitive_logonTRUETRUEcase sensitive password enabled for logon
O7_DICTIONARY_ACCESSIBILITYFALSEFALSEVersion 7 Dictionary Accessibility Support
remote_login_passwordfileEXCLUSIVEEXCLUSIVEpassword file usage parameter
license_max_users00maximum number of named users that can be created in the database
audit_sys_operationsTRUETRUEenable sys auditing
DBFIPS_140FALSEFALSEEnable use of crypographic libraries in FIPS mode, public
unified_audit_sga_queue_size10485761048576Size of Unified audit SGA Queue
db_domainBMWBMWdirectory part of global database name stored with CREATE DATABASE
global_namesFALSEFALSEenforce that database links have same name as remote database
distributed_lock_timeout6060number of seconds a distributed transaction waits for a lock
commit_point_strength11Bias this node has toward not preparing in a two-phase commit
global_txn_processes11number of background global transaction processes to start
shared_servers00number of shared servers to start up
local_listener(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=localhost)(Port=1546)))(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=localhost)(Port=1546)))local listener
use_dedicated_brokerFALSEFALSEUse dedicated connection broker
connection_brokers((TYPE=DEDICATED)(BROKERS=1)), ((TYPE=EMON)(BROKERS=1))((TYPE=DEDICATED)(BROKERS=1)), ((TYPE=EMON)(BROKERS=1))connection brokers specification
cursor_space_for_timeFALSEFALSEuse more memory in order to get faster execution
session_cached_cursors200200Number of cursors to cache in a session.
remote_dependencies_modeTIMESTAMPTIMESTAMPremote-procedure-call dependencies mode parameter
plsql_v2_compatibilityFALSEFALSEPL/SQL version 2.x compatibility flag
plsql_warningsDISABLE:ALLDISABLE:ALLPL/SQL compiler warnings settings
plsql_code_typeINTERPRETEDINTERPRETEDPL/SQL code-type
plsql_debugFALSEFALSEPL/SQL debug
plsql_optimize_level22PL/SQL optimize level
plscope_settingsidentifiers:allidentifiers:allplscope_settings controls the compile time collection, cross reference, and storage of PL/SQL source code identifier data
permit_92_wrap_formatTRUETRUEallow 9.2 or older wrap format in PL/SQL
java_jit_enabledTRUETRUEJava VM JIT enabled
java_restrictnonenoneRestrict Java VM Access
job_queue_processes1010maximum number of job queue slave processes
parallel_min_percent00minimum percent of threads required for parallel query
create_bitmap_area_size83886088388608size of create bitmap buffer for bitmap index
bitmap_merge_area_size10485761048576maximum memory allow for BITMAP MERGE
cursor_sharingEXACTEXACTcursor sharing mode
result_cache_modeMANUALMANUALresult cache operator usage mode
parallel_min_servers88minimum parallel query servers per instance
parallel_max_servers88maximum parallel query servers per instance
parallel_execution_message_size1638416384message buffer size for parallel execution
hash_area_size131072131072size of in-memory hash work area
result_cache_max_size78970887712Kmaximum amount of memory to be used by the cache
result_cache_max_result55maximum result size as percent of cache size
result_cache_remote_expiration00maximum life time (min) for any result using a remote object
shadow_core_dumppartialpartialCore Size for Shadow Processes
background_core_dumppartialpartialCore Size for Background Processes
background_dump_dest/lfs/oracle/ora12102190716V0/rdbms/log/lfs/oracle/ora12102190716V0/rdbms/logDetached process dump directory
user_dump_dest/lfs/oracle/ora12102190716V0/rdbms/log/lfs/oracle/ora12102190716V0/rdbms/logUser process dump directory
core_dump_dest/global/tdcolmy/bkup/tdcolmy/diag/rdbms/tdcolmy/tdcolmy/cdump/global/tdcolmy/bkup/tdcolmy/diag/rdbms/tdcolmy/tdcolmy/cdumpCore dump directory
audit_file_dest/global/tdcolmy/bkup/tdcolmy/dump/adump/global/tdcolmy/bkup/tdcolmy/dump/adumpDirectory in which auditing files are to reside
audit_syslog_levelLOCAL0.INFOLOCAL0.INFOSyslog facility and level
object_cache_optimal_size102400102400optimal size of the user session's object cache in bytes
object_cache_max_size_percent1010percentage of maximum size over optimal of the user session's object cache
session_max_open_files1010maximum number of open files allowed per session
open_links1010max # open links per session
open_links_per_instance44max # open links per instance
optimizer_features_enable12.1.0.212.1.0.2optimizer plan compatibility parameter
audit_trailOSOSenable system auditing
sort_area_size6553665536size of in-memory sort work area
sort_area_retained_size00size of in-memory sort work area retained between fetch calls
cell_offload_processingTRUETRUEenable SQL processing offload to cells
cell_offload_decryptionTRUETRUEenable SQL processing offload of encrypted data to cells
cell_offload_compactionADAPTIVEADAPTIVECell packet compaction strategy
cell_offload_plan_displayAUTOAUTOCell offload explain plan display
open_cursors
Comments
Post Details
Added on May 15 2020
1 comment
511 views