B
brainpower
Unregistered / Unconfirmed
GUEST, unregistred user!
1.我用ado将数据库的记录导成xml文件,如aa.xml,已成功
2.然后将aa.xml传到远程导入到数据库当中,已成功
-----------------
现在的问题是当aa.xml的记录如果很多时(如超过10000)以上速度较慢 (附aa.xml格式)
讨论:qq.15196670 sj0714@21cn.com
- <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
- <s:Schema id="RowsetSchema">
- <s:ElementType name="row" content="eltOnly" rs:updatable="true">
- <s:AttributeType name="code" rs:number="1" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="code" rs:keycolumn="true">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="10" rs:maybenull="false" />
</s:AttributeType>
- <s:AttributeType name="name" rs:number="2" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="name">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="20" />
</s:AttributeType>
- <s:AttributeType name="classcode" rs:number="3" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="classcode">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="30" />
</s:AttributeType>
- <s:AttributeType name="classname" rs:number="4" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="classname">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="10" />
</s:AttributeType>
- <s:AttributeType name="times_column" rs:number="5" rs:rowver="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="times_column" rs:hidden="true">
<s:datatype dt:type="bin.hex" dt:maxLength="8" rs:fixedlength="true" />
</s:AttributeType>
<s:extends type="rs:rowbase" />
</s:ElementType>
</s:Schema>
- <rs:data>
<z:row code="001" name="在大仓" times_column="000000000000013c" />
<z:row code="002" name="2000" times_column="000000000000013d" />
<z:row code="003" name="3000000" times_column="000000000000013e" />
<z:row code="1000" name="仓库" times_column="000000000000013f" />
<z:row code="2000" name="专卖店" times_column="0000000000000140" />
<z:row code="3000" name="写字楼" times_column="0000000000000141" />
</rs:data>
</xml>
2.然后将aa.xml传到远程导入到数据库当中,已成功
-----------------
现在的问题是当aa.xml的记录如果很多时(如超过10000)以上速度较慢 (附aa.xml格式)
讨论:qq.15196670 sj0714@21cn.com
- <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
- <s:Schema id="RowsetSchema">
- <s:ElementType name="row" content="eltOnly" rs:updatable="true">
- <s:AttributeType name="code" rs:number="1" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="code" rs:keycolumn="true">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="10" rs:maybenull="false" />
</s:AttributeType>
- <s:AttributeType name="name" rs:number="2" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="name">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="20" />
</s:AttributeType>
- <s:AttributeType name="classcode" rs:number="3" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="classcode">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="30" />
</s:AttributeType>
- <s:AttributeType name="classname" rs:number="4" rs:nullable="true" rs:writeunknown="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="classname">
<s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="10" />
</s:AttributeType>
- <s:AttributeType name="times_column" rs:number="5" rs:rowver="true" rs:basecatalog="a1115" rs:basetable="tbsstorage" rs:basecolumn="times_column" rs:hidden="true">
<s:datatype dt:type="bin.hex" dt:maxLength="8" rs:fixedlength="true" />
</s:AttributeType>
<s:extends type="rs:rowbase" />
</s:ElementType>
</s:Schema>
- <rs:data>
<z:row code="001" name="在大仓" times_column="000000000000013c" />
<z:row code="002" name="2000" times_column="000000000000013d" />
<z:row code="003" name="3000000" times_column="000000000000013e" />
<z:row code="1000" name="仓库" times_column="000000000000013f" />
<z:row code="2000" name="专卖店" times_column="0000000000000140" />
<z:row code="3000" name="写字楼" times_column="0000000000000141" />
</rs:data>
</xml>