🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #742

Re: [����]����SQL�������

#742
From: Galaxy��VOLUNTEERS��Database
Date: Thu, 18 Dec 2008 17:22
30 lines
2571 bytes
�����΢����һ��û���ر�õĽ��ͣ����Լ����о�һ�����뵽�Ŀ��ܵ�ԭ��

1. �����˶�table��lock��unlock����
Ϊ�˱���integrity�ڲ���ǰҪ����lock�����unlock�������bulk insert�Ļ����˿�
�ܾ���ʱ��unlock��

2. дtransaction log
ͬ����ȫ��������Ϻ���дtransaction log����Ȼ���

3. ���÷�ɢ�ز���ҳ�����Ǻ�ȷ��������Ϊbulk insert�϶���д��һҳ�ٻ�һҳ�ģ�
����̫�����ͨ��insert�Dz��ǻ��ɢ�ز��벻ͬҳ

��������������Ż�����ĺô������������ʲô��

�� �� qqlover ( ��ϵ����*
��Ʒ����*����shiyan����) �Ĵ������ᵽ: ��: bulk insert������ٶȵ�ԭ����ʲô��
: �� �� ZAKU (Dem����ɫ�н�����) �Ĵ������ᵽ: ��
: : �����������̫����
: : ��������߲�ѯ���ʵ�ͬʱҲ�ᵼ��ռ�ÿռ�Ͳ������ɾ��ı���
: : �����������ݿ����˶�������,����Ҫ������ȥ��,�����Ż�һ������
: : ���Ҫ���������ݵĻ�����ʹ��bulk insert,���������ٶ�
: : �����԰��������Խ�������ɱ?�Ȳ��������ɱ����������뵽�ܱ�


--
Welcome to Database Board
��ӭ������ݿ��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.29]
Technical Details
Message-ID: <4dUPV6$b4d@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,36bd7d16dba0944f
X-Google-Attributes: gid101948,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: Re: [����]����SQL�������
Date: 18 Dec 2008 17:22:38 GMT
Organization: ��ˮ˼Դ
Message-ID: <4dUPV6$b4d@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1229620950.A