ORA-00600 [qksvcReplaceVC0] During Automatic SQL Tuning Advisor Execution (Doc ID 1961485.1)

Last updated on JANUARY 11, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

The following error is reported while using automatic SQL Tuning Advisor execution.

ORA-00600: internal error code, arguments: [qksvcReplaceVC0], [], [], [], [], [], [], [], [], [], [], []

 

This can be identified by:

1. The current SQL in the incident trace written by the error containing  ' /* SQL Analyze(20,1) */'

2. The PL/SQL Call Stack in the incident trace being similar to the following:

         object      line  object
         handle    number  name
        0x1c1a97d18     11816  package body SYS.DBMS_SQLTUNE_INTERNAL
        0x1a238e6f8         7  SYS.WRI$_ADV_SQLTUNE
        0x1c18761a0       587  package body SYS.PRVT_ADVISOR
        0x1c18761a0      2655  package body SYS.PRVT_ADVISOR
        0x1c178d970       241  package body SYS.DBMS_ADVISOR
        0x1c17b7690       821  package body SYS.DBMS_SQLTUNE
        0xbdfe8238         4  anonymous block

 The Call Stack in the incident trace file written by the error contains functions similar to the following:

 qksvcDoReplace <- qksvcReplaceIndexEx <- kkoixopr <- kkoiqb <- kkooqb <- kkoOrExpand <- kkoqbc <- apakkoqb
 <- apaqbdDescendents <- apaqbdList <- apaqbd <- apadrv <- opitca <- kksFullTypeCheck <- rpiswu2 <- kksLoadChild <- kxsGetRuntimeLock <- kksfbc
 <- kkspsc0 <- kksParseCursor <- opiosq0 <- kpooprx <- kpoal8 <- opiodr <- kpoodrc <- rpiswu2 <- kpoodr <- upirtrc <- kpurcsc <- kpuexec <- OCIStmtExecute <- qksanExecSql <- qksanAnalyzeSql <- 124 <- qsmmixProcessQuery <- qsmmixSqlTuneAnalyz <- eIdx <- kestsiIndexAnalyzeD <- kestsTuneSqlDrv <- kesaiExecAction <- kesaiTuneSqlDrv <- 244 <- spefcifa <- spefmccallstd <- pextproc <- peftrusted <- psdexsp <- rpiswu2 <- psdextp <- pefccal <- pefcal <- pevm_FCAL <- pfrinstr_FCAL <- pfrrun_no_tool <- pfrrun <- plsql_run <- peicnt <- kkxexe <- opiexe <- kpoal8 <- opiodr <- kpoodr <- upirtrc <- kpurcsc <- kpuexec <- OCIStmtExecute <- jslvec_execcb <- jslvswu <- jslve_execute0 <- jslve_execute <- rpiswu2 <- kkjex1e <- kkjsexe <- kkjrdp <- opirip <- opidrv <- sou2o

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms