Oracle PL/SQL Advanced Programming

1. Composite data type-record type Ø syntax format Type name is record ( Field 1 Field 1 type [not null]: = expression 1; Field 2 Field 2 type [not null]: = expression 2; ... ) Description: records must be of the same type when values are assigned

When talking to the disciples, I met sb leaders and quit.

Zookeeper QQ numbers are subject to privacy interference. Sorry. Many people think that in the company, if you have optimized dozens of SQL bosses, you will be given a higher salary, or if you have something special about bbed recovery, you will be

Mysql common query: group by, left join, subquery, having where

I went to an interview with two cool Internet companies a few days ago and encountered problems in SQL. Well, unfortunately, let's take a look at it. Score 1. Use group Group by Dimension For example: Calculate the total score of each

InnoDB: Error: Table & quot; mysql & quot;. & quot; innodb_table_stats & quot; not found.

1. the following error is reported during Mysqldump: 2014-05-05 14:12:37 7f004a9a2700 InnoDB: Error: Table "mysql". "innodb_table_stats" not found. However, show tables indicates that it exists: But the show create table innodb_index_stats; error

ORA-01925: maximum of 80 enabled roles exceeded

ORA-01925: maximum of 80 enabled roles exceededMax_enabled_roles 9i parameter, 10 Gb or later. Specifies the maximum number of enabled roles for a user session.MAX_ENABLED_ROLES specifies the maximum number of database roles that users can enable,

Concurrent file operations in hadoop map-reduce

This operation can be performed on the map or reduce side. The following is an example of a business scenario. Brief description: Assume that the key input by reduce is Text (String), the value is BytesWritable (byte []), there are 1 million

The reason for 2000% CPU usage caused by MySQL5.6.12

Top:Top-16:41:04 up 184 days, 2 users, load average: 19.97, 18.38, 18.36Task: 584 total, 1 running, 583 sleeping, 0 stopped, 0 zombieCpu (s): 0.0% us, 0.0% sy, 41.2% ni, 58.7% id, 0.0% wa, 0.0% hi, 0.0% si, 0.0% stMem: 65923008 k total, 34622724 k

Exp/imp environment variable character set Conversion

 Exp/imp environment variable character set Conversion Note: ensure that the client encoding is the same as the database encoding to avoid character conversion. Other methods ensure that the exp client encoding is the same as the imp client

Several misunderstandings in SQL Server AlwaysOn

AlwaysOn has been released for a long time since SQL Server2012. Recently, When I consulted some customers, I was often asked if AlwaysOn should be used, from the customer's perspective, it seems that AlwaysOn is a cure for all diseases, but there

SQL Server: collation conflict between & quot; Chinese_PRC_CI_AS & quot; and & quot; SQL _Latin1_General_CP1_CI_AS & quot;

Issue: Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "SQL _Latin1_General_CP1_CI_AS" in the equal to operation. Issue One day in a multinational company, DBA set up a database Server for testing in Beijing. This DB Server is

CUME_DIST and PERCENT_RANK functions in SQL SERVER

CUME_DIST and PERCENT_RANK functions in SQL SERVERCUME_DIST and PERCENT_RANK Functions CUME_DIST: calculates the cumulative distribution of a value in a group of values in SQL Server 2012. That is, CUME_DIST calculates the relative position of a

SYS. AUD $ unable to resize, causing logon Failure

Yesterday, my colleague said that a test database could not be logged on. After logging on with PLSQL Developer, the following message is displayed: ERROR:ORA-00604: error occurred at recursive SQL level 1ORA-01653: unable to extend table SYS. AUD $

Impdp fail with ora 31623

Zookeeper impdp fail with ora 31623 FYI: Data Pump import and export job use queues, streams and java objects. If we see any job component is invalid (e.g. dbms_java, queue dictionary scripts not run, rdbms/admin/utlrp. SQL not run) we may see the

Default Value of estimate_percent and cascade when dbms_stat is used to collect statistics

The dbms_stats package can be used to collect statistics. The following syntax is usually used: exec dbms_stat.gather_table_stats (ownname => 'xxx', tabname => 'xxx', estimate_percent => xxx, method_opt => 'xxx', cascade => xxx ); Among them,

MongoDB connection security

In the past, when using relational databases, we could not access data without a user name or password. However, in MongDB, you can access the database without the user name or password by default and perform various operations. This is not safe for

MongoDB Java connection

Connect to MongoDB using Java Package mymaven; import java.net. unknownHostException; import java. util. set; import com. mongodb. basicDBObject; import com. mongodb. DB; import com. mongodb. DBCollection; import com. mongodb. DBCursor; import com.

Database optimization practices [Index]

Range Step 1: Apply the correct index Make sure that each table has a primary key.   Step 2: create an appropriate overwriting Index SalesPersonID Sales ProductID 112 NCLIX_Sales_ProductID Use Database adjustment

Detailed description of Postgre database Insert and Query performance optimization

I. PrefaceIn the past, because the table design was complex (multiple tables have direct master-slave relationships with tables), this was determined by the business logic. The insertion efficiency is simply intolerable and must be optimized. After

Oracle creates a job and regularly executes the job.

The sequence starts from 0 every morning after the Oracle stored procedure is updated. Create a stored procedure for Oracle first; For example, clearing a table Create or replace procedure pro_job_delete As Begin -- Dbms_output.put_line ('System

Use Xtrabackup to back up and restore the mysql database

For more blog posts, please note: Children without umbrellas must keep running.(Www.xuchanggang.cn) I. Xtrabackup Overview:Xtrabackup is a mysql database backup tool provided by percona and supports online hot backup. according to the official

Total Pages: 1013 1 .... 280 281 282 283 284 .... 1013 Go to: GO

Contact 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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.