Oracle Application使用手册
- 格式:doc
- 大小:4.11 MB
- 文档页数:30
在Oracle应用程序的开发过程中,访问数据库对象和编写SQL程序是一件乏味且耗费时间的工作,对数据库进行日常管理也是需要很多SQL脚本才能完成的。
Quest Software为此提供了高效的Oracle应用开发工具-Toad(Tools of Oracle Application Developers)。
在Toad的新版本中,还加入了DBA(Database Administrator数据库管理员)模块,可以帮助DBA完成许多日常管理工作。
它最大的特点就是简单易用,访问速度快。
使用Toad,我们可以通过一个图形化的用户界面快速访问数据库,完成复杂的SQL和PL/SQL代码编辑和测试工作。
Toad由Oracle开发专家专门为开发人员而设计,是一个功能强大、结构紧凑的专业化PL/SQL开发环境。
Toad主要具有如下特点:模式浏览器(schema browser):模式浏览功能可以快速访问数据字典,浏览数据库中的表、索引、存储过程。
Toad 提供对数据库的快速访问,使用极为方便,用户界面简洁,结构安排合理。
当我们点击一个单独的数据库对象,Toad立即显示此对象的详细信息。
例如,当我们点一个数据库的表,所有和此表相关的索引、约束、存储过程、SQL语句以及和其他表的相互引用关系都在同一界面显示出来。
为了简化操作,用户可以在一个模式浏览器窗口中操作所有数据库对象。
(图Schema Browser以“Multi Line Tab”方式显示所有数据库对象)SQL编辑器(Sql Editor):SQL编辑器的主要功能是编辑、运行和调整SQL语句。
TOAD的高级编辑窗口包括众多的特性来提高开发人员编写SQL语句的产品化程度。
例如,简单地生成代码模板,在编写SQL前自动发现包的内容和列的名字等等。
SQL编辑器包括一个编辑窗口和运行结果窗口,允许开发人员在编辑的过程中测试运行结果。
SQL编辑器中不仅包括标准的编辑命令,也包括一些增强的功能,如快速查询表中的字段、将SQL语句的内容格式化等等。
DOC.NO. TIMESON-SM-2002-11-0001ANormal(公开)本地电信业务计费帐务系统ORACLE操作手册Version 1.0.02002.11.05TIMESON天辰科技 2000,2001,2002All Rights Reserved前言41.数据库的创建41.1.以下为ORACLE启动初始文件INITORA.ORA41.2.以下是建库脚本62.数据库基本操作112.1.数据库的正常启动112.2.安装启动与非安装启动122.3.独占和共享启动132.4.约束启动132.5.强制启动142.6.数据库关闭142.7.PL/SQL基本程序的编写152.7.1.SQL语言简介152.7.2.PL/SQL简介223.解决RDBMS问题323.1.性能优化323.1.1.优化存323.1.2.优化输入/输出363.1.3.优化排序403.1.4.优化索引建立403.2.备份和恢复403.2.1.备份提示413.3.O RACLE 8S ERVER诊断特性443.3.1.Oracle跟踪文件443.3.2.设置跟踪事件473.3.3.V$监视视图523.3.4.锁实用程序543.4.O RACLE错误分析和解决方案563.4.1.常见Oracle错误563.4.2.ORACLE部错误713.4.3.优先权1/优先权2问题分类和诊断操作73 3.5.常见问题78前言为了加强计费系统数据库的操作安全及更有效的管理计费系统数据库,编写该操作手册。
在该手册若有错误及遗漏的地方还望各位读者不吝指出与谅解。
1.数据库的创建以下仅为数据库创建的样例脚本,在实际系统中应根据数据库设计要与系统实际配置而改变参数:1.1.以下为ORACLE启动初始文件initora.ora#this sampale init file writen by wzy 2002/11/15db_name = "jf"instance_name = ora8#service_names = ora#db_files = 1024control_files = ("/home/oracle/OraCtl/control01.ctl", "/home/oracle/OraCtl/control02.ctl","/home/oracle/OraCtl/control03.ctl")open_cursors = 100max_enabled_roles = 50db_file_multiblock_read_count = 8db_block_buffers = 4096shared_pool_size = 52428800large_pool_size = 78643200java_pool_size = 20971520log_checkpoint_interval = 10000log_checkpoint_timeout = 1800 processes = 115parallel_max_servers = 5log_buffer = 32768max_dump_file_size = 10240global_names = true#oracle_trace_collection_name = ""db_block_size = 16384#remote_login_passwordfile = exclusive #os_authent_prefix = ""job_queue_processes = 4job_queue_interval = 60open_links = 10#large_pool_size = 614400java_pool_size = 20971520distributed_transactions = 10mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"mts_dispatchers = "(protocol=TCP)"#compatible = 8.1.0sort_area_size = 65536sort_area_retained_size = 65536# log_archive_start = true1.2.以下是建库脚本#!/bin/shORACLE_SID=ora8export ORACLE_SIDsvrmgrlconnect internalstartup nomount pfile = $ORACLE_HOME/dbs/initora.oraCREATE DATABASE "app1"controlfile reusemaxdatafiles 500maxinstances 8maxlogfiles 32character set ZHS16GBKnational character set ZHS16GBKDATAFILE '/oradata/app1/system01.dbf' SIZE 200Mlogfile group 1 ('/opt/oracle/oradata/app1/app1_redo01.log', '/oradata/app1/app1_redo01.log') SIZE 20M,group 2 ('/opt/oracle/oradata/app1/app1_redo02.log', '/oradata/app1/app1_redo02.log') SIZE 20M,group 3 ('/opt/oracle/oradata/app1/app1_redo03.log','/oradata/app1/app1_redo03.log') SIZE 20M;/opt/oracle/product/8.1.7/rdbms/admin/catalog.sql;CREATE ROLLBACK SEGMENT r0 TABLESPACE SYSTEMSTORAGE (INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS 20); ALTER ROLLBACK SEGMENT r0 ONLINE;REM ************ TABLESPACE FOR OEM_REPOSITORY ***************CREATE TABLESPACE OEM_REPOSITORY DATAFILE '/oradata/app1/oemrep01.dbf' SIZE 5M REUSEAUTOEXTEND ON NEXT 25M MAXSIZE 80MMINIMUM EXTENT 128kDEFAULT STORAGE ( INITIAL 128k NEXT 128k MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0);REM ************** TABLESPACE FOR ROLLBACK *****************CREATE TABLESPACE RBS DATAFILE '/oradata/app1/rbs01.dbf' SIZE 200M REUSE DEFAULT STORAGE ( INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED PCTINCREASE 0);REM ************** TABLESPACE FOR TEMPORARY *****************CREATE TABLESPACE TEMP DATAFILE '/oradata/app1/temp01.dbf' SIZE 200M REUSE DEFAULT STORAGE ( INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITEDPCTINCREASE 0) TEMPORARY;REM ************** TABLESPACE FOR USER *********************CREATE TABLESPACE USERS DATAFILE '/oradata/app1/users01.dbf' SIZE 50M REUSE DEFAULT STORAGE ( INITIAL 128k NEXT 128k MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0);REM ************** TABLESPACE FOR INDEX *********************CREATE TABLESPACE INDX DATAFILE '/oradata/app1/indx01.dbf' SIZE 50M REUSE DEFAULT STORAGE ( INITIAL 128k NEXT 128k MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0);REM **** Creating four rollback segments **************add rollback segment to 20***CREATE ROLLBACK SEGMENT r01 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r02 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r03 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r04 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r05 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r06 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r07 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r08 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimalCREATE ROLLBACK SEGMENT r09 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r10 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r11 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r12 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r13 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r14 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r15 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r16 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r17 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r18 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);CREATE ROLLBACK SEGMENT r19 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimalCREATE ROLLBACK SEGMENT r20 TABLESPACE RBSSTORAGE(INITIAL 128k NEXT 128k MINEXTENTS 2 MAXEXTENTS UNLIMITED optimal 4096K);ALTER ROLLBACK SEGMENT r01 ONLINE;ALTER ROLLBACK SEGMENT r02 ONLINE;ALTER ROLLBACK SEGMENT r03 ONLINE;ALTER ROLLBACK SEGMENT r04 ONLINE;ALTER ROLLBACK SEGMENT r05 ONLINE;ALTER ROLLBACK SEGMENT r06 ONLINE;ALTER ROLLBACK SEGMENT r07 ONLINE;ALTER ROLLBACK SEGMENT r08 ONLINE;ALTER ROLLBACK SEGMENT r09 ONLINE;ALTER ROLLBACK SEGMENT r10 ONLINE;ALTER ROLLBACK SEGMENT r11 ONLINE;ALTER ROLLBACK SEGMENT r12 ONLINE;ALTER ROLLBACK SEGMENT r13 ONLINE;ALTER ROLLBACK SEGMENT r14 ONLINE;ALTER ROLLBACK SEGMENT r15 ONLINE;ALTER ROLLBACK SEGMENT r16 ONLINE;ALTER ROLLBACK SEGMENT r17 ONLINE;ALTER ROLLBACK SEGMENT r18 ONLINE;ALTER ROLLBACK SEGMENT r19 ONLINE;ALTER ROLLBACK SEGMENT r20 ONLINE;ALTER ROLLBACK SEGMENT r0 OFFLINE;REM **** SYS and SYSTEM users ****************alter user sys temporary tablespace TEMP;alter user system temporary tablespace TEMP;/opt/oracle/product/8.1.7/rdbms/admin/catproc.sql;/opt/oracle/product/8.1.7/rdbms/admin/caths.sql;/opt/oracle/product/8.1.7/rdbms/admin/otrcsvr.sql;/opt/oracle/product/8.1.7/rdbms/admin/catexp.sql;/opt/oracle/product/8.1.7/rdbms/admin/catdbsyn.sql;/opt/oracle/product/8.1.7/rdbms/admin/catdefer.sql;/opt/oracle/product/8.1.7/rdbms/admin/catrep.sql;/opt/oracle/product/8.1.7/rdbms/admin/dbmspool.sql;/opt/oracle/product/8.1.7/rdbms/admin/catparr.sql;/opt/oracle/product/8.1.7/rdbms/admin/catblock.sql;connect system/manager/opt/oracle/product/8.1.7/sqlplus/admin/pupbld.sql;--create the product_profile and user_profile--CATALOG.SQL, ---加载数据库本身的数据字典视图--CATPROC.SQL, ---加载PL/SQL使用的PACKAGE--CATEXP.SQL ---加载EXPORT/IMPORT工具使用的数据字典disconnectspool offexit在数据库建立完后,可用以下语句(也可以在建库脚本中直接增加)对对tablespace增加数据文件:ALTERTABLESPACE"tablespace_name" ADD DATAFILE 'data_file_path/data_file_name' SIZE<the data file size you designed> <REUSE > <AUTOEXTEND ON NEXT{size you designed to exednd};>2.数据库基本操作2.1.数据库的正常启动正常启动数据库的选项是normal,这也是数据启动的缺省选项。
oracle19c手册中文标题:Oracle 19c 手册中文版使用指南一、引言Oracle 19c 是 Oracle 数据库的最新版本,它提供了一种全面的云和本地解决方案。
本手册将为您提供在安装、配置和使用 Oracle 19c 时所需的所有信息。
二、安装1. 系统要求:请确保您的系统满足 Oracle 19c 的最低硬件和软件需求。
2. 下载:从 Oracle 官方网站下载 Oracle 19c 安装程序。
3. 安装:按照安装向导的指示进行操作,选择适合您环境的选项。
4. 验证:安装完成后,通过运行 SQL*Plus 或其他客户端工具来验证安装是否成功。
三、配置1. 网络配置:设置数据库监听器以允许远程连接。
2. 用户管理:创建和管理数据库用户,以及分配权限。
3. 表空间管理:创建和管理表空间,以优化数据存储。
四、使用1. SQL 开发:学习如何使用 SQL Plus 或其他开发工具编写 SQL 查询和脚本。
2. 数据备份和恢复:了解如何对数据库进行备份和恢复,以防止数据丢失。
3. 性能调优:掌握如何监控和调整数据库性能,以提高系统的响应速度。
五、故障排除1. 常见问题:查阅常见问题及其解决方法。
2. 错误代码:查找错误代码及其含义,以便于诊断问题。
3. 支持资源:了解可以获取更多帮助和支持的资源。
六、结论Oracle 19c 提供了强大的功能和灵活性,无论是对于企业级应用还是个人项目,都是一个很好的选择。
希望这份手册能帮助您更好地理解和使用 Oracle19c。
七、附录包括一些参考资料和有用的链接,如官方文档、社区论坛等。
以上就是关于 Oracle 19c 手册中文版的使用指南,希望能对您有所帮助。
如果您有任何问题或建议,请随时联系我们的技术支持团队。
/goto/oraclemidsizeAUTUMN 2014YOUR BUSINESS = OUR PASSIONYou want to grow your business. We’d love to help you. How? With IT that helps you innovate.PAGE 2HOW FIT ARE YOUR APPS?We help you get your app infrastructure into shape.PAGE 2SEE-THROUGH SECURITYCan you defend your data transparently?PAGE 3CLOSE 15% MORE LEADS – GET SOCIALHow to convert leads through social media.PAGE 4SWEET CLOUD DREAMSOracle Solaris = no more cloud nightmares.PAGE 5ORACLE MAGAZINE FOR MIDSIZE COMPANIESYou just lost a sale. Move faster!We know midsize organisations need to grow without the budgets of large enterprises. We also know agility is one of the biggest advantages you have over them. So what’s our solution – ‘lite’ versions of Oracle technology? Absolutely not! Rapid, agile growth demands full-strength IT . Oracle offers you enterprise-class technology packaged to make it affordable, easy-to-use and fast to implement. It’s called Oracle Accelerate. And it could be just what you’re looking for. »Watch the video to learn more:/goto/technology/meaDon’t be average, be awesome!How do you stand out from your competitors when they all claim to be offering the same thing? Prove that they’re not.There are many ways to do that. New products, new applications, better service or faster time-to-market are just a few of the options open to you. But how do you realize those kinds of advantages? The answer is deceptively simple: do things differently. And the technology infrastructure your business relies on is a great place to start.Revolutionise your business, not (necessarily) your ITChanging things up can take you in new and exciting technological directions. But innovating doesn’t mean having to rip and replace all your existing IT . The best solutions help you make the most of your previous IT investments, while adding functionality that helps you differentiate. For example, behind the scenes of your business operations, Oracle WebLogicServer 12c works with your existing application infrastructure, to help youaccelerate application development and get new services to market before someone else does. Meanwhile, on the front line, the Oracle Sales Cloud can help your sales people augment existing CRM data with social media conversations. This can help you increase your lead closure rates by up to 15%. Smart. Cost-effective. Different. This edition of Oracle ONE Magazine shows you how to use Oracle’s complete range of integrated hardware, software and solutions to create an IT infrastructure that helps your organisation win by doing IT differently.We hope you find it useful.ORACLE ONE MAGAZINE 2ORACLE ONE MAGAZINE ALL ABOUT TECH%Oracle CloudApplications, Platform, InfrastructureOur Data Center Your Data CenterandRun some of your applications in the Oracle Cloudand others in your Private Cloud. You Choose.OracleCloudOracle ManagedPrivate CloudFonts:PRODUCTION NOTESBlack KeylinePrints!PUB NOTE:Please use center marks to align page.Please examine theseAny questions regardiplease contact Darci TREADER01L(Quarter Page Ad)Job #:Ref #:Headline:Date:Project:Type:Live:Trim:Bleed:413M_CLD_OracleCloud2_ONE213M_CLD_OracleCloud2O Cloud - Apps, Platform, Infrastructure5/21/2012EMEA Regional FulfillmentMagazineNA91mm x 129mmNASmarter decisionson the go.Oracle Business IntelligenceMobile technologies.Easily customise your analytics and design your own Mobile Business Intelligence apps.Mobility is becoming a growing requirement for businesses, according to most analysts.Now Oracle BI Mobile gives people on the go simple, secure and fast access to mission-critical data –for better informed decisions, anytime and anywhere.· See how easy it is to create your own mobile analytics app.· Experience how business users can get the same range of BI functionalitythey have on their PC, on iOS devices./goto/bi-mobile CONTACT USFor further information call:0096612739246E-mail:*********************»/solutions/midsizeSolaris.Oracle Solaris 11 is the first operating system for the cloud – butit’s also much more than that. It provides innovative, built-infeatures that deliver breakthrough high availability, advancedsecurity, efficiency and industry-leading scalability/performance tohelp businesses like yours grow.It’s just the latest chapter in the Oracle Solaris success story,proving the product’s on-going ability to help businesses succeed,no matter how the technology landscape changes.»Read the new ‘For Dummies’ Oracle Solaris guide now:/goto/it-infrastructure/meaHappily married to your vendor, orconsidering divorce?A beautiful relationship is a wonderful thing. And whether you’retalking about your life partner or your technology supplier, it comesfrom mutual trust and a commitment you can rely on for the longterm.That’s why Oracle has announced a roadmap for the Oracle Solarisoperating system and Oracle SPARC servers that runs to 2019 andbeyond. Truly a match made in Heaven!»See the roadmap for yourself here:/goto/it-infrastructure/mea5TAKE A SEAT AND FOLLOW THE COUCH CONVERSATION HERE JOIN US ON THE COUCHThe Couch is where today’s business leaders come。
Oracle Forms 12cClient Deployment Configuration Options O R A C L E W H I T E P A P E R|M A Y2016Table of ContentsIntroduction 2 Oracle Forms 12c Client Deployment Configuration Options 3 Java Applet Embedded in HTML 3 JNLP Embedded in HTML 4 Java Web Start 4 Forms Standalone Launcher 5 Conclusion 8IntroductionIn the early 1990’s, the Internet (World Wide Web) began to evolve from a system designed and used by government organizations to one used globally by the public. This transition began a wave of related technologies being born. The Internet allowed people to have immediate access to information once thought to be out of reach. Web technology, specifically Web browsers, gave developers an opportunity to deliver their applications to end-users without the need to install software on the end-user’s machine.Until the 1990’s, Oracle Forms was delivered as a t wo-tier technology. With its client and server concept, Oracle Forms required that the technology’s runtime software be installed and configured on the end-user’s machine. This meant that each end-user machine would require an administrator to install runtime software one machine at a time. Often this was a difficult task given that an organization could have thousands of end-users, who could be located anywhere in the world. As we moved toward and into the twenty first century, Oracle realized that Oracle Forms customers would begin expecting to have access to their applications in the same way as so many other applications, through a web browser. Oracle Forms 6i was the first version to fully support application deployment via a web browser. Because of the need for tight integration on the client tier, it was necessary to use Java Applet technology to host the applications. So, although applications were launched from a browser, it was actually the Java Runtime Environment (JRE) on the client that ran or hosted the applications. After more than fifteen years of web browsers supporting integration with the Java Plug-in, many browser vendors are moving to a plugin-free model. As a result, Oracle Forms needs new ways of being deployed if it is to continue using Java technology on the client tier.Beginning with Oracle Forms 12c, product users can now choose from several client configuration options. With several options available, administrators can choose which option best suits their needs. This document aims to describe each of the configuration options and how to use them. It will also explain the advantages and limitations of each.Oracle Forms 12c Client Deployment Configuration OptionsBeginning with Oracle Forms 12c, there are now four supported client deployment configuration options. The available options are as follows.»Java Applet embedded in HTML»JNLP embedded in HTML»Java Web Start (JWS)»Forms Standalone Launcher (aka Standalone or FSAL)Although each option will have minimal to no impact on the appearance and behavior of any application, each will be contained slightly differently. Enabling and configuring any of these can be accomplished in the Forms Web Configuration page (i.e. formsweb.cfg) in Fusion Middleware Control.Any examples provided in this paper assume that you have properly configured Secure Socket Layer (SSL) in the server environment, as this is the most secure way to run any web deployed application. All options can also be used with non-SSL, but this is not recommended. Refer to the Oracle HTTP Server and WebLogic Server Administration Guides for details on properly configuring SSL in your environment.Java Applet Embedded in HTMLThis option was the first offered when browsers began supporting the Java Plug-in. Its configuration is the default for any Oracle Forms installation, 12.2.1 and older. This option can be used to give the appearance that the Forms application (applet) is embedded in a web page. This is often desirable when the HTML content surrounding the Forms application contains related or integrated information. This can also be helpful when using the Forms JavaScript integration feature. Single sign-on and single sign-off are also fully supported in this configuration.Disadvantages of using this option include the requirement of a Java Plug-in and the need for a certified browser that supports the Java Plug-in. The loss of usable space taken up by the browser’s window, toolbar, and menu will also need to be tolerated.Using the Applet embedded in HTML option is simple because this is the default configuration. Simply enter a URL in the browser that appears something like one of the following.»https:///forms/frmservlet»https:///forms/frmservlet?config=defaultThese parameters/values are required for this configuration and are found in the Forms Web Configuration page of Fusion Middleware Control.Non-WebUtil Enabled Forms WebUtil Enabled FormsJNLP Embedded in HTMLEmbedded JNLP is very similar to embedded Applet, however the application is treated more like a Java Web Start application although embedded within a web page. Like an embedded Applet, embedded JNLP fully supports JavaScript integration, single sign-on, single sign-off, and the ability to visually embed the form in a web page. Embedded JNLP has the added advantage of base-64 encoding the JNLP content. This content includes most of the parameter/value pairs configured for the application. Because the base-64 encoded text is not human readable, curious end-users will be discouraged from attempting to alter any of the parameters. It should be understood that the base-64 encoding is not a security mechanism. The base-64 encoding used in this configuration is required by Java and helps to improve the performance of delivery from server to client. This configuration requires the Java Plug-in and a certified browser that supports the Java Plug-in.To use this configuration you can either use the provided example configuration named “jnlp” or create your own.»https:///forms/frmservlet?config=jnlpThese parameters/values are required for this configuration and are found in the Forms Web Configuration page of Fusion Middleware Control.Non-WebUtil Enabled Forms WebUtil Enabled FormsWhen using Java Web Start or Embedded JNLP, if the application uses custom jar files (e.g. jacob.jar, icons.jar, example.jar, etc), these should be added to extensions.jnlp. The file is located in Oracle_Home\forms\java. Open this file in a text editor and make the appropriate entries. An example is included in the file. Each entry should be added on its own line.Java Web StartJava Web Start is considered a semi-browserless configuration. The use of Java Web Start will give an Oracle Forms application the appearance of being a natively installed application rather than a web app because when running, the application is not contained by the boundaries of the browser. This is often desirable with Point of Sale applications where the only application used on the device is the POS application or in cases where the application is designed to use the full screen. Different from the functionality provided by the use of separateFrame=true (available in the previous two configurations only), the use of Web Start allow you to close the browser window used to call the application once it has started.Oracle Forms’ use of Java Web Start allows applications to be called from a browser using a hyperlink or by directly entering a URL. Alternatively, the application can be run from a JNLP file stored on the end-user machine. This method eliminates the need for a browser, except when the application is single sign-on protected. Java Web Start can also be used to call an Oracle Forms application from the command line. Although there are several variations of how Java Web Start can be used, if the application requires the use of single sign-on, it must be called from a browser. Attempts to call an SSO protected application from a static JNLP file or the command line will fail.Because this is a mostly browser-less configuration, features like single sign-off and JavaScript integration are not supported when using the Java Web Start configuration.This configuration requires the Java Plug-in be installed if calling from a browser. If not calling from a browser, either the Java Plug-in or Java Development Kit (JDK) installation is required. A browser is optional and would only be required if single sign-on is used.To use this configuration you can either use the provided example configuration named “webstart” or create your own. The application can be called from a browser or you can use the command line or custom script.»jnlps:///forms/frmservlet?config=webstart»https:///forms/frmservlet?config=webstart»javaws “https:///forms/frmservlet?config=webstart”The “jnlp” and “jnlps” protocols (used in above example) are supported with Java 8u92+ on Microsoft Windows.The following are required parameters/values for this configuration and are found in the Forms Web Configuration page of Fusion Middleware Control.Non-WebUtil Enabled Forms WebUtil Enabled FormsWhen using Java Web Start or Embedded JNLP, if the application uses custom jar files (e.g. jacob.jar, icons.jar, example.jar, etc), these should be added to extensions.jnlp. The file is located in Oracle_Home\forms\java. Open this file in a text editor and make the appropriate entries. An example is included in the file. Each entry should be added on its own line.Forms Standalone LauncherThe Forms Standalone Launcher is a fully browser-less configuration. Further, it does not require that the Java Plug-in be installed. It does require Java on the client, but it can be any one of the following; JRE, JDK, or Server JRE.With this configuration, applications are launched from the command line or custom script files by calling the platform specific “java” executable. This con figuration fully isolates the application from the Java Plug-in or Java Web Start and the browser. Using the Forms Standalone Launcher can provide the appearance of a fully native application. Single sign-on, single sign-off, and JavaScript integration are not supported with this configuration.This configuration requires that a small jar file (frmsal.jar) be stored on the end-user machine. The file can be transferred to the end-user machine using any desirable method (e.g. web download, email, ftp, etc). This file is the Forms Standalone Launcher. It is version specific, so it cannot be used with other Forms versions or patch levels.The file is staged on the server in the Oracle_Home\forms\java directory. However, a helpful usage guide that includes a download link can be easily accessed when the server is running. Administrators can easily disable, remove, or edit this page if desired. Navigate to the following to display the page.»https:///forms/html/fsal.htmTo use this configuration you can either use the provided example configuration named “standaloneapp” or create your own. The application can be called from the command line or custom script. You cannot use a browser with this configuration. The command line entry would look something like the following.»java –jar frmsal.jar –url “https:///forms/frmservlet?config=standaloneapp”»java –jar frmsal.jar –url “https:///forms/frmservlet?config=standaloneapp” –t 30000Refer to the Usage Guide mentioned above for more details on command line syntax.The following are key parameters/values used by this configuration and are found in the Forms Web Configuration page of Fusion Middleware Control.Non-WebUtil Enabled Forms WebUtil Enabled FormsIn this release, the Forms Standalone Launcher does not have the ability to determine which Java version is being used. It will be up to the Administrator and/or user to ensure that an appropriate Java version is used. Refer to Figure 1 below for a simple Microsoft Windows script (batch) example.Figure 1 - Microsoft Windows script example.ConclusionOracle Forms 12c offers a variety of possible client configurations options. Choosing which is best will depend on the application’s needs and desired appearance at runtime. Because users can choose which option suits them best, no longer will they be constrained to a single possibility. If choosing the Java Web Start or Forms Standalone Launcher options, administrators no longer have to be concerned about compatibility between browser and Java versions. This should make application deployment and manageability easier.Oracle Corporation, World Headquarters Worldwide Inquiries 500 Oracle ParkwayPhone: +1.650.506.7000 Redwood Shores, CA 94065, USAFax: +1.650.506.7200Copyright © 2016, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0116Oracle Forms 12c Client Deployment Configuration Options May 2016Author: Michael FerranteContributing Authors: Oracle Forms DevelopmentC O N N E C T W I T H U S/oracle/oracle/oracle。
1.Oracle的使用1.1. SQLPLUS的命令初始化表的位置:set NLS_LANG=american_7ascii (设置编码才可以使用下面脚本)cd $ORACLE_HOME/rdbms cd demo summit2.sql*********************************我们目前使用的是oralce 9i 9201 版本select * from v$version;恢复练习表命令:sqlplus **/** @summit2.sql //shell要在这个文件的位置。
登陆oracle的命令:sqlplus 用户名/密码show user 显示当前登陆的身份.set pause onset pause off 分页显示.oracle中默认日期和字符是左对齐,数字是右对齐table or view does not exist ; 表或示图不存在edit 命令用于自动打开vi修改刚修执行过的sql的命令。
修改方法二:l 3 先定位到行 c /旧串/新串执行出错时,利用错误号来查错误:!oerr ora 942 (装完系统后会装一个oerr工具,用于通过错误号来查看错误的具体信息)想在sql中执行unix命令时,把所有的命令前加一个!就可以,或者host( 用于从sql从切换至unix环境中去)/*** 初次使用时注意 ****运行角本时的命令:先切换到unix环境下,cd $oracle_home cd sqlplus cd demo 下面有两个角本建表语句。
@demobld.sqlsqlplus nanjing/nanjing @demobid.sql 直接运行角本,后面跟当前目录或者是绝对路径保存刚才的sql语句:save 命令第二次保存时要替换之前的角本 save 文件名 replace把刚才保的sql重新放入 buffer中spool on 开启记录spool off 关闭记录spool 文件名此命令会把所有的操作存在某个文件中去常见缩写:nls national language support 国家语言支持1.2. SQL的结构|DDL 数据库定义|DML 数据库管理SQL――Commit rollback|DCL 数据库控制|grant+revoke 权限管理表分为:系统表(数据字典),用户表注:知道数据字典可以更便于使用数据库。
1.说明此手册适用于Oracle EBS r12下的OAF开发。
OAF是Oracle Application Framework的简写。
下面的5856648的patch包名称为:Jdeveloper with OA Extension。
在R12中,OAF的开发也不在像11.5.10中,是基于Oracle Jdeveloper9.0.3版本上,而是升级到了新的Oracle Jdeveloper10g上了。
Metalink上OAF的Patch Number:5856648。
下载p5856648_R12_GENERIC.zip即可。
本文档中默认解压到E盘根目录下。
下载解压后p5856648_R12_GENERIC文件夹下有三个目录:jdevbin、jdevdoc、jdevhome,其中jdevbin中是jdeveloper10g with OA Extension的程序文件和OAF的类库,jdevdoc中存放Javadoc手册和OAF培训文档,jdevhome存放oaf用户文件和虚拟的oaf环境。
Jdevdoc目录下的文档结构如下:E:\p5856648_R12_GENERIC\jdevdoc\index.htm 打开教程文档E:\p5856648_R12_GENERIC\jdevdoc\javadoc\fwk\public\index.html包含OA Framework JavadocE:\p5856648_R12_GENERIC\jdevdoc\javadoc\aolj\index.html 包含AOL/J的Javadoc注:AOL/J类似于Form平台下的AOL,其实现方式升级为Java。
E:\p5856648_R12_GENERIC\jdevdoc\javadoc\bc4j\index.html 包含BC4J的Javadoc注:BC4J为Business Component for java的简写。
ORACLE ENTERPRISE MANAGER 10g APPLICATION MANAGEMENT PACK FOR ORACLE E-BUSINESS SUITEGRID AUTOMATION•Administration dashboard to start or stop an Oracle E-Business Suite systemservices•Step-by-step cloning interview process to guide systemadministrators through thecloning process•Cloning dashboard to monitor the enterprise-wide status ofclone jobs•Automated clone processing that includes the capability tocustomize the clone procedureand to obfuscate sensitivedata•Support for advancetopologies such as RealApplication Clusters (RAC)and virtualizationsAPPLICATION PERFORMANCE MANAGEMENT•Thresholds•Alert Notifications•Metric History•Event Log Analysis•Root Cause Analysis•End-User PerformanceMonitoring•Enterprise DashboardCONFIGURATION MANAGEMENT •Configuration Snapshot •Configuration Compare •Topology Visualization Application Management Pack for Oracle E-Business Suite version 3.1 extends Enterprise Manager 10g Grid Control to help monitor and manage an Oracle Applications system more effectively. The pack integrates Oracle Applications Manager with Grid Control to provide a consolidated, end-to- end E-Business Suite management solution.Complete SolutionThrough the management pack, you can proactively monitor the health of all Oracle E- Business Suite application components, the hosts that they run on, and the key business processes that they support. If a potential problem is spotted, you may use Oracle Enterprise Manager’s diagnostic tools to identify the root cause and fix it quickly. In addition, Oracle Enterprise Manager helps you visualize the impact of application performance in the context of business impacts, so that you can apply resources in a way that is aligned with your business priorities. With Oracle Application Management Pack for Oracle E-Business Suite, you get the tools that help you achieve the required application performance and availability, improve your management productivity, better utilize your resources, and drive down costs.Automatic Discovery of E-Business Suite SystemsGrid Control has the ability to discover Oracle E-Business Suite systems automatically. This swift and easy discovery process is quite useful when monitoring a large number of Oracle E- Business Suite instances on the Grid.Concurrent Processing DashboardThe Concurrent Processing Dashboard provides you with details in concurrent processing in your Oracle E-Business Suite system. The dashboard gives you a complete picture of concurrent processing on your system, both current activities as well as usage statistics. You can add a user-defined concurrent program as a target to the Oracle E-Business Suite composite target. You can then monitor related activities of the registered individual concurrent programs for your own specified thresholds. You can also add a user-defined concurrent manager as a target to the Oracle E-Business Suite composite target. You can then monitor related activities of the registered individual concurrent managers for your own specified thresholds.User MonitoringThe User Monitoring page enables you to link a database session to an Oracle E-Business Suite user session. In this way you can link a performance issue in a database session to activity done by that Oracle E-Business Suite user. The User Monitoring feature checks three entities: Concurrent Programs requests, Forms sessions, and Oracle Application Framework sessions to see if it can find a match for the database session ID.1SERVICE LEVEL MANAGEMENT • Service Level Objective • Business Process Service Level Monitoring • Service Metrics • Service Test • Service Level ReportsCOMPATIBILITY • Enterprise Manager GridControl: 10g R5 • Oracle E-Business Suite:11.5.10 with ATG_PF.H RUP5 or higher, Release 12.0.4 and higher, Release 12.1 •Linux, Solaris, HP/UX, AIX With Oracle Application Management Pack for Oracle E-Business Suite, you get the tools that help you achieve the required applicationperformance and availability, improve your management productivity, better utilize your resources, and drive down costs. You may also plan, organize and execute enterprise-wide clone jobs from a single location, maintain mirror systems at the same patch level and data, and have the flexibility to adapt to an enterprise’s custom clone process.RELATED PRODUCTS The following OracleEnterprise Manager products can be used with Application Management Pack for Oracle E-Business Suite to achieve end-to-end management of the complete application environment:• Diagnostic Pack for Database • Tuning Pack for Database • Configuration Management Pack for Database • Configuration Management Pack for Non-Oracle Systems • System Monitoring Plug-in for Non-Oracle Databases • System Monitoring Plug-in for Storage• System Monitoring Plug-in for Network DevicesCloning The Application Management Pack for Oracle E-Business Suite allows the Oracle E-Business Suite systems to be automatically cloned via the Grid Control provisioning framework. A step-by-step interview guides administrators though the cloning process. Complete support for Hot Mode and RAC Cloning allows customers to clone automatically an Oracle E-Business Suite Release 12 or Release 12.1 system in hot mode without shutting down the database. In addition, customers can clone an Oracle E-Business Suite system on a RAC database to another Oracle E-Business Suite system with a RAC database or a non-RAC database. Smart Clone is the next generation of cloning technology built completely on top of Enterprise Manager Grid Control, and saves considerable time in cloning Oracle E-Business Suite system. Smart Clone provides flexibility for administrators to incorporate their own custom DB cloning techniques into the pack's cloning routine. Smart Clone supports cloning of single or multi node Oracle E-Business Suite 11.5.10 CU2 systems deployed on RAC and also on Shared APPL_TOP. Key cloning scenarios supported include: RAC to RAC; RAC to Non-RAC; Scale Down (Multi Node to Single Node), etc. Additionally, administrators can modify the standard cloning process to include custom actions, such as incorporating custom scripts, commands, or SQL statements. Configuration Management Application Management Pack for Oracle E-Business Suite provides administrators with the ability to collect, compare, and search Oracle E-Business Suite configuration details, including application system summary, patches applied, application context files and related configuration files, technology stack inventory, concurrent processing configuration, Workflow configuration, user activity, and custom configuration. Service Level Management Application Management Pack for Oracle E-Business Suite automatically provides service level reporting for the key Oracle E-Business Suite infrastructure and application services. Service level alerts can be configured for throughput and availability metrics. Out of the box infrastructure services monitored are concurrent processing, Forms-based applications, HTML-based applications, and Oracle Workflow. Detailed guidelines to record and playback application services (both Forms and HTML-based) are available. Copyright 2010, Oracle. All Rights Reserved. This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor is it subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.2。
Oracle Application使用手册
目录
Page
一、如何进入Oracle系统 ___________________ 2
二、展开或收回的标志功能介绍______________ 4
三、更改密码_______________________________ 4
四、TOOL BAR 介绍 _______________________ 5
五、GUI下拉式功能选单介绍________________ 6
六、查询操作_______________________________ 12
七、Reports 打印操作________________________ 13
八、如何离开Oracle系统 ___________________ 14
版本: ORACLE APPLICATION USER’S GUIDE Release 10G
制作单位: 系统设计处
制作日期:
Oracle Application User’s guide简介
一. 如何进入Oracle系统:
1、Double Click Window95桌面上之Application 图标,即出现LOGIN 画面。
UESR NAME : M+工号 (EX: M42590) (大小写皆会转换成大写) 按ENTER键,
PASSWORD : M+工号 (EX:M42590)
按下Connect 按钮即可进入系统。
2、若使用者第一次登入此系统,则系统会要求你重新设定密
码 :
. 输入旧密码按TAB键,
. 输入新密码按TAB键,(至少要5个字符)
. 确认新密码
按下 OK 钮后完成密码变更。
** 请务必牢记自己设定之新密码,此密码将做为今后进入ORACLE任何系统使用!!
3、正确登入系统后,则会出现您可使用的系统选择画面 :
请选择要进入的系统,并按下OK 钮,系统将进入功能选单。
4、功能选择 : 请各自参考各系统的操作手册.
二、展开或收回的标志功能介绍
图标符号说明
1 向下展开一层菜单, 亦可选择Bar menu中Special的
Expand功能。
2 菜单往上收回一层, 亦可选择Bar menu中Special的
Collapse功能。
3 该子系统下之菜单全部展开, 亦可选择Bar menu中
Special的Expand
Branch功能。
4 向下展开全部菜单, 亦可选择Bar menu中Special的
Expand All功能。
5 菜单全部收回, 亦可选择Bar menu中Special的Collapse
All功能。
三、更改密码
步骤:
1.选择Special下拉式操作中的Change Password
2.输入旧密码按TAB键,
. 输入新密码按TAB键,(至少要5个字符)
. 确认新密码
按下 OK 钮后完成密码变更。
四、TOOL BAR 介绍 :
1 Navigate To Display the Navigator Window (选择作业至….)
2 Save Save any pending changes in the current
form .(存盘)
3 Save and
Proceed Save any pending changes and prepare the form for the entry of the next record.(存盘并处理)
4 Print Print the current screen.(打印)
5 Find Display the find window to retrieve
records.(清除窗体)
6 New
Record
Create a new record.(新增)
7 Delete
Record
Delete the current record.(删除)
8 Clear
Record
Clear the current record from the window.
9 Switch
Responsibili
ty Display the Responsibilities windows.(切换系统)
1 0 List of
Values
Show the list of values of the current
field.(代码查询)
五、Oracle GUI下拉式功能选单介绍
∙Action
∙Edit
∙Query
∙Go
∙Folder
∙Special
∙Help
∙Window
➢Action Menu可执行下列功能:
∙Navigate To...,亦可按工具钮: 回到原选择作业画面,可再开另一窗口
∙Zoom,亦可按工具钮 : 平常此功能都显示反白, 代表无此功能
∙Save,亦可按工具钮 :存盘并保留现有画面.
∙Save and Proceed, 亦可按工具钮 : 存盘并将现有画面清空白.
∙Print... ,亦可按工具钮 : 打印目前窗口的资料
∙Export...: 可将在Oracle查询的资料或报表,转成text档案
Excel因版本问题, 尚无法使用.
∙Refresh 更新屏幕画面资料
∙Close window 关闭现在正在使用窗口
∙Close Form 关闭现在正在使用及相关已打开使用的窗口∙Exit Oracle Applications 退出Oracle操作系统
➢Edit Menu可执行下列功能:
➢
∙Cut,亦可按Ctrl+X: 剪下Mark资料,并清除Mark的资料∙Copy,亦可按Ctrl+C: 复制Mark资料,并保留Mark的资料∙Paste,亦可按Ctrl+V: 贴上已剪下或己复制的资料.
∙Clear Field:清除光标停留字段资料
∙Duplicate Field Above : 复制上一个字段资料
∙List of Values...:用此功能,可选择某笔一资料内容,带入目前光标停留的字段。