Q: I have no backup shard oralce and have not exported the database. Now the operating system crashes, but the files in the Oracle directory are complete. How can I fix my table?
A: Create an identical database (the disk directory is the same;
ArticleDirectory
A small function for converting time and date formats
A small function for converting time and date formats
SQL> select to_char (sysdate, 'ssss'), sysdate from dual;To_ch sysdate------------------------62239 17:17:19Sssss:
Oracle does not have the Oracle Auto-increment field function, but it can be implemented through trigger and sequence.Assume that the keyword segment is ID, create a sequence, and the code is:Create sequence seq_test_idsMinvalue 1Max value
1. Oracle Server is a data management system (RDBMS) that provides open, comprehensive, and almost perfect information management. Oracle is composed of an Oracle instance and an Oracle database.
The Oracle server consists of two parts: the Oracle
The Enterprise Library of Enterprise Library does not provide an SQL script to record logs to the Oracle database. To enable logging to the Oracle database, write the following script:
spool DDD.logpromptprompt Creating table ORACLE_ENTLOGprompt ====
1. Find the most resource-consuming SQL
We can first use top and other tools to find the process with the best resources (remember the process number), for example, the operating system process number is 2796, And then according to this process
Oracle provides two types {Tagshow (event, 'SQL ');} "Href =" http://www.cnblogs.com/sopost/admin/javascript:; "target =" _ Self ">SQLOptimizer. CBO was introduced in oracle7, but it was only mature in Oracle8i. Oracle has clearly stated that in
1. In a project, run the top SQL script in PL/SQL:-- Usage FrequencySelect SQL _text, executions, sysdateFrom (select SQL _text,Executions,Rank () over (OrderBy executions DESC) exec_rankFrom v $ SQL)Where exec_rank Create a crontab and run the
Oracle has poor performance. Check the hardware configuration of the database server first. Including memory parameter adjustment. After Oracle9i, you can check the memory and pool size in the Enterprise Manager routine-configuration-memory, and set
658. user_col_privs
Lists the permissions on a column. The user is the owner, the grantee, or the grantee.
659. user_col_privs_made
Lists All permissions on columns of objects owned by users.
660. user_col_privs_recd
Lists the permissions on a
Problem 1: Unable to activate the Ethernet device.The error message is "cannot activate network device eth0! Device eth0 has different MAC address than expected, ignoring ."
Solution:The MAC address reported by ifconfig does not
Ladies and gentlemen, please help younger brother, I installed Oracle, login can not sqlplus prompt error is: ora-01017: invalid username/password; logon denied. the username and password of the database I created are slzyy. It is strange that I can
Original address: http://www.iana.org/assignments/port-numbers
Service
Port
Product
Change Method
Oracle HTTP Server listen port/Oracle HTTP Server Port
80
Oracle Application Server
Edit httpd. conf and restart
Reprinted -- http://www.eygle.com/archives/2006/02/oracle_howto_get_oracle_dbid.htmlIn the process of database recovery, we often need to know the dbid of the Oracle database. There are usually the following methods to obtain the dbid of the
1. Go to the Oracle official website (34,469,920 bytes)
2. decompress the package to the C: \ clientlient Directory, which includes the following files:
Classes12.jar
Ocijdbc10.dll
Ojdbc14.jar
Oraocci10.dll
OCI.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service