---
title: "大事务 慢于多个小事务之总"
author: "winzenghua"
date: "2010-05-12T21:23:00Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2010-05-12T21:23:00Z"
id: 987769
url: "https://java4gis.iteye.com/blog/987769"
---

我要把一个表的数据插入另张表，有3年的数据，而且每个月做了分区。根据时间来全插 虽然加了/\*+APPEND\*/ 时间也要个几个小时

而拆成 3\*12个 36个 insert into 语句 每个语句取一个月的数据，插入进去。总时间为45分钟。