轻松、快速地开始使用 Oracle Database Free。
有关更多信息和完整的步骤说明,请参阅 Linux 安装指南。
详细了解 Oracle Database 23ai Free 的新特性
Docker/Podman | |||||
---|---|---|---|---|---|
下载 | Oracle Container Registry | ||||
附注 | 通过 docker pull container-registry.oracle.com/database/free:latest ,直接从 Oracle Container Registry 拉取容器映像。 |
Oracle VM VirtualBox | |||||
---|---|---|---|---|---|
文件名 | Oracle_Database_23ai_Free_Developer.ova | ||||
SHA256 | 0e2144f984179e74b12578a059205aa4255314e8c21249d68ff3a23f70148615 | ||||
大小(字节) | 6,138,339,840 | ||||
附注 | 将 23ai Free 的 .ova 文件导入您的本地 Oracle VM VirtualBox 设置。 参阅 Oracle Database 23ai Free VirtualBox Appliance 页面,了解 Oracle VM VirtualBox 映像内容及资源要求。 |
Oracle Enterprise Linux 8 | |||||
---|---|---|---|---|---|
文件名 | oracle-database-free-23ai-1.0-1.el8.x86_64.rpm | ||||
SHA256 | 1e69529fc1eabfd7db1a8fa7a03998b103ba594544e60fe78ea2f7eb448cdccd | ||||
大小(字节) | 1,365,375,132 | ||||
附注 | 运行 运行 |
Oracle Enterprise Linux 9 | |||||
---|---|---|---|---|---|
文件名 | oracle-database-free-23ai-1.0-1.el9.x86_64.rpm | ||||
SHA256 | 21414ebbb763a2095c138dd007caecd9db3d758ac89facc3f4f14075f71838aa | ||||
大小(字节) | 1,365,375,132 | ||||
附注 | 运行 运行 |
RedHat 兼容的 Oracle Enterprise Linux 8 | |||||
---|---|---|---|---|---|
文件名 SHA256 大小(字节) |
oracle-database-preinstall-23ai-1.0-2.el8.x86_64.rpm 4578e6d1cf566e04541e0216b07a0372725726a7c339423ee560255cb918138b 31152 |
||||
文件名 SHA256 大小(字节) |
oracle-database-free-23ai-1.0-1.el8.x86_64.rpm 1e69529fc1eabfd7db1a8fa7a03998b103ba594544e60fe78ea2f7eb448cdccd 1,365,375,132 |
||||
附注 | 运行 运行 运行 |
RedHat 兼容的 Oracle Enterprise Linux 9 | |||||
---|---|---|---|---|---|
文件名 SHA256 大小(字节) |
oracle-database-preinstall-23ai-1.0-2.el9.x86_64.rpm aa7bc3a62f4118cc8e02ece2f67ddd276b2256833e4d66f939725b2ef22bebf9 35689 |
||||
文件名 SHA256 大小(字节) |
oracle-database-free-23ai-1.0-1.el9.x86_64.rpm 21414ebbb763a2095c138dd007caecd9db3d758ac89facc3f4f14075f71838aa 1,365,375,132 |
||||
附注 | 运行 运行 运行 |
Windows 平台 | |||||
---|---|---|---|---|---|
文件名 SHA256 大小(字节) |
4cf0207cd4b0134a0d78f12e660b6ce8f4396f0b4476d62c0faf995b812df38f 1,336,989,607 |
||||
文件名 SHA256 大小(字节) |
e85900cae5fa6b1677f3cd404471c659862f34deeb55a8d9beb41bc02758cbc7 802,358,371 |
||||
附注 | Oracle Database 23ai Free for Windows 安装指南 |
Oracle Enterprise Linux 8 for ARM (aarch64) | |||||
---|---|---|---|---|---|
文件名 SHA256 大小(字节) |
oracle-database-preinstall-23ai-1.0-3.el8.aarch64.rpm 68936d4fc7e55ce5192f9e4819f9ab8a80b079bb9e20d39bc2a991bd3d4a6095 31,192 |
||||
文件名 SHA256 大小(字节) |
oracle-database-free-23ai-1.0-1.el8.aarch64.rpm 9f82f22217db7c760d25956ca1590be996dbbe1ea397949726c68065524f69af 1,235,427,284 |
||||
文件名 SHA256 大小(字节) |
fabbbf1516ec012571ca2bc6642c9df966454ae0e7287a26a75ff12a35d8d168 712,780,356 |
||||
附注 |
sqlplus sys@localhost:1521/FREEPDB1 as sysdba
sqlplus sys@localhost:1521/FREE as sysdba
OracleDataSource ods = new OracleDataSource();
ods.setURL("jdbc:oracle:thin:@localhost:1521/FREEPDB1"); // jdbc:oracle:thin@[hostname]:[port]/[DB service name]
ods.setUser("[Username]");
ods.setPassword("[Password]");
Connection conn = ods.getConnection();
PreparedStatement stmt = conn.prepareStatement("SELECT 'Hello World!' FROM dual");
ResultSet rslt = stmt.executeQuery();
while (rslt.next()) {
System.out.println(rslt.getString(1));
}
import oracledb
conn = oracledb.connect(user="[Username]", password="[Password]", dsn="localhost:1521/FREEPDB1")
with conn.cursor() as cur:
cur.execute("SELECT 'Hello World!' FROM dual")
res = cur.fetchall()
print(res)
const oracledb = require('oracledb');
async function run() {
let connection = await oracledb.getConnection({
user : "[Username]",
password : "[Password]",
connectString : "localhost:1521/FREEPDB1" // [hostname]:[port]/[DB service name]
});
let result = await connection.execute( "SELECT 'Hello World!' FROM dual");
console.log(result.rows[0]);
}
run();
// Connection string format: User Id=[username];Password=[password];Data Source=[hostname]:[port]/[DB service name];
OracleConnection con = new OracleConnection("User Id=[Username];Password=[Password];Data Source=localhost:1521/FREEPDB1;");
con.Open();
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = "SELECT \'Hello World!\' FROM dual";
OracleDataReader reader = cmd.ExecuteReader();
reader.Read();
Console.WriteLine(reader.GetString(0));
// [username], [password], [hostname]:[port]/[DB service name]
$c = oci_pconnect("[Username]", "[Password]", "localhost:1521/FREEPDB1");
$s = oci_parse($c, "SELECT 'Hello World!' FROM dual");
oci_execute($s);
oci_fetch_all($s, $res);
echo "<pre>\n"
var_dump($res);
echo "</pre>\n";
require 'oci8'
con = OCI8.new("[Username]", "[Password]", "localhost:1521/FREEPDB1")
statement = "SELECT 'Hello World!' FROM dual"
cursor = con.parse(statement)
cursor.exec
cursor.fetch do |row|
print row
end
package main
import (
"fmt"
"log"
"database/sql"
_ "github.com/godror/godror"
)
func main() {
// connectString format: [hostname]:[port]/[DB service name]
dsn := `user="[Username]"
password="[Password]"
connectString="localhost:1521/FREEPDB1"`
db, err := sql.Open("godror", dsn)
if err != nil {
panic(err)
}
defer db.Close()
rows, err := db.Query("SELECT 'Hello World!' FROM dual")
if err != nil {
panic(err)
}
defer rows.Close()
var strVal string
for rows.Next() {
err := rows.Scan(&strVal)
if err != nil {
log.Fatal(err)
}
fmt.Println(strVal)
}
err = rows.Err()
if err != nil {
log.Fatal(err)
}
}
注:为免疑义,本网页所用以下术语专指以下含义: