`
wuhuizhong
  • 浏览: 692568 次
  • 性别: Icon_minigender_1
  • 来自: 中山
社区版块
存档分类
最新评论
文章列表
create or replace package reverse_engineer as procedure single_file(schema_name in varchar2); procedure multi_file(schema_name in varchar2); --產出CREATE TABLE的語法,並將相關建立Trigger、Index、Grant權限的語法產出。 PROCEDURE PRO_GENERATE_TABLE(P_OWNER VARCHAR2, P_TABLE VARCHAR2); end reverse_engineer; crea ...
1 PowerDesigner中批量根据对象的name生成comment的脚本 执行方法:Open PDM -- Tools -- Execute Commands -- Run Script Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl 'the current model 'get the current active model Set mdl = ActiveModel If (mdl Is Nothing) Then MsgBox "There is no curren ...
1.Introduction 以往性能调整常用的一些指标: * Buffer cache>90% * Data dictionary misses<10% * Sqlarea gethitratio and pinhitratio>90% (ratio of reloads<1%) * willing-to-wait latch hit ratios shalt be close to 1 但是光靠这些指标是不够的,在现实中,高缓存命中率并不总是意味着性能良好。在Oracle数据库10g第1版性能调优指南规定: When tuning, it is common t ...
Information Retrieval: Get Version: select * from v$version -- all users Get Security Patchlevel: select * from dba_registry; -- only DBA, 9i+, empty or non existing table= no Security Patch Installed Database Components: select * from dba_registry; -- only DBA Get Userlist: select * from all_user ...
最近一直在折腾大表的更新问题,今天终于有了突破。兴奋之余发个帖子跟大家分享一下心得,并且讨论一下是否还可能进一步提高处理速度。 问题是这样的:一张5亿条记录的表,没有分区。由于增加了一个冗余字段,需要根 ...
1.下載安裝python-2.6.msi在C:\Python26, 設置環境變量PATH包含"C:\Python26".   2.用svn check out Django : C:\Python26\Lib\site-packages>svn co http://code.djangoproject.com/svn/django/trunk/ django django   3.設置環境變量PATH包含"C:\Python26\Lib\site-packages\django\bin".   4.創建 Django project: E:\ ...
  CREATE OR REPLACE PROCEDURE PRO_Analyze_Table(p_name VARCHAR2, p_method VARCHAR2 := 'ESTIMATE', p_estimate_rows NUMBER := null, p_estimate_ ...
5S   :  5S管理 ABC  :  作业制成本制度 (Activity-Based Costing) ABB  :  实施作业制预算制度 (Activity-Based Budgeting) ABM  :  作业制成本管理 (Activity-Base Management) APS  :  先进规画与排程系统 (Advanced Planning and Scheduling) ASP  :  应用程序服务供货商(Application Service Provider) ATP  :  可承诺量 (Available To Promise) AVL  :  ...
0.用VMware Player打開OpenbravoERP_2.35MP5-x86.vmx: linux root密碼預設為空,用戶openbravo的密碼預設為openbravo. 1.設置IP: [openbravo@localhost ~]$ ifconfig eth0 192.168.0.201 netmask 255.255.255.0 up [openbravo@localhost ~]$ route add default gw 192.168.0.254 [openbravo@localhost ~]$ echo "nameserver 192.168.0.1&qu ...
錯誤信息: ORA-01591:此一鎖定目前是由有問題的分散式交易 7.32.72905 所持有. 發生原因: 由於遠程資料庫的異常中斷或者是關閉,本地資料庫對遠程資料庫的分散式交易會出錯. 解決方法: 方法一: alter session set "_smu_debug_mode" = 4; execute DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY('7.32.72905'); 方法二: --1.查询資料字典,以找到被鎖定的交易ID: SELECT * FROM DBA_2PC_PENDING WHERE STATE='collectin ...
1.執行dbms_xdb.sethttpport SQL> connect system as sysdba; SQL> exec dbms_xdb.sethttpport(8888);  2.修改捷徑內容中的port number C:\oraclexe\app\oracle\product\10.2.0\server\Database_homepage C:\oraclexe\app\oracle\product\10.2.0\server\Online_help
導致鎖定的幾種情況 :1. users who do not regularly commit changes 2. developers who code unnecessarily long transactions 3. developers use unnecessarily high locking levels. 鎖死的解決:1.Oracle 自動檢測deadlock 並通過回滾檢測出的deadlock 的語句來解決鎖死. 2.查出DeadLock ,执行以下语句将该进程进行清除: alter system kill session 'sid, serial#';     几個SQ ...
1.創建PACKAGE: CREATE OR REPLACE PACKAGE statspack_admin AS PROCEDURE purge_older_than_days(days IN INTEGER, area_size IN INTEGER DEFAULT NULL); /* -- submit a job to run every day at 3am deleting snaps older than 30 days -- specifying 50Mb for PGA. ...
1.Windows環境變量: JAVA_HOME:D:\Program Files\Java\jdk1.6.0_03 PATH:D:\Program Files\Java\jdk1.6.0_03\bin 2.下載解壓jruby-bin-1.1.4.zip至D:\jruby-1.1.4,增加環境變量: JRUBY_HOME:D:\jruby-1.1.4 PATH:D:\jruby-1.1.4\bin 3.命令執行 3.1.查看版本: D:\jrubyapps>jruby -v jruby 1.1.4 (ruby 1.8.6 patchlevel 114) (2008-08-28 rev ...
用"SQLite.JDBCDriver"作为JDBC的驱动程序类名。连接JDBC的URL格式为jdbc:sqlite:/path。这里的path为指定到SQLite数据库文件的路径,例如: jdbc:sqlite://dirA/dirB/dbfile jdbc:sqlite://DRIVE:/dirA/dirB/dbfile jdbc:sqlite://COMPUTERNAME/shareA/dirB/dbfile   設置environment.rb: if RUBY_PLATFORM =~ /java/ require 'rubygems' gem 'acti ...
Global site tag (gtag.js) - Google Analytics