Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

SQLITEÓëACCESSÐÔÄܼòµ¥²âÊÔ¶Ô±È

Õâ¶Îʱ¼äÔÚ×öCMS£¨¿Í»§¹ÜÀíϵͳ£¬²»ÊÇÄÚÈݹÜÀí£©µÄ·ÃÎʹÜÀí¹¦ÄÜ£¬ÒªÇóʵÏÖ¶Ô·þÎñÌṩÉ豸£¬¿Í»§¶Ë£¬¼Æ·Ñ£¬È¨ÏÞÈÏÖ¤µÈÐÅÏ¢µÄ´æ´¢Í³¼Æ£¬Ô¶³Ì¹ÜÀí¡£ÒªÇóϵͳ·¢²¼Òª·½±ã£¬Ô¶³Ì¹ÜÀíÈí¼þÒªÅÜÔÚWINƽ̨¡£¿¼Âǵ½ÏµÍ³¹æÄ££¬¿Í»§ÒªÇó£¬×îºóÑ¡ÔñÁËWIN+ACCESSµÄ·½°¸£¬¶ø×î½üÓÖ·¢ÏÖÒ»¸öÃâ·ÑµÄSQLITE£¬¶øÇÒ¿ÉÄÜÔÚÒÔºóµÄÊÖ³ÖÉ豸ÉÏÓ㬻¨µãʱ¼ä×öÁËÈçϵļòµ¥ÐÔÄܲâÊÔ¡£
ACCESS ²åÈëÐÔÄܲâÊÔ£º
ƽ̨£ºSYS:WINXP;CPU:2*1.6GHZ;RAM:1G;APP:VC+ADO
1.µ¥ÌõÏÔʽÊÂÎñ£º
    1 00Ìõ£º 0.55S
   1000Ìõ£º 5s
 10000Ìõ£º 50s
2.µ¥Ìõ·ÇÏÔʽÊÂÎñ£º
     100Ìõ£º31ms
   1000Ìõ£º156ms
 10000Ìõ£º1500ms
3.ÅúÁ¿ÊÂÎñ£º
    1 00Ìõ£º16ms
   1000Ìõ£º141ms
 10000Ìõ£º1469ms
ÒÔÉÏ¿ÉÒÔ¿´³ö£¬ACCESSµ¥Ìõ·ÇÏÔʽÊÂÎñ²åÈëµÄʱ¼ä¼¸ºõºÍÅúÁ¿ÊÂÎñµÄ²åÈëʱ¼äÒ»Ñù£¬Õâ´ó¸Å¾ÍÊÇÍøÉϵóöACCESS¿ìÓÚsqliteµÄÔ­Òò°É£¬µ«ÊÇ£»µ¥Ìõ·ÇÏÔʽÊÂÎñµÄ
·½Ê½Ö»ÄÜÓõ¥Á¬½Ó£¬Èç¹ûÓжà¸öÁ¬½Ó²¢·¢·ÃÎÊ£¬Ôò»á³öÏÖÑÏÖØÎÊÌ⣬ÔÚÒ»¸öÁ´½Ó²åÈëºóµÄÏ൱³¤Ò»¶Îʱ¼äÄÚ£¨ÓÐʱÊýS£©£¬ÆäËüÁ´½Ó¶¼ÎÞ·¨²åÈëÊý¾Ý¿â¡£¿ÉÒÔÍÆÀí
ADO+ACCESSÊDzÉÓÃÁËÒ»ÖÖÀàËÆCACHEµÄ×ö·¨»º´æÁ˲Ù×÷£¬µ«ÊÇÈ´Ò»Ö±ËøסÊý¾Ý¿â¡£µ¥ÌõµÄÏÔʽÊÂÎñ¿ÉÒÔ±£Ö¤¶àÁ´½ÓµÄ·ÃÎÊ£¬µ«ÊÇËٶȻáÂýºÜ¶à£¬ÏÂÃæÔÙ¶Ô±ÈÒ»ÏÂ
SQLITEµÄ²âÊÔÐÔÄÜ£»
SQLITE PCƽ̨²åÈëÐÔÄܲâÊÔ£º
ƽ̨£ºSYS:WINXP+VMWARE+FEDORA7(LINUX2.6.21)£»CPU;1.6GHZ;RAM:412M; APP:C+SQLITE
1.µ¥ÌõÏÔʽÊÂÎñ£¨SQLITEĬÈÏΪÿ¸ö²Ù×÷¿ªÆôÊÂÎñ£©
    100Ìõ£º0.587s
  1000Ìõ£º6.962s
