Skip to content

Commit

Permalink
Add sqlid, planhashvalue to ASH raw data interface
Browse files Browse the repository at this point in the history
  • Loading branch information
akardapolov committed Jun 12, 2016
1 parent f9519ef commit 25dacfb
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions src/org/ash/history/ASHDatabaseH.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@
*/
package org.ash.history;

import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.sleepycat.je.CheckpointConfig;
import com.sleepycat.je.DatabaseException;
import com.sleepycat.je.Environment;
import com.sleepycat.je.EnvironmentConfig;
import com.sleepycat.persist.EntityCursor;
import com.sleepycat.persist.EntityStore;
import com.sleepycat.persist.StoreConfig;
import org.ash.database.AshDataAccessor;
import org.ash.datamodel.*;
import org.ash.datatemp.SessionsTemp;
Expand All @@ -43,15 +40,11 @@
import org.jdesktop.swingx.treetable.TreeTableModel;
import org.jfree.data.xy.CategoryTableXYDataset;

import com.sleepycat.je.CheckpointConfig;
import com.sleepycat.je.DatabaseException;
import com.sleepycat.je.Environment;
import com.sleepycat.je.EnvironmentConfig;
import com.sleepycat.persist.EntityCursor;
import com.sleepycat.persist.EntityStore;
import com.sleepycat.persist.StoreConfig;

import javax.swing.table.DefaultTableModel;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.*;

/**
* The Class ASHDatabaseH (history).
Expand Down Expand Up @@ -453,6 +446,8 @@ public DefaultTableModel getASHRawData(double begin, double end) throws Database
"Module",
"ClientID",
"Action",
"SQL ID",
"Plan hash value",
"Event",
"P1",
"P1Text",
Expand Down Expand Up @@ -525,6 +520,8 @@ public DefaultTableModel getASHRawData(double begin, double end) throws Database
ASH.getModule(),
ASH.getClientId(),
ASH.getAction(),
ASH.getSqlId(),
(long)ASH.getSqlPlanHashValue(),
ASH.getEvent(),
(long)ASH.getP1(),
ASH.getP1Text(),
Expand Down

0 comments on commit 25dacfb

Please sign in to comment.