{"id":1581,"date":"2025-02-12T22:22:22","date_gmt":"2025-02-12T14:22:22","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=1581"},"modified":"2025-02-12T22:22:23","modified_gmt":"2025-02-12T14:22:23","slug":"%e5%ae%9e%e6%88%98%e9%a1%b9%e7%9b%ae%ef%bc%9a%e6%9e%84%e5%bb%ba%e4%b8%80%e4%b8%aa%e5%ae%8c%e6%95%b4%e7%9a%84-oracle-%e6%95%b0%e6%8d%ae%e5%ba%93%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/02\/12\/%e5%ae%9e%e6%88%98%e9%a1%b9%e7%9b%ae%ef%bc%9a%e6%9e%84%e5%bb%ba%e4%b8%80%e4%b8%aa%e5%ae%8c%e6%95%b4%e7%9a%84-oracle-%e6%95%b0%e6%8d%ae%e5%ba%93%e5%ba%94%e7%94%a8\/","title":{"rendered":"\u5b9e\u6218\u9879\u76ee\uff1a\u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684 Oracle \u6570\u636e\u5e93\u5e94\u7528"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">1. <strong>\u9700\u6c42\u5206\u6790\u4e0e\u6570\u636e\u5e93\u8bbe\u8ba1<\/strong><\/h4>\n\n\n\n<p>\u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u6570\u636e\u5e93\u5e94\u7528\u7684\u7b2c\u4e00\u6b65\u662f\u9700\u6c42\u5206\u6790\u3002\u5047\u8bbe\u6211\u4eec\u8981\u4e3a\u4e00\u4e2a\u7535\u5546\u5e73\u53f0\u8bbe\u8ba1\u4e00\u4e2a\u6570\u636e\u5e93\u7cfb\u7edf\u3002\u6211\u4eec\u9700\u8981\u5206\u6790\u5e73\u53f0\u7684\u9700\u6c42\uff0c\u660e\u786e\u5176\u6838\u5fc3\u529f\u80fd\uff0c\u5982\u5546\u54c1\u7ba1\u7406\u3001\u8ba2\u5355\u7ba1\u7406\u3001\u7528\u6237\u7ba1\u7406\u7b49\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9700\u6c42\u5206\u6790<\/strong>\uff1a<\/li>\n\n\n\n<li>\u7528\u6237\u7ba1\u7406\uff1a\u5305\u62ec\u7528\u6237\u6ce8\u518c\u3001\u767b\u5f55\u3001\u4e2a\u4eba\u4fe1\u606f\u7ba1\u7406\u3002<\/li>\n\n\n\n<li>\u5546\u54c1\u7ba1\u7406\uff1a\u5305\u62ec\u5546\u54c1\u7684\u6dfb\u52a0\u3001\u66f4\u65b0\u3001\u5220\u9664\u3001\u67e5\u770b\u3002<\/li>\n\n\n\n<li>\u8ba2\u5355\u7ba1\u7406\uff1a\u7ba1\u7406\u7528\u6237\u7684\u8ba2\u5355\u4fe1\u606f\uff0c\u5305\u62ec\u521b\u5efa\u8ba2\u5355\u3001\u67e5\u770b\u8ba2\u5355\u3001\u66f4\u65b0\u8ba2\u5355\u72b6\u6001\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5e93\u8bbe\u8ba1<\/strong>\uff1a<br>\u6839\u636e\u9700\u6c42\u5206\u6790\uff0c\u8bbe\u8ba1\u76f8\u5e94\u7684\u6570\u636e\u5e93\u8868\u3002\u5047\u8bbe\u6211\u4eec\u9700\u8981\u4ee5\u4e0b\u51e0\u4e2a\u8868\uff1a<\/li>\n\n\n\n<li><code>users<\/code>\uff1a\u5b58\u50a8\u7528\u6237\u4fe1\u606f\u3002<\/li>\n\n\n\n<li><code>products<\/code>\uff1a\u5b58\u50a8\u5546\u54c1\u4fe1\u606f\u3002<\/li>\n\n\n\n<li><code>orders<\/code>\uff1a\u5b58\u50a8\u8ba2\u5355\u4fe1\u606f\u3002<\/li>\n\n\n\n<li><code>order_items<\/code>\uff1a\u5b58\u50a8\u8ba2\u5355\u4e2d\u7684\u5546\u54c1\u8be6\u60c5\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u521b\u5efa\u7528\u6237\u8868\nCREATE TABLE users (\n    user_id INT PRIMARY KEY,\n    username VARCHAR(50),\n    email VARCHAR(100),\n    password VARCHAR(100),\n    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n);\n\n-- \u521b\u5efa\u5546\u54c1\u8868\nCREATE TABLE products (\n    product_id INT PRIMARY KEY,\n    product_name VARCHAR(100),\n    price DECIMAL(10, 2),\n    stock_quantity INT,\n    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n);\n\n-- \u521b\u5efa\u8ba2\u5355\u8868\nCREATE TABLE orders (\n    order_id INT PRIMARY KEY,\n    user_id INT,\n    order_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n    status VARCHAR(20),\n    FOREIGN KEY (user_id) REFERENCES users(user_id)\n);\n\n-- \u521b\u5efa\u8ba2\u5355\u9879\u8868\nCREATE TABLE order_items (\n    order_item_id INT PRIMARY KEY,\n    order_id INT,\n    product_id INT,\n    quantity INT,\n    total_price DECIMAL(10, 2),\n    FOREIGN KEY (order_id) REFERENCES orders(order_id),\n    FOREIGN KEY (product_id) REFERENCES products(product_id)\n);<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>\u6570\u636e\u5e93\u521b\u5efa\u4e0e\u7ba1\u7406<\/strong><\/h4>\n\n\n\n<p>\u5728\u6570\u636e\u5e93\u8bbe\u8ba1\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u521b\u5efa\u6570\u636e\u5e93\u8868\u5e76\u8fdb\u884c\u7ba1\u7406\u3002\u5305\u62ec\u8bbe\u7f6e\u5408\u9002\u7684\u6570\u636e\u7c7b\u578b\u3001\u7ea6\u675f\u3001\u7d22\u5f15\u7b49\uff0c\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u548c\u4e00\u81f4\u6027\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u521b\u5efa\u7d22\u5f15<\/strong>\uff1a<br>\u4e3a\u5e38\u7528\u7684\u67e5\u8be2\u5b57\u6bb5\u521b\u5efa\u7d22\u5f15\uff0c\u4ee5\u52a0\u901f\u67e5\u8be2\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-- \u521b\u5efa\u7528\u6237\u8868\u7684\u7d22\u5f15\nCREATE INDEX idx_username ON users (username);\n-- \u521b\u5efa\u8ba2\u5355\u8868\u7684\u7d22\u5f15\nCREATE INDEX idx_user_id ON orders (user_id);\n-- \u521b\u5efa\u8ba2\u5355\u9879\u8868\u7684\u7d22\u5f15\nCREATE INDEX idx_product_id ON order_items (product_id);<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6570\u636e\u5b8c\u6574\u6027\u7ba1\u7406<\/strong>\uff1a<\/li>\n\n\n\n<li>\u4e3a\u4e86\u786e\u4fdd\u8ba2\u5355\u8868\u4e2d\u6ca1\u6709\u4e0d\u5b58\u5728\u7684\u7528\u6237\uff0c\u6211\u4eec\u53ef\u4ee5\u5728 <code>orders<\/code> \u8868\u4e2d\u6dfb\u52a0\u5916\u952e\u7ea6\u675f\u3002<\/li>\n\n\n\n<li>\u540c\u6837\uff0c\u786e\u4fdd\u8ba2\u5355\u9879\u4e2d\u7684\u5546\u54c1\u4fe1\u606f\u6709\u6548\uff0c\u53ef\u4ee5\u901a\u8fc7\u5916\u952e\u7ea6\u675f\u6765\u5b9e\u73b0\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>SQL \u67e5\u8be2\u4e0e\u4f18\u5316<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5e38\u7528\u67e5\u8be2<\/strong>\uff1a<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u67e5\u8be2\u7528\u6237\u7684\u8ba2\u5355\u4fe1\u606f\uff1a <code>SELECT o.order_id, o.order_date, o.status FROM orders o WHERE o.user_id = 101;<\/code><\/li>\n\n\n\n<li>\u67e5\u8be2\u67d0\u4e2a\u5546\u54c1\u7684\u8ba2\u5355\u8be6\u60c5\uff1a <code>SELECT oi.order_item_id, oi.quantity, oi.total_price, o.order_date FROM order_items oi JOIN orders o ON oi.order_id = o.order_id WHERE oi.product_id = 2001;<\/code><\/li>\n\n\n\n<li>\u67e5\u8be2\u8ba2\u5355\u4e2d\u6bcf\u4e2a\u5546\u54c1\u7684\u6570\u91cf\u548c\u603b\u4ef7\uff1a<br><code>sql SELECT oi.product_id, SUM(oi.quantity) AS total_quantity, SUM(oi.total_price) AS total_amount FROM order_items oi GROUP BY oi.product_id;<\/code><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u67e5\u8be2\u4f18\u5316<\/strong>\uff1a<\/li>\n\n\n\n<li><strong>\u907f\u514d SELECT * \u67e5\u8be2<\/strong>\uff1a\u4ec5\u67e5\u8be2\u9700\u8981\u7684\u5b57\u6bb5\u3002<\/li>\n\n\n\n<li><strong>\u4f7f\u7528\u5408\u9002\u7684\u7d22\u5f15<\/strong>\uff1a\u786e\u4fdd\u7d22\u5f15\u5728\u67e5\u8be2\u7684 WHERE \u5b50\u53e5\u4e2d\u4f7f\u7528\u5230\u7684\u5b57\u6bb5\u4e0a\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">4. <strong>\u5b58\u50a8\u8fc7\u7a0b\u4e0e\u89e6\u53d1\u5668\u7684\u4f7f\u7528<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b58\u50a8\u8fc7\u7a0b<\/strong>\uff1a\u521b\u5efa\u4e00\u4e2a\u5b58\u50a8\u8fc7\u7a0b\u7528\u4e8e\u5904\u7406\u8ba2\u5355\u7684\u521b\u5efa\uff0c\u81ea\u52a8\u8ba1\u7b97\u6bcf\u4e2a\u8ba2\u5355\u7684\u603b\u91d1\u989d\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE OR REPLACE PROCEDURE create_order (\n    p_user_id INT,\n    p_product_id INT,\n    p_quantity INT\n) AS\n    v_order_id INT;\n    v_price DECIMAL(10, 2);\n    v_total_price DECIMAL(10, 2);\nBEGIN\n    -- \u521b\u5efa\u8ba2\u5355\n    INSERT INTO orders (user_id, status) VALUES (p_user_id, 'Pending')\n    RETURNING order_id INTO v_order_id;\n\n    -- \u83b7\u53d6\u5546\u54c1\u4ef7\u683c\n    SELECT price INTO v_price FROM products WHERE product_id = p_product_id;\n\n    -- \u8ba1\u7b97\u603b\u4ef7\n    v_total_price := v_price * p_quantity;\n\n    -- \u63d2\u5165\u8ba2\u5355\u9879\n    INSERT INTO order_items (order_id, product_id, quantity, total_price)\n    VALUES (v_order_id, p_product_id, p_quantity, v_total_price);\n\n    COMMIT;\nEND create_order;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u89e6\u53d1\u5668<\/strong>\uff1a\u521b\u5efa\u89e6\u53d1\u5668\u81ea\u52a8\u66f4\u65b0\u5546\u54c1\u5e93\u5b58\uff0c\u6bcf\u5f53\u8ba2\u5355\u521b\u5efa\u6216\u66f4\u65b0\u65f6\uff0c\u81ea\u52a8\u51cf\u5c11\u76f8\u5e94\u5546\u54c1\u7684\u5e93\u5b58\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE OR REPLACE TRIGGER update_stock_after_order\nAFTER INSERT ON order_items\nFOR EACH ROW\nBEGIN\n    UPDATE products\n    SET stock_quantity = stock_quantity - :NEW.quantity\n    WHERE product_id = :NEW.product_id;\nEND update_stock_after_order;<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">5. <strong>\u6027\u80fd\u8c03\u4f18\u5b9e\u6218<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u67e5\u8be2\u4f18\u5316<\/strong>\uff1a<br>\u4f7f\u7528 <code>EXPLAIN PLAN<\/code> \u5206\u6790\u67e5\u8be2\u7684\u6267\u884c\u8ba1\u5212\uff0c\u8bc6\u522b\u6027\u80fd\u74f6\u9888\u3002\u4f8b\u5982\uff0c\u68c0\u67e5\u662f\u5426\u5b58\u5728\u5168\u8868\u626b\u63cf\uff0c\u662f\u5426\u4f7f\u7528\u4e86\u7d22\u5f15\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>EXPLAIN PLAN FOR\nSELECT o.order_id, o.order_date\nFROM orders o\nWHERE o.user_id = 101;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f18\u5316\u7b56\u7565<\/strong>\uff1a<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u7d22\u5f15\u4f18\u5316<\/strong>\uff1a\u786e\u4fdd\u9891\u7e41\u67e5\u8be2\u7684\u5b57\u6bb5\u6709\u5408\u9002\u7684\u7d22\u5f15\u3002<\/li>\n\n\n\n<li><strong>\u907f\u514d\u8fc7\u591a\u7684\u8fde\u63a5<\/strong>\uff1a\u4f18\u5316\u67e5\u8be2\u8bed\u53e5\uff0c\u907f\u514d\u8fc7\u591a\u7684\u8054\u63a5\u64cd\u4f5c\u3002<\/li>\n\n\n\n<li><strong>\u5408\u7406\u4f7f\u7528\u805a\u5408\u51fd\u6570<\/strong>\uff1a\u907f\u514d\u5728\u5927\u6570\u636e\u91cf\u7684\u60c5\u51b5\u4e0b\u5bf9\u6574\u4e2a\u8868\u8fdb\u884c\u805a\u5408\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">6. <strong>\u9ad8\u6548\u67e5\u8be2\u4f18\u5316<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f18\u5316\u5927\u6570\u636e\u67e5\u8be2<\/strong>\uff1a<br>\u5bf9\u4e8e\u5927\u6570\u636e\u91cf\u7684\u67e5\u8be2\uff0c\u8003\u8651\u5206\u9875\u67e5\u8be2\u3001\u5206\u533a\u67e5\u8be2\u6216\u4f7f\u7528\u7269\u5316\u89c6\u56fe\u6765\u52a0\u901f\u67e5\u8be2\u8fc7\u7a0b\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u5206\u9875\u67e5\u8be2\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT order_id, order_date\nFROM orders\nWHERE user_id = 101\nORDER BY order_date\nFETCH FIRST 10 ROWS ONLY;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528\u7269\u5316\u89c6\u56fe<\/strong>\uff1a<br>\u5bf9\u4e8e\u590d\u6742\u7684\u67e5\u8be2\uff0c\u53ef\u4ee5\u4f7f\u7528\u7269\u5316\u89c6\u56fe\uff08Materialized View\uff09\u6765\u7f13\u5b58\u67e5\u8be2\u7ed3\u679c\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE MATERIALIZED VIEW order_summary AS\nSELECT o.user_id, SUM(oi.total_price) AS total_spent\nFROM orders o\nJOIN order_items oi ON o.order_id = oi.order_id\nGROUP BY o.user_id;<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">7. <strong>\u6570\u636e\u5e93\u6027\u80fd\u76d1\u63a7<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 Oracle \u7684 AWR \u62a5\u544a<\/strong>\uff1aAWR\uff08Automatic Workload Repository\uff09\u62a5\u544a\u662f Oracle \u63d0\u4f9b\u7684\u6027\u80fd\u76d1\u63a7\u5de5\u5177\uff0c\u901a\u8fc7 AWR \u62a5\u544a\u53ef\u4ee5\u4e86\u89e3\u7cfb\u7edf\u7684\u6027\u80fd\u74f6\u9888\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 Oracle \u7684 V$ \u89c6\u56fe<\/strong>\uff1a<code>V$<\/code> \u89c6\u56fe\u5305\u542b\u4e86\u6570\u636e\u5e93\u7684\u52a8\u6001\u6027\u80fd\u4fe1\u606f\uff0c\u5982 <code>V$SESSION<\/code>\u3001<code>V$SQL<\/code>\u3001<code>V$LOCK<\/code> \u7b49\uff0c\u53ef\u4ee5\u7528\u4e8e\u76d1\u63a7\u6570\u636e\u5e93\u7684\u72b6\u6001\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b<\/strong>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT * FROM v$session WHERE status = 'ACTIVE';<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">8. <strong>\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u6027\u80fd\u74f6\u9888\u4e0e\u89e3\u51b3\u65b9\u6848<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u74f6\u9888<\/strong>\uff1a<\/li>\n\n\n\n<li><strong>\u6162\u67e5\u8be2<\/strong>\uff1a\u5bf9\u4e8e\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u8f83\u957f\u7684 SQL \u8bed\u53e5\uff0c\u9996\u5148\u68c0\u67e5\u6267\u884c\u8ba1\u5212\uff0c\u5e76\u5bf9\u5176\u8fdb\u884c\u4f18\u5316\u3002<\/li>\n\n\n\n<li><strong>\u9501\u7ade\u4e89<\/strong>\uff1a\u5982\u679c\u6570\u636e\u5e93\u7684\u5e76\u53d1\u6027\u80fd\u5dee\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u9501\u7ade\u4e89\u5f15\u8d77\u7684\uff0c\u89e3\u51b3\u65b9\u6848\u53ef\u4ee5\u662f\u4f18\u5316\u4e8b\u52a1\u7684\u7c92\u5ea6\uff0c\u4f7f\u7528\u66f4\u7ec6\u7684\u9501\u63a7\u5236\u3002<\/li>\n\n\n\n<li><strong>\u89e3\u51b3\u65b9\u6848<\/strong>\uff1a<\/li>\n\n\n\n<li><strong>\u67e5\u8be2\u4f18\u5316<\/strong>\uff1a\u4f7f\u7528\u7d22\u5f15\u3001\u907f\u514d\u5168\u8868\u626b\u63cf\u3001\u8c03\u6574\u67e5\u8be2\u903b\u8f91\u3002<\/li>\n\n\n\n<li><strong>\u589e\u52a0\u786c\u4ef6\u8d44\u6e90<\/strong>\uff1a\u901a\u8fc7\u589e\u52a0\u5185\u5b58\u3001CPU \u548c\u5b58\u50a8\u7b49\u786c\u4ef6\u8d44\u6e90\u6765\u63d0\u5347\u6570\u636e\u5e93\u6027\u80fd\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5e93\u5206\u533a<\/strong>\uff1a\u5bf9\u4e8e\u5927\u8868\u4f7f\u7528\u5206\u533a\u7b56\u7565\uff0c\u51cf\u5c11\u5355\u6b21\u67e5\u8be2\u7684\u626b\u63cf\u91cf\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u901a\u8fc7\u8fd9\u4e2a\u5b8c\u6574\u7684\u5b9e\u6218\u9879\u76ee\uff0c\u60a8\u5c06\u80fd\u591f\u5168\u9762\u638c\u63e1 Oracle \u6570\u636e\u5e93\u7684\u5f00\u53d1\u4e0e\u4f18\u5316\u6280\u5de7\u3002\u638c\u63e1\u4e86\u9700\u6c42\u5206\u6790\u3001\u6570\u636e\u5e93\u8bbe\u8ba1\u3001SQL \u67e5\u8be2\u4f18\u5316\u3001\u5b58\u50a8\u8fc7\u7a0b\u4e0e\u89e6\u53d1\u5668\u7684\u4f7f\u7528\u4ee5\u53ca\u6027\u80fd\u8c03\u4f18\u7b49\u6280\u5de7\uff0c\u60a8\u53ef\u4ee5\u6784\u5efa\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u7684\u5927\u578b\u6570\u636e\u5e93\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u9700\u6c42\u5206\u6790\u4e0e\u6570\u636e\u5e93\u8bbe\u8ba1 \u6784\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u6570\u636e\u5e93\u5e94\u7528\u7684\u7b2c\u4e00\u6b65\u662f\u9700\u6c42\u5206\u6790\u3002\u5047\u8bbe\u6211\u4eec\u8981\u4e3a\u4e00\u4e2a\u7535\u5546\u5e73\u53f0\u8bbe\u8ba1\u4e00\u4e2a\u6570\u636e\u5e93 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-1581","post","type-post","status-publish","format-standard","hentry","category-oracle"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=1581"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1581\/revisions"}],"predecessor-version":[{"id":1582,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1581\/revisions\/1582"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=1581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=1581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=1581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}