Since the Oracle data format is different from the general microcomputer format, Oracle data cannot be directly called. Although Developer 2000, a front-end development tool provided by Oracle, can access Oracle data and has data access interfaces,
This article describes how to use PHP4 to connect Oracle8i in a Linux environment.
1. Download and install Oracle 8i for linux. Complete installation. Do not only install the client.
2. Download The PHP3 or PHP4 source code.
3. Configure PHP
The following method can be used to solve the garbled problem:1. Set phpMyAdminLanguage: Chinese simplified (zh-utf-8)MySQL Character Set: UTF-8 Unicode (utf8)MySQL connection verification gbk_chinese_ci2. When creating a databaseSet it to
To view the available RAM and swap space, run the following command:Grep MemTotal/proc/meminfoGrep SwapTotal/proc/meminfoFor example:# Grep MemTotal/proc/meminfoMemTotal: 512236 kB# Grep SwapTotal/proc/meminfoSwapTotal: 1574360 kBNext, create a
Environment: Ubuntu LinuxThe following methods have been tested by myself and can solve the problem of garbled characters in Ubuntu PHP inserting MySQL database.
1. Use utf8 for database storage as much as possible (modify/etc/my. cnf and add
We need to debug the PL/SQL process to view the variable content. You can use the following method. Assume that the variable we want to view is output and the type is varchar2.
1. The most basic DBMS_OUTPUT.PUT_LINE () method.You can use DBMS_OUTPUT.
The little things found during program tuning today.
In Windows, if the key value is default null and ''is inserted, an error occurs.
If mysql is running in Linux, the value of 0 in the same table is as follows:
The table creation statement is the
There is an internal limit on the size of Oracle data files, which is:
Each data file can contain a maximum of 2 ^ 22-1 data blocks.
This limit directly results in the maximum allowed size of each data file.
Under 2 K Block_size, the maximum data
A table is one of the most basic objects in an Oracle database. From the ground up, the base object is very important for databases. Whether the design is reasonable is directly related to the database performance. From the Oracle database cainiao
Consistent reads are generated when SQL statements are executed.
What is logical read? The process in which the cpu reads these blocks in the memory is called the consistent get. The IO generated during the reading process is the logical IO. cpu
Install, deploy, and start MongoDB in CentOS.
1. Download the installation package
32-bit
Wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.3.tgz
64-bit
Wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.3.tgz
Decompress the
Oracle online logs and Oracle archive logs record the complete change information of the entire database. Is an important part of Oracle architecture. Therefore, online log planning is also very important. However, as the business grows or the
When the application fails, it runs up and finds that the application interface has always reported a wrong logon database user and password. After checking that the Oracle database is restarted, the user name and password policies exceed the
Environment: OEL + Oracle 11.2.0.1
Since there is already a database instance in the current environment, this does not affect the creation of a new instance sun
Current System instance
[Oracle @ DBA2 dbs] $ env | grep ORACLEORACLE_SID = orcl1ORACLE_
1. Lock principle Oracle locks are usually a problem at the business layer. locks are designed to ensure Database Consistency in the case of concurrency, so there is no Lock without concurrency. Oracle locks have the following principles:
The row
Let's talk about what they have in common: they are essentially an exclusive lock on resources, all caused by concurrency (if the database has only one session, it cannot be locked ).
Next we will focus on their differences:
First, they have
Because the project needs to change Oracle_sid (tested) to nid, the result is half lost and the database is suspended. Finally, you cannot reinstall the database.
When I started the database today, the error was: ORA-01103 Database Control File andD:
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