The concept of synonyms:Synonyms are aliases of Oracle objects and use synonyms to access the same objectsYou can create synonyms for objects such as tables, views, stored procedures, functions, or another synonymEasy access to other users ' objects, hiding the identity of the objectShorten the length of the object nameSynonym creation Syntax: CREATE [public] synonym synonym_name for object;Permissions to
1. Introduce How to Use synonyms to access the same object: (1) convenient access to objects of other users (2) shorten the length of object names; 2. create synonyms SQLgt; create
1. Introduce How to Use synonyms to access the same object: (1) convenient access to objects of other users (2) shorten the length of object names 2. create
Tags: lap update set for TIME range Dex minimum PreMany applications require a unique number to be used as the primary key value, so you can build code in your application to handle this requirement, or you can use a sequence to produce a unique number. If you want to improve the performance of some queries, you should consider creating an index, or you can enforce uniqueness on the collection of columns or columns with an index. You can use synonyms
Both views and synonyms are the object names in the database. They do not correspond to actual data storage and all depend on the existence of other objects. View: view can be viewed as virtual
Both views and synonyms are the object names in the database. They do not correspond to actual data storage and all depend on the existence of other objects. View: view can be viewed as virtual
Both views and
Set synonyms to facilitate the use of select * fromemp; and so on for select * fromabc; create a common synonym if the user level is not enough to create a public synonym, you can
Set synonyms to make it easy to use select * from emp; and so on for select * from abc; create a common synonym. If the user level is insufficient, create a public synonym in
Set synonyms
Set synonyms for ease of use Select * from EMP; and so on are used for select * from ABC; Create a common synonymIf the user's level is not enough to establish a public synonym, You can authorize it under system: Grant create any synonym to Scott;Grant create public synonym to Scott; Cancel authorization: Revoke create any synoym from Scott;Revoke create public synoym from Scott; Cancel synonym:Drop public synonym ABC;Synonym for canceling authorizati
Being good is a habit, life is a process, giving up is a kind of wisdom, and its disadvantage is a kind of favor.
A synonym error occurs when the base table or view is deleted.
ORA-01775: Looping chain of synonyms
Cause: through a series of create synonym statements, a synonym was defined that referred to itself.
Action: change one Synonym definition so that it applies to a base table or view and retry the operation.
View
Lucene implements index creation and retrieval; Ikanalyzer realizes the Chinese word segmentation, the light has been able to achieve the Chinese search, but the light is not enough, many projects in the search, should also be able to deal with synonyms, such as the index library has "computer", "computer" such as the entry, search "Notebook" should also be able to "computer", "computer" such an entry to match, which involves the index of the synonym
1. Why Use synonyms:
Synonyms, as the name implies is two words, the same meaning, can replace each other. So what's its function?
A one of the most obvious purposes is to simplify SQL. If a database object's name is too long, you can create a shorter synonym. It's the abbreviation.
B. Another purpose is to hide the information of some objects. For example, to find a table in another schema, you need to pr
Questions raised
In my new job, I faced the problem of archiving the tables that were created in the product database, because as the database grows, it needs to be moved now. At the same time, these archived tables are used for several tasks and are invoked in the application's code. Moving them in this way is a very complicated process. I want to find a way to minimize the amount of work that developers have to do, because they have very limited time. Can you tell me the best way to file the
What is the synonym "synonym"?(1) For some long names of objects (table, view, index, sequence, ...) ) do the subtraction, Replace with aliasesThe role of synonyms(1) Shorten the length of the object name(2) Easy access to other users ' objectsCreate synonyms that correspond to the Salgrade table,Create synonym synonyms for table name/view/other objectsCreate sy
Use Environment
elasticsearch5.1.1
kibana5.1.1
Synonyms plugin 5.1.1
Installing plugins
download the corresponding elasticsearch-analysis-dynamic-synonym-5.1.1.zip, unzip to the local elasticsearch/plugins directory, restart ES
first way local file
Description:
for local files: mainly through the file modification timestamp (Modify time) to determine whether to reload
in the Elasticsearch/config directory, set up the analysis directory, and p
simplifying database user access to object SQL statements4. Enable restricted access similar tospecialized views when exercising fine-grained access control provides access similar to the specified view when exercising fine-grained access controls LimitYou can create both public and privatesynonyms. A public synonym are owned by the special user group named public andevery user in a database can access it. A private synonym is in the schema of aspecific user who have control over their availabi
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 should we do in this case? Create a synonym! In this way, you can directly Use
Many customers have their own database servers to manage their important data. What if we need to use the data in our project and the customer cannot insert the data to our project database server? One solution is to create some table or view synonyms based on the customer's key data server on the project database server. Here we will introduce how to create a synonym for Oracle Based on the Remote Server View in my project.
1. Create a database link.
Oracle synonyms are commonly used to replace an object. Their main role is to Use synonyms to easily manipulate objects in different user modes. We use select user from dual to view the currently used users.
Access tables in other user mode:
select*fromscott.dept;
View the dept table data in scott user mode.
Oracle synonyms are classified into private and
Common Oracle database objects (mdash); indexes and synonyms
Common Oracle database objects (mdash); indexes and synonyms
I. Index
A) advantages of using Indexes
I. A table-independent schema object that can be stored in a disk or tablespace different from the table
Ii. If the index is deleted or damaged, it does not affect the table. Only the query speed is affected.
Iii. Once an index is created, the
Concept
A graphical synonym is a representation of an object (table), which itself has no specific definition.
By graphically using synonyms, it is possible to use this object (table) in different places in the same physical diagram (physical diagram).
Role: In the physical diagram between the relationship between the lines as far as possible, through the establishment of synonymous word image (graphical synonym) to ensure. If
these 9577 groups of synonyms are derived from Java Distributed Chinese sub-phrase-word participle , here are 50 groups of synonyms, more synonyms see here . One by one one at a time a little bit motionless fame blockbuster A clean six clean Jiquanshengtian Legion repeated a few back again a brain peremptorily sack Shing a youboy ordinarily ordinarily qianhuhouyo
Tags: Io for SP data on cti bs Database SQL Oracle synonyms literally mean aliases. Similar to the view function, they are a ing relationship. Maintenance of users in Oracle is maintained by permissions. That is to say, if we want to use the database, we must have permissions, but if someone else grants us the permissions, we can also perform operations on the database, but it is the name of the user who wants to authorize the table, such as bsrun.do
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.