search
HomeDatabaseMysql Tutorial数据库应用程序迁移所带来的问题

从一台32核CPU,30G内存,800M硬盘的机器上。迁往到双节点RAC机器上,该机器每个节点8核CPU 是双核*4.硬盘和内存没什么变。 听起来是迁往一台高性能机器上,很令人兴奋不已,双节点哦! 实际上效果并非如此,其中一个节点被另外个数据库所占用,也就是那台节

从一台32核CPU,30G内存,800M硬盘的机器上。迁往到双节点RAC机器上,该机器每个节点8核CPU 是双核*4.硬盘和内存没什么变。

听起来是迁往一台高性能机器上,很令人兴奋不已,双节点哦!

 实际上效果并非如此,其中一个节点被另外个数据库所占用,也就是那台节点基本上不能全力去工作,相当于单节点。反而承担多节点管理工作!

 

UNDO和TEMP 采用两个来切换,而且每个比原来的小上10G。原来都32GUNDO和32GTEMP。

 

其中暴露出一些存储过程的SQL性能问题,比如占用太多的UNDO,TEMP和DB FILE SEQUENCE READ。

 

知道LEFT JOIN , MEGR INSERT 比 DELTET  和INSERT INTO 慢些,可数据很可靠!

 

老大原本想花三天迁移完的,实际上用了9天的时间。主要是发现存储过程中语句业务逻辑缺失些数据,没有完全从其他库上获得完整。

找这个问题所在,用老办法全量从源库 insert into xxxx@tooldb,或者从业务库再次全托。

 

 

搞这事真累! 很多事觉得做的很白费,瞎折腾。民营企业都这德性,中层或者高层下达工作指令时候都是交给你任务,马上就问什么时候完成。

你回答一个时间,他不满意,就说这个时间太长了,就说出他的希望的时间,基本上是在你的时间上缩短50%-80%。你跟他争一点,他就说你态度不好!他说这个工作很紧只有几个星期时间。

   其实他们想得比较简单,这工作就这么几下,分分钟的事情;或者以他的技术能力速度来考虑;或者他想不到干这事中会遇到技术和业务问题;或者他没想到你除了干这事,还要干其他的事,被其他琐事的事干扰!

 

   民营企业 强调的是执行力,沟通能力,主动能力,人的主观能动性,乐观向上积极奉献。

 

   反过来想,民企企业创业时一无所有,或者少有的条件,只有靠老板等老大们 发挥自己主观能动性。不过这作风会一直延续下去,并且影响到招人和用人倾向!

 

   想想自己 从中能获得些经验吧!也算是心理安慰,老板也没少给钱,虽然做出来的东西还是被人弃之一边,或者被其他同事重构掉!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
MySQL: BLOB and other no-sql storage, what are the differences?MySQL: BLOB and other no-sql storage, what are the differences?May 13, 2025 am 12:14 AM

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

MySQL Add User: Syntax, Options, and Security Best PracticesMySQL Add User: Syntax, Options, and Security Best PracticesMay 13, 2025 am 12:12 AM

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

MySQL: How to avoid String Data Types common mistakes?MySQL: How to avoid String Data Types common mistakes?May 13, 2025 am 12:09 AM

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

MySQL: String Data Types and ENUMs?MySQL: String Data Types and ENUMs?May 13, 2025 am 12:05 AM

MySQloffersechar, Varchar, text, Anddenumforstringdata.usecharforfixed-Lengthstrings, VarcharerForvariable-Length, text forlarger text, AndenumforenforcingdataAntegritywithaetofvalues.

MySQL BLOB: how to optimize BLOBs requestsMySQL BLOB: how to optimize BLOBs requestsMay 13, 2025 am 12:03 AM

Optimizing MySQLBLOB requests can be done through the following strategies: 1. Reduce the frequency of BLOB query, use independent requests or delay loading; 2. Select the appropriate BLOB type (such as TINYBLOB); 3. Separate the BLOB data into separate tables; 4. Compress the BLOB data at the application layer; 5. Index the BLOB metadata. These methods can effectively improve performance by combining monitoring, caching and data sharding in actual applications.

Adding Users to MySQL: The Complete TutorialAdding Users to MySQL: The Complete TutorialMay 12, 2025 am 12:14 AM

Mastering the method of adding MySQL users is crucial for database administrators and developers because it ensures the security and access control of the database. 1) Create a new user using the CREATEUSER command, 2) Assign permissions through the GRANT command, 3) Use FLUSHPRIVILEGES to ensure permissions take effect, 4) Regularly audit and clean user accounts to maintain performance and security.

Mastering MySQL String Data Types: VARCHAR vs. TEXT vs. CHARMastering MySQL String Data Types: VARCHAR vs. TEXT vs. CHARMay 12, 2025 am 12:12 AM

ChooseCHARforfixed-lengthdata,VARCHARforvariable-lengthdata,andTEXTforlargetextfields.1)CHARisefficientforconsistent-lengthdatalikecodes.2)VARCHARsuitsvariable-lengthdatalikenames,balancingflexibilityandperformance.3)TEXTisidealforlargetextslikeartic

MySQL: String Data Types and Indexing: Best PracticesMySQL: String Data Types and Indexing: Best PracticesMay 12, 2025 am 12:11 AM

Best practices for handling string data types and indexes in MySQL include: 1) Selecting the appropriate string type, such as CHAR for fixed length, VARCHAR for variable length, and TEXT for large text; 2) Be cautious in indexing, avoid over-indexing, and create indexes for common queries; 3) Use prefix indexes and full-text indexes to optimize long string searches; 4) Regularly monitor and optimize indexes to keep indexes small and efficient. Through these methods, we can balance read and write performance and improve database efficiency.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),