|
VFP 愛用者社區 本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
|
上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
Ruey
註冊時間: 2003-03-12 文章: 1698 來自: tunglo
第 1 樓
|
發表於: 星期一 四月 28, 2003 6:40 pm 文章主題: IB6與MS-SQL7.0作的比較(轉貼) |
|
|
【這是一位臺灣朋友對IB6與MS-SQL7.0之間作的比較】
Sorry to write in English, because I didn't install Win98 Chinese version.
It seems like not much comparison between MS-SQL 7.0 with Interbase 6.0.
Since Inprise annouced Interbase to be Open Source, I recently really have a chance to work more on the IBX component (Interbase Express).
The last project I did for a customer:
1. Delphi BDE MSSQL Driver, with MS-SQL 7.0
2. 1.5 GB of Source Data + 2 GB of processed data = 3.5 GB
3. HP LC3 Server With 4GB HDD (By Using NT4.0 Compress Directory to reduce data size)
4. 256 MB RAM
5. PIII 350 Single Processor
6. 10/100 base Switch
Now the month end takes 2-3 hours to finished the processing ! It seems to me the only way to increase the performance is to upgrade the Hardware !
As MS-SQL 7.0 support simultenous access to multiple Harddisk, Load Balance between multi-Processor, Cached Index to larger volume of Memory. With all these features, it seems like my hardware configuration isn't powerful enought to power up MS-SQL 7.0.
But lets be mroe reality ! we can't propose the customer to buy such a hardware, it takes 2 to 3 times expensive !
After I try on Interbase Express, it was great !
MS-SQL 7.0
===========
Using BDE / ADO Insert 1,000,000 records take more than 90 minutes Delete 1,000,000 records take more than 100 minutes, the delete operation don't using stored procedure ! (Only when using Truncate is much more faster !) When Start a transaction, commit as soon as possible, the longer I start, the slower it became !
Interbase
==========
1. Disable Force Write for the Database
2. Database Page Size 4096 KB
3. IBX With TIBSQL Direct Access
** All the test done under 1 Start and Commit Transaction !!
When Insert 1,000,000 records using Local Interbase, 8 min 42 sec !
When Insert 1,000,000 records using stored procedure 3 min 13 sec !
When Delete 1,000,000 records using TIBSQL in Client-Server 48 Sec !
When Edit 1,000,000 records by Stored procedure 3 min 47 sec !
With this few test, I regain confidence on Interbase, and they even support cascade delete and update. The trigger we can write code before or after (MS-SQL 7.0 Only Support After Action) Action.
For the first time I use MS-SQL 7.0, I find it easier to modify the table and store procedure, but with Interbase, I must plan it carefully, any changes to the table, stored procedure or any meta-data that need to recreation will not be allow if some-how any relation that current metadata refer by other metadata, this is consider the most troublesome thing when I use interbase.
But when I plan out my design properly, this problem has been minimized ! And I am sure as Interbase go Open source, there will be tools to overcome this problem.
MS-SQL 7.0 5 users (USD 1428) (Malaysia Selling price)
Interbase 6.0 (As far as I know - Free) (Open Source Licience Agreement)
MS-SQL 7.0 can handle very large volume of data (which is more than Terra byte), support replication, OLAP and full text search.
But for my requirement ->
1. Data volume up to 100 GB
2. User connection up to 100 users
3. Month End process for 100 GB of Data within 1 hour
I am sure Interbase is more than enough ! |
|
回頂端 |
|
|
garfield Site Admin
註冊時間: 2003-01-30 文章: 2158
第 2 樓
|
發表於: 星期二 四月 29, 2003 12:05 am 文章主題: |
|
|
喔! 難怪我用SQL7才500MB就已經覺得比剛開始用的時候慢很多了, 不知道你是用那種後端資料庫呢? _________________ 利用>>搜尋<<的功能會比問的還要快得到答案. |
|
回頂端 |
|
|
Ruey
註冊時間: 2003-03-12 文章: 1698 來自: tunglo
第 3 樓
|
發表於: 星期二 四月 29, 2003 10:28 am 文章主題: |
|
|
我使用的是VFP7.0+Ms SQL2000及InterBase6
目前正檢測將SQL2000資料庫轉入InterBase6的方式是否可行 |
|
回頂端 |
|
|
Ruey
註冊時間: 2003-03-12 文章: 1698 來自: tunglo
第 4 樓
|
發表於: 星期三 四月 30, 2003 4:22 pm 文章主題: |
|
|
SQL2000資料庫轉入InterBase6
要注意的是預設值及PK,FK並不會幫你轉入 _________________ #############################
快樂媽咪系列幸福宅配,喝十全雞湯~原來幸福那麼簡單!!
學會VFP使用者社區的搜尋,Code才會更有趣~
############################# |
|
回頂端 |
|
|
richy2001
註冊時間: 2003-08-12 文章: 3
第 5 樓
|
發表於: 星期一 九月 15, 2003 10:20 pm 文章主題: |
|
|
請問我是用SQL2000的,其中DATABASE NAME、TABLE NAME、及PK
都是使用中文,如此我可以轉到InterBase6 or FireBird 1.5嗎? |
|
回頂端 |
|
|
Ruey
註冊時間: 2003-03-12 文章: 1698 來自: tunglo
第 6 樓
|
發表於: 星期一 九月 15, 2003 10:34 pm 文章主題: |
|
|
原則上可以
但你要試看看
建議你不要用中文建立表 _________________ #############################
快樂媽咪系列幸福宅配,喝十全雞湯~原來幸福那麼簡單!!
學會VFP使用者社區的搜尋,Code才會更有趣~
############################# |
|
回頂端 |
|
|
|
|
您 無法 在這個版面發表文章 您 無法 在這個版面回覆文章 您 無法 在這個版面編輯文章 您 無法 在這個版面刪除文章 您 無法 在這個版面進行投票 您 無法 在這個版面附加檔案 您 無法 在這個版面下載檔案
|
|