I recently sorted out a class for exporting excel, which is quite helpful! Now, I hope that the experts will help you improve it!
Class file: export_excel
Call method:
Appdto2.export _ Excel exportexcel = new appdto2.export _ Excel ();Exportexcel. _
Learning Dynamic Performance Table
The20Article-- V $ waitstat
This view keeps statistics on all pending events started from the instance. It is often used when you find that the system has a large number"Buffer busy waits"Make appropriate
Cluster Time Synchronization ServiceExecute the following cluster time synchronization service configuration on two Oracle RAC nodes in the cluster.Oracle clusterware 11g 2nd and later versions require time synchronization on all nodes in the
Set feedback off
Set pagesize 0
Set heading off
Set verify off
Set linesize 100
Set trimspool on
Define dir = 'C: \ oracle \ oradata \ backup'
Define fil = '& dir \ backup_commands. SQL'
Define SPO = '& dir \ backup_output.lst'
Prompt *** spooling
Learning Dynamic Performance Table
Article 2-- V $ sesstat
According to the description in oracleonlinebook, V $ sesstat stores detailed resource usage statistics for sessions from login to logout.
Similar to V $ sysstat, this view stores statistics
Consolidate cursors and SQL in packagesBy placing cursors inside packages, you control the use of SQL in your PL/SQL code. this removes the burden of knowledge about complex joins, Etc ., from individual developers. it also allows you to maintain
Author: eygle [Copyright Disclaimer: When reprinting, please be sure to mark the original source and author information of the article in the form of hyperlinks and this statement]
Link:
Use product_user_profile To Set User Permissions
Sometimes, when logging on to SQL * Plus as a common user, we encounter the following error:Error accessing product_user_profileWarning: product user profile information not loaded!You may need to run
Learning Dynamic Performance Table
The12Article-- V $ db_object_cache
This view provides object statistics in the library cache (shared pool), provides more details than V $ librarycache, and is often used to find activity objects in the shared pool.
I recently saw an article about the development of entrepreneurial companies on the Internet, which I think is very good and useful for reference. I will extract the article below: 1. The most important thing is to share the same mind in the same
Learning Dynamic Performance Table
The13Article-- V $ open_cursor
This view lists all cursors opened by a session, which will be used in many cases. For example, you can view the number of cursor opened by each session.
When diagnosing system
Overview
In front-end web development, we often encounter the following requirements: Before rendering a page, we need to execute function1, function2, function3... after rendering the page, execute function4, function5, function6... run function7,
When your code library grows to a certain scale, you need to consider decoupling behavior from custom events. First, we understand the concept of custom events.
Depending on the framework you use, the behavior of custom events varies in some aspects.
(1) prelude
When dataset contains both primary and subtables (primary key tables and foreign key tables), sometimes the relationship constraints are too strict: for example, relational database integrity rules: 1. Object Integrity. The primary key
Preface
First of all, I would like to ask you a question: do you use uppercase or lowercase letters when writing HTML code? Some people say it is in lower case, others say it is in upper case, and others say it is okay. I would like to say it is
Use sys_connect_by_path to convert multiple rows into single-row strings.
Recently, several projects have the need to convert multiple rows into strings. Now we will write an example for your reference.
Create a table and insert data:
Create Table t_
First, we will briefly introduce some memory setting parameters related to JVM startup. Memory overflow occurs, which is closely related to the settings of these parameters.
Example description:
-Xss128k
The java stack size of each thread. The total
Scenario Description:
The topnotify project defines an abstract class pcnotify and its subclass pcnotifytrade. The pcnotifytrade object needs to be sent to Napoli Queue (Napoli is Alibaba's asynchronous call framework, message Queue as the center),
As the complexity of the project increases, external systems that need to be depended on by a project are also increasing. when building a large project, large memory is required, in this case, Maven may report an outofmemory exception. Running the
Experience:Experts know that it is necessary to start from scratch not to solve any problem. They prefer to reuse previously used solutions.
What is the design model:Christopher Alexander said: "Each pattern describes a recurring problem around us
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