Questions tagged [data-dictionary]

A Data Dictionary stores information about all user-defined objects in the database. It usually comes with utilities to cross-reference all system components to each other.

References

187 questions
3
votes
2 answers

Caching large non-unicode dictionary in database?

I have a large dictionary (outputs as string in 366MB, ~383764153 line filetextfile) that I want to store in a database for fast access and to skip the computation time involved in populating the dictionary. My dictionary consists of a dictionary of…
user1438003
  • 6,603
  • 8
  • 30
  • 36
2
votes
1 answer

SQLite data dictionary tables and columns

Can you tell us the names of all tables and table columns in the SQLite data dictionary? Update: I was using this information for a Basic4Android app I'm developing. Here is the actual segment of coding I used: ' Create the PeopleToVisit table which…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
2
votes
1 answer

How MySQL tables are opened? table_definition_cache, table_open_cache, .frm files and Data Dictionary: How are they related?

MySQL version: 5.7 Machine: Ubuntu 20.04 Recently, we were analysing the performance issues that can occur when increasing the number of tables in a schema. And during this, we came across 4 system variables that have impact on the performance:…
2
votes
1 answer

Select column_name from cols return nothing although column exists

i am trying to execute this statement in Oracle 9i. However it seems that the result set is empty although J am very sure that there are many columns with the name ID. select * from cols where column_name like '%ID%'; Also, the following statement…
Oh Chin Boon
  • 23,028
  • 51
  • 143
  • 215
2
votes
1 answer

What uniquely identifies an index in Oracle?

Within the Oracle documentation, the (DBA|ALL)_INDEXES view has OWNER The owner of the index INDEX_NAME The name of the index TABLE_OWNER The owner of the indexed object TABLE_NAME The name of the indexed object My question is what uniquely…
2
votes
1 answer

Is the OWNER in ALL_CONSTRAINTS and ALL_CONS_COLUMNS the same as the table owner?

According to Oracle, the OWNER field in (ALL|USER|DBA)_CONSTRAINTS is the owner of the constraint. To relate back to the table that this constraint belongs to, this view provides TABLE_NAME, however to uniquely identify a table, I need both the…
David Fletcher
  • 305
  • 1
  • 7
2
votes
1 answer

How do I write the table structure in Oracle from an existing schema?

I have so far figured out that to describe a table I can use the below: select dbms_metadata.get_ddl('TABLE','','') from dual; I also found that I can get a list of tables from the current user using the below…
Prasanna Narayanan
  • 437
  • 1
  • 3
  • 13
2
votes
1 answer

Use Thesaurus as Dictionary for Synonyms in FTS?

As I understood, the function of this dictionaries are the same, except that Synonyms Dict do not support operation with phrases. Is It OK to use one dictionary for thesaurus and phrases in PostgreSQl full text search? my_custom.ths #…
khex
  • 2,778
  • 6
  • 32
  • 56
2
votes
1 answer

ORACLE: how to find all dependencies of objects of a column in a specific table

i,d like to know a way of make a query where i can find all dependencies of objects with a specific column in a specific table. I can do it with a table but i dont know how to do it with a column of that table SELECT type, name …
2
votes
1 answer

Retrieve Selected Column from the oracle query

I would require your help to retrieve the selected columns from the oracle query like SELECT col1,col2,col3+col4 as col3_4_sum,col5*col6 as col5_6_mul from tab1; I want to retrieve the below output as…
Stay Curious
  • 101
  • 10
2
votes
3 answers

Sorting set of pairs of numeric values - is there a .NET equivalent to a hashmap in java?

I have been having a nagging problem for a few days, here's what I'm trying to do: I am writing a program that manipulates various set of numbers in multiple ways and so far so good- now I control one of such computations using a loop, so that each…
Mick
  • 21
  • 1
2
votes
3 answers

How to find non-numeric columns containing only numeric data?

I like to find all columns in my Oracle database schema that only contain numeric data but having a non-numeric type. (So basically column-candidates with probably wrong chosen data types.) I have a query for all varchar2-columns: SELECT TABLE_NAME,…
Fabian Barney
  • 14,219
  • 5
  • 40
  • 60
2
votes
1 answer

mysql: SHOW TABLES - define column name

I am doing a mySQL 'SHOW TABLES' with a 'LIKE'. For example: show TABLES like 'address_%' ... to return all tables that start with 'address_'. That works fine. The table name that is returned has a column name of Tables_in_username_users…
Graham
  • 129
  • 1
  • 8
2
votes
1 answer

Oracle, How can I get tables where COMMENTS is not null and has specific column

I want to get tables which have column 'CUST_ID' and their comments is not null. To get tables with column_name 'CUST_ID' SELECT TABLE_NAME FROM USER_TAB_COLUMNS WHERE COLUMN_NAME='CUST_ID'; To get tables which comments is not null SELECT…
GoingMyWay
  • 16,802
  • 32
  • 96
  • 149
2
votes
0 answers

Data Dictionary Storage and Retrieval with MongoDB and Node.js Application

I have the following requirement in my project. It is a reporting application so mainly will be storing data about my entities once and most of the times will be retrieving it and showing them on the webpage as different reports. I am using node.js…
Mayur Tanna
  • 43
  • 1
  • 9
1 2
3
12 13