(9) The wn_at.pl file describes the attribute relationship between nouns and the synonym set of adjectives. An attribute is an entity feature described by a noun. Various attributes have various values and are described by adjectives. For example, the term size is an attribute and the value is little, small, big, large. The relationship between nouns and adjectives is defined by the predicate at: At (synset_id_1, synset_id_2 ). therefore, the entry at
the database, do not select EM installation, and then manually install EM after the database is rebuilt.Because it takes a long time to wait for the first method, the third method is selected. As a result, some problems are encountered during EM creation. In fact, there are still a lot of details about a simple job. You have spent a lot of time on it.
First, you can use emca-config dbcontrol db-repos create to create EM in a 10 Gb environment.
EM in 10g is relatively simple. If the creation fai
createRebuilding an EM DatabaseEmca-repos recreateDelete An EM DatabaseEmca-repos dropConfigure Database Control for the databaseEmca-config dbcontrol DBDelete Database Control Configuration of a DatabaseEmca-deconfig dbcontrol DBReconfigure the Database Control port. The default port is 1158.Emca-reconfig portsEmca-reconfig ports-dbcontrol_http_port 1160Emca-reconfig ports-agent_port 3940Set the oracle_sid environment variable and start the EM console service.Emctl start dbconsoleSet the oracl
user_tab_privs; // The table that grants permissions (granted permissions)
4. DBA users can operate any base table of all users (no authorization required, including deletion ):DBA User:SQL> Create Table stud02.product (ID number (10 ),Name varchar2 (20 ));SQL> drop table stud02.emp;
SQL> Create Table stud02.employeeAsSelect * from Scott. EMP;5. Transfer object permissions (with grant option ):User01:
SQL> grant select, update on product to user02 with grant option; // get the permission and pa
still a lot of details about a simple job. You have spent a lot of time on it.
First, you can use emca-config dbcontrol db-repos create to create EM in a 10 Gb environment.
EM in 10g is relatively simple. If the creation fails due to various reasons, it is very likely that the sysman user has not deleted the re-creation, and there are still some role and public synonym.
Relatively speaking, these problems are well-regulated. Basically, the configurat
. open cursors on the table are not affected .).
6. Create role
Only the database creator has the permission to create a role and must set the data attribute Derby. database. sqlauthorization to true.
Derby tries to avoid conflicts between database user names and role names. When a user name is the same as the role name, the user cannot connect to the database.
The role name cannot start with sys or sys and cannot be the word public or public.
VII. Create Schema
Only the database creator has the
We all know that synonyms can be used in Oracle. The main function of synonyms is to hide the identity of the base table and reduce the complexity of SQL statements, because the user does not need to know which table is represented by the synonym, and thus does not need to specify the name of the table owner, what is a public synonym and what is a private synonym
I. BACKGROUND
There are two sid:asid,bsid, two user auser1,auser2 under Asid, and a user Buser1 under Bsid. Among them Auser2 and Buser1 established the Dblink. You now want to access the three tables Table1,table2,table3 information and function function1 on Auser1 by logging on to Buser1.
Second, the steps
① login Auser1 to Auser2 authorization (plus delete if you need to delete)
Grant Insert,select,update on Table1 to Auser2;
Grant Insert,select,update on table2 to Auser2;
Grant Insert,
Index.
-triggers Import table triggers.
-allviews Import all views.
The-views list imports a comma-separated list of views.
-allprocs import all stored procedures.
The-procs list imports comma-delimited lists of stored procedures.
-allfuncs Import all functions.
The-funcs list imports a comma-delimited list of functions.
-allpackages Import all packages.
The-packages list imports a comma-delimited list of packages.
-allsequences import all the sequences.
The-sequences list imports a comma-delim
re-modifying the SQL statement by using synonyms, thereby reducing system maintenance effort. 2. Create synonym A. Common synonym: Create public synonym synonym name for database object name; b. private synonym: Create synonym na
Oracle's 11GR2 version does not make much of a change to the data pump, mainly by adding support for the original version parameters and removing some small restrictions.
This article describes the support of the data pump version.
In 11.2, Oracle added functionality to the version, and the data pump also supports exporting to the specified version or importing the object into the specified version.
Sql> Conn YANGTK/YANGTK
is connected.
Sql> Select Sys_context (' USERENV ', ' Current_editio
being discovered by the enemy patrol soldiers on the right, then beret again took the opportunity to avoid the sight of the patrol soldiers on the right. Then, they lay an ambush under the wall next to the guard station to see the opportunity to climb over the wall again. After arriving at the guard station, they solved the Germans; when I followed the driver when they were not inspected, they lay an ambush in a freight car. When they came over, they scanned the camera with a light machine gun
Function: two users, one of which has no data structure. User A can access all data of user B through user A. Only User A has the permission to read data and cannot see user B's data structure. User A can only query data.
1. Create read-only user:
-- Create the userCreate userIdentified ""Default tablespace LMISTemporary tablespace LMISProfile DEFAULT;
2. grant corresponding permissions to Aas (executed under user B with DBA permission)Grant create session to;Grant create
transaction processing; otherwise, the transaction cannot be recovered.
Example: drop index ix_user;
15. Create synonym for table-name
Create a synonym name.
Synonym: Synonymous name
Table-Name: Table Name
The creator of the database can use the synonymous name. Users without the synonymous name permission cannot use the synonymous name. The synonymou
synonym = alias of tableGrammar:CREATE [public] synonym synonym name for database object;Example One, -- user created with administrator or with the Create SYNONYM permission -- create synonyms for Scott CONN sys/ Change_ On_install as SYSDBA; create Synonym myemp fo
the cache.NoCache: The serial number is not pre-allocated for faster access, and if the cache and Nocache,orcale are ignored when the sequence is created, 20 serial numbers will be cached by default. To access the value of a sequence through a pseudo-column of a sequence Nextval returns the next value of the sequence Currval Returns the current value of the sequence 04.sys_guid function 1 --Create a sequence
2 Createsequence Seq_first3 --querying the next sequence
4 SelectSeq_first.nextval from
In the help of imp: SHOW just list file contents (N). The default value is N.
The Code is as follows:
Copy code
In the help of imp: SHOW just list file contents (N). The default value is N.The following experiment explains two points:1. show = y: displays the statements for creating objects in the dmp file.2. show = y, as oracle said, just list file contents. Import is not performed here.Prepare the experiment environment:1. Create a user and grant permissions:SQL> create
. This function is not applicable to multi-table join queries. the database administrator must. set appropriate parameters for this region in ora. When the memory area is larger, more statements can be reserved. Of course, the possibility of sharing is higher. when you submit an SQL statement to ORACLE, ORACLE will first find the same statement in the memory. it should be noted that ORACLE adopts a strict match between the two. To achieve sharing, the SQL statements must be identical (including
encapsulation of V _ $ INSTANCE. GRANT dcsopen permission TO query v $ instance: SQL> GRANT SELECT ON v $ instanceTO dcsopen; GRANT SELECT ON v $ instance TO dcsopen * ERROR at line 1: ORA-02030: can only select from fixed tables/views does not allow query permission granted to it? Are there other objects in V $ INSTANCE? Except for this synonym. SQL> SELECT owner, object_type FROM dba_objects WHERE object_name = 'v $ instance'; OWNER OBJECT_TYPE ---
In the dynamic performance view, there are changes in the oracle runtime. The changed data is stored in the dynamic performance table (memory table, fixed table), which is created as the database starts up, the dynamic performance table is too complex as the content is added as the database runs. On this basis, oracle creates a view and synonym for DBA to determine the system performance status information.
In the dynamic performance view, there are c
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.