Create a synonym in Oracle create a synonym statement in Oracle: we all know that user management in oracle uses permission management, that is, if we want to use a database, we must have permissions, but if someone grants us the permissions, we can also operate on the database, however, we must enter the name of the table owner before the name of the table to be authorized, so this is troublesome. What sho
following SQL query, the query can get the user db_zgxt to the table SB_DJJL all the work done.Sql> SELECT Sql_redo from v$logmnr_contents WHERE username= ' db_zgxt ' and tablename= ' SB_DJJL ';It is important to emphasize that the analysis results in view v$logmnr_contents only exist during the lifetime of the session ' DBMS_LOGMRN.START_LOGMNR ' that we are running. This is because all Logminer storage is in PGA memory, and all other processes are not visible, and as the process ends, the res
following SQL query, the query can get the user db_zgxt to the table SB_DJJL all the work done.Sql> SELECT Sql_redo from v$logmnr_contents WHERE username= ' db_zgxt ' and tablename= ' SB_DJJL ';It is important to emphasize that the analysis results in view v$logmnr_contents only exist during the lifetime of the session ' DBMS_LOGMRN.START_LOGMNR ' that we are running. This is because all Logminer storage is in PGA memory, and all other processes are not visible, and as the process ends, the res
user for a table, can be obtained by the following SQL query, the query can get the user db_zgxt to the table SB_DJJL all the work done.Sql> SELECT Sql_redo from v$logmnr_contents WHERE username= ' db_zgxt ' and tablename= ' SB_DJJL ';It is important to emphasize that the analysis results in view v$logmnr_contents only exist during the lifetime of the session ' DBMS_LOGMRN.START_LOGMNR ' that we are running. This is because all Logminer storage is in PGA memory, and all other processes are not
;If we just want to know what a user is doing with a table, you can get it from the following SQL query, which can get all the work the user db_zgxt on the table SB_DJJL.Sql> SELECT Sql_redo from v$logmnr_contents WHERE username= ' db_zgxt ' and tablename= ' SB_DJJL ';It should be emphasized that the results of the analysis in the view v$logmnr_contents only exist during the life of the session we are running ' DBMS_LOGMRN.START_LOGMNR '. This is because all Logminer storage is in PGA memory, al
where t.table_name like '%logmnr% ';-See all LOGMNR related views table_name COMMENTS-- ------------------------------------------------------------------------------------------------------------gv$ Logmnr_callback synonym for gv_$logmnr_callback gv$logmnr_contents synonym for gv_$logmnr_contents GV$LOGMNR_ DICTIONARY synonym for Gv_$logmnr_dictionary gv$logmnr
Oracle DatabaseRelatedSynonymSome of the knowledge is what we will introduce in this article. First, let's take a look at a statement, as shown below:
Create synonym table_name for user. table_name;
The first user_table and the second user_table can be different.
In addition, if you want to create a synonym for a table on a remote Database, you must first create a Database Link Database connection) to expan
completed.
SQL> exec dbms_logmnr.start_logmnr (options => dbms_logmnr.dict_from_online_catalog );
PL/SQL procedure successfully completed.
Let's take a look at the related views used by the LOGMNR tool: SQL> set pages 100SQL> col comments for a40SQL> select * from dict t where t. table_name like '% LOGMNR % ';
TABLE_NAME COMMENTS parameter values $ paisynonym for V _ $ parameters $ LOGMNR_PARAMETERS Synonym for V _ $ parameters $ LOGMNR_DICTIONARY
LOGMNR-related views table_name COMMENTS-------------------------------------------------------------------------------------------------- ------------gv$logmnr_callback synonym for gv_$Logmnr_callback gv$logmnr_contents synonym for gv_$logmnr_contents gv$logmnr_dictionary Synony M for gv_$logmnr_dictionary gv$logmnr_logfile synonym for Gv_$log
Tags: SQL syntax type private DELETE demo statement with same name ORACL environmentFirst, what is synonymous Synonyms are aliases of objects that are preceded by an object that simplifies SQL statements, hides the names and owners of objects, and provides public access to objects. There are two types of synonyms, the public synonym and the private synonym, respectively, the public
Original: Method of querying or performing additional database operations in SQL 2005Summary:If you want to query the data of another data server on one database server, how do you do it? What if you want to query data between different databases on the same data server?1.Synonym2.openquery3.Linked ServersServer object-->linked servers--> servertype Select SQL Server, select "be made using this security context" in securityEnter your user name and password, using:SELECT * FROM [Galaxy]. DataWare
ORA-00980: synonymtranslationisnolongervalid, ORA-00980: synonym conversion no longer valid
ORA-00980: synonym translation is no longer valid, ORA-00980: synonym conversion no longer valid
ORA-00980: synonym translation is no longer valid ORA-00980: synonym conversion i
Iv. synonyms(a) What are synonymsA synonym is essentially an alias for a specified schema object. Synonyms provide a degree of security by masking the names and owners of objects and providing location transparency for remote objects in a distributed database. At the same time, the use of synonyms is better, which reduces the complexity of SQL statements of database users. Synonyms allow a base object to be renamed or moved, at which point a
CREATE VIEW statement, Oracle creates the view even if there is a series of cases.The query for a view definition references a table that does not exist.The query for the view definition references columns that are not valid in an existing table.The owner of the view does not have the required permissions.In these cases, Oracle only checks for syntax errors in the CREATE VIEW statement. If the syntax is correct, the view is created and the definition of the view exists in the data dictionary. H
t.table_name like '%logmnr% ';-See all LOGMNR-related views
TABLE_NAME COMMENTS
------------------------------ --------------------------------------------------------------------------------
Gv$logmnr_callback synonym for Gv_$logmnr_callback
gv$logmnr_contents synonym for Gv_$logmnr_contents
Gv$logmnr_dictionary synonym for Gv_$logmnr_dictionary
Gv$logmnr_logfi
------------------------------ --------------------------------------------------------------------------------Gv$logmnr_callback synonym for Gv_$logmnr_callbackgv$logmnr_contents synonym for Gv_$logmnr_contentsGv$logmnr_dictionary synonym for Gv_$logmnr_dictionaryGv$logmnr_logfile synonym for Gv_$logmnr_logfileGv$logm
analysis disappear.Finally, use the procedure DBMS_LOGMNR. END_LOGMNR terminates the log parsing transaction, at which time the PGA memory area is cleared and the results of the analysis are no longer present.5. View Logminer Tool Analysis ResultsSql> SELECT * from Dict t where t.table_name like '%logmnr% ';-See all LOGMNR related viewsTABLE_NAME COMMENTS------------------------------ --------------------------------------------------------------------------------Gv$logmnr_callback
cleared and the results of the analysis are no longer present.5. View Logminer Tool Analysis Results1. sql> SELECT * from Dict t where t.table_name like '%logmnr% ';-See all LOGMNR related views2. TABLE_NAME COMMENTS3.------------------------------------------------------------------------------------------------------------- -4. Gv$logmnr_callback synonym for Gv_$logmnr_callback5. gv$logmnr_contents synonym
Hash Table Lookup
definition
Basic Concepts
Implementation Methods
1. Definition
Hash table lookup is also called a hash lookup, by looking for a keyword does not need to compare to obtain a record of the storage location, it is through the storage location of the record and its keywords between the establishment of a definite corresponding relationship F, so that each keyword key corresponding to a storage location F (key). That-Storage location =f (keywords), where f is a hash function.
1
Oracle (1) --) Detailed description of database objects (Text explanation, first of all a small understanding ~)---- Database object: a set of logical structures ---- 1. Synonym: alias of an existing object/* function: simplify the SQL statement to hide the Object Name and provide the owner with a public access classification for the object: */-- public synonym: it can be accessed by all database users. Whe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.