惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Archives - TechRepublic
Security Archives - TechRepublic
O
OpenAI News
W
WeLiveSecurity
Hacker News: Ask HN
Hacker News: Ask HN
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Troy Hunt's Blog
L
LINUX DO - 最新话题
SecWiki News
SecWiki News
Schneier on Security
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Palo Alto Networks Blog
Project Zero
Project Zero
Attack and Defense Labs
Attack and Defense Labs
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Tor Project blog
Scott Helme
Scott Helme
T
Threat Research - Cisco Blogs
Simon Willison's Weblog
Simon Willison's Weblog
Spread Privacy
Spread Privacy
Cisco Talos Blog
Cisco Talos Blog
T
Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
Google DeepMind News
Google DeepMind News
P
Privacy & Cybersecurity Law Blog
Know Your Adversary
Know Your Adversary
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
Cloudbric
Cloudbric
I
Intezer
The Hacker News
The Hacker News
L
LINUX DO - 热门话题
AI
AI
B
Blog
S
Securelist
P
Proofpoint News Feed
量子位
Jina AI
Jina AI
V2EX - 技术
V2EX - 技术
T
The Exploit Database - CXSecurity.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
CERT Recently Published Vulnerability Notes
J
Java Code Geeks
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - .NET初学者俱乐部

给 .net C# 初学者几点建议 软件设计题视频教程下载,不错哟! 地球黑匣子,这个创意怎么样? 在实际开发中碰到的小问题,保存数据时提示:对象必须实现 IConvertible asp.net中使用ajax简单例子 asp.net 版 大学英语四六级、雅思、托福考试系统应用程序实例 spread 7.0 基础知识、程序示例、设置CheckBox、image 格式 C# 操作 Excel 与 C#操作 word 示例大全 asp.net 初学者应用程序示例网 公交车上的艳遇,那对被挤扁了..... 一个 .net 程序员的梦想!大哥们帮帮我好吗? 数据访问优化性能(转载) 全面优化ADO kinmax(转贴) 如何直接将.aspx页面直接生成静态页面.htm (转载) asp.net初学者 零起点 从入门到精通的网站! 再别康桥 --徐志摩 .NET打包工具怎么注册 .dll文件?? Excel导入SQL 自定义类 一个简单的EXCEL 导入SQL 的例子
大数据量数据库转换程序写后感……
.NET初学者俱乐部 · 2007-06-06 · via 博客园 - .NET初学者俱乐部

最近我用VB6.0做了一个数据库转换程序,数据库最大50万条记录。
程序目的是对旧数据库升级到新库中,中间有新旧代码转换环节,我测试过20万的数据库,用了11个小时,我总想再提高点速度,可是看了N篇代码,想找提高的性能的方法,总找不到,我在这里升明一下,旧库和新库的同一个表的字段类型及数量不一样,关联代码不一样,需要一一对应,如果完全一样的话我就直接就SQL导库了,哈哈……

写程序特别是涉及时间的,领导们总想让时间更少些,其实我也想提高性能,可是必要的东西你必须去一步一步的处理,转换,特别是循环转换的过程中新旧代码要查找、替换,这个方面速度挺慢的。我主教了好多高手都无济于事,但是在领导眼里他们好象说我没有努力去写代码,哎!郁闷呀!这就是程序员的无耐了,其实谁不想写出高质量的代码呀!

像数据库转换这方面的程序,我认为数据正确是主要的,速度是次要的,呵呵…… 可是人总想更完美……

我们是为政府做软件,领导们想用很少的时间来做海量的工作,这是有情可愿的,是不是……