Examples of dropStatisticsDescriptors()


Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        setHeapRowEstimate(tc, td.getHeapConglomerateId(), numRows);
        // Drop existing index statistics for this index.
        if (!lcc.dataDictionaryInWriteMode()) {
            dd.startWriting(lcc);
        }
        dd.dropStatisticsDescriptors(table, index, tc);

        boolean conglomerateGone = false; // invalidation control flag
        // Don't write statistics if the table is empty.
        if (numRows == 0) {
            trace(2, "empty table, no stats written");
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        }
        if (i == numDropped// not dropped
        {
          dropped[numDropped++] = thisConglom;
          tc.dropConglomerate(thisConglom);
          dd.dropStatisticsDescriptors(td.getUUID(), cd.getUUID(), tc);
        }
      }
    }

    /* Prepare all dependents to invalidate.  (This is there chance
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

                    trace(1, msg + " on table " + stats[si].getTableUUID());
                    DataDictionary dd = lcc.getDataDictionary();
                    if (!lcc.dataDictionaryInWriteMode()) {
                        dd.startWriting(lcc);
                    }
                    dd.dropStatisticsDescriptors(
                            td.getUUID(), stats[si].getReferenceID(), tc);
                    if (asBackgroundTask) {
                        lcc.internalCommit(true);
                    }
                }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        setHeapRowEstimate(tc, td.getHeapConglomerateId(), numRows);
        // Drop existing index statistics for this index.
        if (!lcc.dataDictionaryInWriteMode()) {
            dd.startWriting(lcc);
        }
        dd.dropStatisticsDescriptors(table, index, tc);

        boolean conglomerateGone = false; // invalidation control flag
        // Don't write statistics if the table is empty.
        if (numRows == 0) {
            trace(2, "empty table, no stats written");
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        // Invalidate statments accessing the given table.
        // Note that due to retry logic, swithcing the data dictionary to
        // write mode is done inside invalidateStatements.
        invalidateStatements(lcc, td, asBackgroundTask);
        // Drop existing index statistics for this index.
        dd.dropStatisticsDescriptors(table, index, tc);

        // Don't write statistics if the table is empty.
        if (numRows == 0) {
            trace(2, "empty table, no stats written");
        } else {
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        }
        if (i == numDropped// not dropped
        {
          dropped[numDropped++] = thisConglom;
          tc.dropConglomerate(thisConglom);
          dd.dropStatisticsDescriptors(td.getUUID(), cd.getUUID(), tc);
        }
      }
    }

    /* Prepare all dependents to invalidate.  (This is there chance
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        break;     
      }     

      StatisticsDescriptor statDesc;
   
      dd.dropStatisticsDescriptors(tableUUID, objectUUID[indexNumber],
                     tc);

      for (int i = 0; i < indexRow[indexNumber].nColumns() - 1; i++)
      {
        statDesc = new StatisticsDescriptor(dd, dd.getUUIDFactory().createUUID(),
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        // Invalidate statments accessing the given table.
        // Note that due to retry logic, swithcing the data dictionary to
        // write mode is done inside invalidateStatements.
        invalidateStatements(lcc, td, asBackgroundTask);
        // Drop existing index statistics for this index.
        dd.dropStatisticsDescriptors(table, index, tc);

        // Don't write statistics if the table is empty.
        if (numRows == 0) {
            trace(2, "empty table, no stats written");
        } else {
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

     * statistics and would want SPS's invalidated so that recompile would
     * give good plans; thats the theory anyways....
     */
    dm.invalidateFor(td, DependencyManager.DROP_STATISTICS, lcc);

    dd.dropStatisticsDescriptors(td.getUUID(), ((cd != null) ? cd.getUUID() :
                   null), tc);
  }
 
  public String toString()
  {
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.dropStatisticsDescriptors()

        }
        if (i == numDropped// not dropped
        {
          dropped[numDropped++] = thisConglom;
          tc.dropConglomerate(thisConglom);
          dd.dropStatisticsDescriptors(td.getUUID(), cd.getUUID(), tc);
        }
      }
    }

    /* Prepare all dependents to invalidate.  (This is there chance
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.