10000Ìõ£º56.004s
2.ÅúÁ¿ÊÂÎñ
    100Ìõ£º81ms£¨¿ÉÄÜÎó²î½Ï´ó£©
  1000Ìõ£º124ms
10000Ìõ£º1257ms
SQLITE ǶÈëʽƽ̨²åÈëÐÔÄܲâÊÔ£º
ƽ̨£ºSYS:LINUX2.6.14;CPU:HI3512 ARM9 200MHZ¼¶±ð£»RAM:32M,ROM:32M NOR FLASH;APP:C+SQLITE
1.µ¥ÌõÏÔʽÊÂÎñ£¨SQLITEĬÈÏΪÿ¸ö²Ù×÷¿ªÆôÊÂÎñ£©
    100Ìõ£º1.98s
  1000Ìõ£º19.97s
10000Ìõ£º34.63s
2.ÅúÁ¿ÊÂÎñ
    100Ìõ£º0.15s
  1000Ìõ£º0.89s
10000Ìõ£º8.24s
ÒÔÉϿɼû£º¼´Ê¹ÔÚÐéÄâ»ú»·¾³Ï£¬SQLITE²âÊԵĽá¹ûÒÀÈ»ÓëACCESS²î²»¶à¡£¶øÔÚARM+LINUXµÄƽ̨£¬NOR FLASH½ÏÂýµÄдÈëËÙ¶ÈÓ¦¸ÃÊÇÀ­µÍ²åÈëËٶȵÄÔ­Òò¡£


Ïà¹ØÎĵµ£º

C# Á¬½ÓsqlÊý¾Ý¿â¶Ô access£¬excelµ¼Èëµ¼³ö²Ù×÷


 
Ò»¡¢SQL SERVER ºÍACCESSµÄÊý¾Ýµ¼Èëµ¼³ö
³£¹æµÄÊý¾Ýµ¼Èëµ¼³ö£º
ʹÓÃDTSÏòµ¼Ç¨ÒÆÄãµÄAccessÊý¾Ýµ½SQL Server£¬Äã¿ÉÒÔʹÓÃÕâЩ²½Öè:
¡¡¡¡¡ð1ÔÚSQL SERVERÆóÒµ¹ÜÀíÆ÷ÖеÄTools£¨¹¤¾ß£©²Ëµ¥ÉÏ£¬Ñ¡ÔñData Transformation
¡¡¡¡¡ð2Services£¨Êý¾Ýת»»·þÎñ£©£¬È»ºóÑ¡Ôñ  czdImport Data£¨µ¼ÈëÊý¾Ý£©¡£
¡¡¡¡¡ ......

OPENDATASOURCE ´ò¿ªexcel¡¢access¡¢qsl

OPENDATASOURCE ´ò¿ªexcel¡¢access¡¢qsl
use test
insert into OPENDATASOURCE('SQLOLEDB', 'Data Source=192.168.2.200;User ID=sa;Password=110').test.dbo.adf--´ò¿ªÔ¶³ÌÊý¾Ý¿â
select * from OpenRowSet('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;HDR=Yes;IMEX=1;Database=c:\2003.xls', [kg$])
 --²éѯԶ³ÌÊý¾Ý ......

Failed to access IIS metabase

Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: ......

"Failed to access IIS metabase"½â¾ö·½·¨

Ô­Òò£ºIISûÓÐ×¢²á,ÎÒÊÇÔ­ÓÐϵͳµÄIISɾÁË,Ôì³ÉÔËÐÐIISÖеÄÓ¦ÓóÌÐò³öÏÖÕâÖÖ´íÎó!
½â¾ö°ì·¨:
ÔÚCMDÖнøÈëĿ¼C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727£¬ÔËÐÐaspnet_regiis
1¡¢aspnet_regiis -ga administrator£¨administratorΪµ±Ç°Óû§£©
2¡¢aspnet_regiis -i £¨×¢²áIIS£©
3¡¢iisreset /noforce £¨ÖØÆôIIS£©
......

Sqlite DateTime ÀàÐÍ ¶ÁÈ¡ºÍдÈë¸ñʽעÒâµÄÎÊÌâ

±¾ÎÄתÔØ×Ô http://www.tntserver.cn/article.asp?id=41
½ñÌìÓöµ½¸öÎÊÌâ.
Ê×ÏȲåÈëÒ»¸öDataTime¸ñʽµÄÊý¾Ý:
string sql="insert into [table] (date_time) values('" + date_time.ToString() + "'";
Ö´ÐÐÈçÉÏÃüÁî.²åÈëûÓб¨¸æ´íÎó.
µ«ÊÇ,ÎÒÓÖÓÃÒ»ÌõÃüÁî¶Áȡʱ:
string sql="select * from [table];
.....
IDataRea ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