SQL Performance (MOSC)

MOSC Banner

Oracle inmemory + collation (CI/AI)

edited Dec 10, 2018 4:09AM in SQL Performance (MOSC) 4 commentsAnswered

Hi all,

I recently  ran into an interesting scenario. I collect table facts from various databases and want to perform analysis on it. Given I often copy/paste table name from various places, I set table_name with collate "binary_ci" so that I don't have to wrap the table name with upper function every time, i.e., my table definition looks like:

  CREATE TABLE MYTABLE

   (    "DBNAME" CHAR(8 BYTE) COLLATE "USING_NLS_COMP",

    "OWNER" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP" NOT NULL ENABLE,

    "TABLE_NAME" VARCHAR2(128 BYTE) COLLATE "BINARY_CI" NOT NULL ENABLE,

    "NUM_ROWS" NUMBER,

    "AVG_ROW_LEN" NUMBER,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center