ExpLOBenums.h

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Chages to disable LOB locking and refactor IUD operations

  1. … 7 more files in changeset.
[TRAFODION-2430] RMS enhancements

RMS now displays 3 numeric values separated by '|' in "Details"

columns in the default output based on the type of stats entry.

These numeric values are VAL2, VAL3, VAL4 of the statistics virtual

table.

Stats Type VAL2 VAL3 VAL4

ROOT_OPER_STATS MessageBytes MessageCount MemoryAllocated

SE_STATS SE_IO_KBytes SE_IO_SumTime ActRowsAccessed

BMO_STATS Scr_IO_Count bmoHeapAllocated ScrFileCount

VAL1 is operCpuTime and TEXT column contains the PID of the process

ExFastExtractTcb is now instrumented with ExHdfsScanStats.

Hdfs scan and access opearations are now properly instrumented with ExHdfsScanStats

counters.

Lob access is now instrumented and is part of the statistics

entry(ExHdfsScanStats or ExHbaseAccessStats) attached with tcb.

Additionally, the following changes are done

1. Removed obsolete ExLobStats

2. Optimized space usage in RMS shared segments for some of the operators

3. A new class ExStorageEngineStats is now created. This class is

type-defed as ExHbaseAccessStats and ExHdfsScanStats.

  1. … 28 more files in changeset.
Support to provide a locking mechanism for LOB insert/update operations

  1. … 28 more files in changeset.
New syntax to retrieve the LOB HDFS filename for both external and internal LOBs . Also added syntax to return starting offset of a particular LOB handle in the LOB Hdfs data file.

  1. … 15 more files in changeset.
Merge remote branch 'origin/pr/1216/head' into merge_1216

  1. … 11 more files in changeset.
Main change:

Added a method for JDBC driver to be able to close an open cursor abruptly by passing in a 0 length to the extract syntax. This will ensure internal opens are not left around if the application does not retrieve all the data with the stream API.

This abrupt close can be called when the result set is closed or the connection is closed by keeping track of all the open Blob objects. (in the driver)

Added a freeResources method and destructor to LobExtract and LobUpdate Tcbs.

Minor changes and fixes :

Refactored the ExLob::closeCursor

Removed the LOB_CLI_SELECT_CLOSE call from ::fetchCursor so it gets closed only when ExLob::closeCursor is called. Makes the code consistent and readable.

Took care of a few memory allocations and deletions.

Refactored the LOB length calculation into on ecommon method so it works correctly for both regular LOB dat aas well as external LOB files. Earlier the external lobs length was being returned incorrectly. Now it reports the length of the external HDFS file .

Fixed one place in generator where the CQD value was not being multiplied by the MB units correctly.

  1. … 10 more files in changeset.
Fixed review comments

  1. … 5 more files in changeset.
Support for insert-select for tables containing LOB columns.

  1. … 16 more files in changeset.
Changes to support new syntax and implementation empty_blob/empty_clob for insert/updates Changes to support new syntax for updating a lob directly through a lobhandle without scanning the table.This is done via new ExeUtil operator. Changes to add columnname info to LOBMD_ table. This helps in mapping any given lobhandle back to the table and the column. Added new sections to the regression test executor/TEST130 to test these changes

  1. … 40 more files in changeset.
Merge remote branch 'origin/pr/507/head' into merge_507

  1. … 9 more files in changeset.
Support for external lobs. Data files are stored externally in HDFS and only filehandles and file locations are stored in internal Trafodion tables.

  1. … 25 more files in changeset.
hive data modification detection: commit #1

  1. … 16 more files in changeset.
update

  1. … 298 more files in changeset.
Changes for performing GC. Changes to pass in hdfsServer and port via CQD and remove hardcoding. Changes to pass in lobLocation via CQD and remove hardcoding. Changes to remove all mxlobsrvr process functionality from ExLOBprocess.cpp. Retaining only the infrasturcture so mxlobsrvr process can be used in the future. The executable is still built but the process is not started as part of Trafodion anymore. We may use it in the future.

  1. … 28 more files in changeset.
Recommitting the last commit. Some files did notget added. Context/changes are the same as earlier commit.

  1. … 24 more files in changeset.
Resolving the following JIRAs : TRAFODION-1604 - Fixed one place in CharType.h where 100 was the max limit for lob handle length TRAFODION-1596 - Added checks in alter code to prevent altering adding LOB columns. TRAFODION-1598 - Added several syntax filxes in parser and ExpLOBaccess.cpp to address these problems. TRAFODION-1599 - Added checks in binder to prevent sample columns from being LOB columns. TRAFODION-1602 - Added checks in DDL layer to prevent LOB columns as unique constraints or store by.

  1. … 17 more files in changeset.
Merge remote branch 'origin/master' into lob_work_files2

  1. … 25 more files in changeset.
Fixes for extract to files and dealing with issues ith 2 or more lob columns.

  1. … 20 more files in changeset.
Part 2 of changes to update license text in Trafodion source

This check-in updates license text in all source files in the

core/sql directory. Remaining directories will be done in

later check-ins.

  1. … 3147 more files in changeset.
Support for chunking during insertion into lobs and extracting into external files. Currently supported for lob insert and lob extract to/from local linux files.

  1. … 17 more files in changeset.
Merge remote branch 'core/master'

  1. … 108 more files in changeset.
Move core into subdir to combine repos

  1. … 10768 more files in changeset.
Move core into subdir to combine repos

  1. … 10622 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

  1. … 10837 more files in changeset.