̸̸ SQL Êý¾Ý¿âµÄ±¸·ÝÓ뻹Ô
¡¾Ñ§Ï°µãµãµÎµÎ¡¿ ÔںܶàÇé¿öÓë»·¾³ÖУ¬ÎÒÃǶ¼Òª¶ÔÒÑÓеÄÊý¾Ý¿â½øÐб¸·Ý£¬ÕâÑùÒÔ·ÀÖ¹µ±ÎÒÃÇÒòÈËΪ»òÕß·þÎñÆ÷µÈÖî¶àÔÒò¶øµ¼ÖµÄÊý¾Ý¶ªÊ§£¬
´Ó¶ø¸øÎÒÃÇ´øÀ´ºÜ´óµÄÂé·³£¬ÎÒÒ²ÊǽӴ¥SQLû¶à³¤Ê±¼ä£¬¶ÔÓëËüÇ¿´óµÄÊý¾Ý¿É»Ö¸´¹¦ÄÜ Ò²Ö»ÊÇÂÔÖªÒ»¶þ£¬µ±È»ÔÚÕâÀïÒ²Ö»ÊÇ×ö¶ÔËü×öÂÔÂԵļǼ£¬
´¿´âÊÇΪÁ˼ǼһÏÂѧϰÊÕ»ñ£¬¶ÔÓ벻ȫÃæµÄµØ·½£¬»¹Íû¸÷CSDNÐֵܲ»Òª½è´ËÌß²©£¡ ¶ÔÓÚ½ÓÏÂÀ´µÄÊ»áºÜÈÃÈ˾ªÆ棡¹þ¹þ¡£µ±È»ÊǸöÍæЦ¡£
----------------------------- ±¸·Ý------------------------------------
1-->´´½¨ÓÀ¾ÃÐÔ±¸·Ý£º
exec sp_addumpdevice 'disk ','name','d:\'
backup database dbname to name µ±È»Õâ¾äÊÇ´´½¨ÍêÕûµÄ±¸·Ý£¬ ÕâÁ½¾ä¶ÔÓÚÒ»°ãÈËÀ´ËµºÜÊìϤ£¬ÊìϤµÄ¾Í
ÏñʳÌÃÀï´ò²ËʱÄÇÍëÀïµÄÒ»¿éÊó±ê´óСµÄÈ⣬ʱ²»Ê±¶¼»á±Ä³öÀ´¡£
backup database dbname to name with differential ²îÒ챸·Ý ´Ó with differential ÎÒÃǶÔÕâ¾äµÄÀí½â˳Àí³ÉÕÂÁË¡£
¶Ô±ÈÉÏÒ»¾äµÄÍêÕû±¸·Ý¡£
backup log dbname to name with norecovery ÈÕÖ¾±¸·Ý¡£ Ö®ËùÒÔÎÒÃǺóÃæÓõÄÊÇ
Ïà¹ØÎĵµ£º
mdfÎļþµÄÆäËû˵Ã÷£º¡¡¡¡ÔÚ΢ÈíµÄSQL Server 2000 Êý¾Ý¿âÓÐÈýÖÖÀàÐ͵ÄÎļþ£º
¡¡¡¡Ö÷ÒªÊý¾ÝÎļþ£¨À©Õ¹Ãû.mdfÊÇ primary data file µÄËõд£©
¡¡¡¡Ö÷ÒªÊý¾ÝÎļþ°üº¬Êý¾Ý¿âµÄÆô¶¯ÐÅÏ¢£¬²¢Ö¸ÏòÊý¾Ý¿âÖеÄÆäËûÎļþ¡£Óû§Êý¾ÝºÍ¶ÔÏó¿É´æ´¢ÔÚ´ËÎļþÖУ¬Ò²¿ÉÒÔ´æ´¢ÔÚ´ÎÒªÊý¾ÝÎļþÖС£Ã¿¸öÊý¾Ý¿âÓÐÒ»¸öÖ÷ÒªÊý¾ÝÎļþ¡£Ö÷ÒªÊý¾ÝÎļþµÄ ......
³¬´óÐÍÊý¾Ý¿âµÄ´óС³£³£´ïµ½Êý°ÙGB£¬ÓÐʱÉõÖÁÒªÓÃTBÀ´¼ÆËã¡£¶øµ¥±íµÄÊý¾ÝÁ¿ÍùÍù»á´ïµ½ÉÏÒڵļǼ£¬²¢ÇҼǼÊý»áËæ×Åʱ¼ä¶øÔö³¤¡£Õâ²»µ«Ó°Ïì×ÅÊý¾Ý¿âµÄÔËÐÐЧÂÊ£¬Ò²Ôö´óÊý¾Ý¿âµÄά»¤ÄѶȡ£³ýÁ˱íµÄÊý¾ÝÁ¿Í⣬¶Ô±í²»Í¬µÄ·ÃÎÊģʽҲ¿ÉÄÜ»áÓ°ÏìÐÔÄܺͿÉÓÃÐÔ¡£ÕâЩÎÊÌⶼ¿ÉÒÔͨ¹ý¶Ô´ó±í½øÐкÏÀí·ÖÇøµÃµ½ºÜ´óµÄ¸ÄÉÆ¡£µ±±íºÍË÷Òý ......
±¾ÎÄÑÝʾÁË SQL Server 2005 ·ÖÇø±í·ÖÇøÇл»µÄÈýÖÖÐÎʽ£º
1. Çл»·ÖÇø±íµÄÒ»¸ö·ÖÇøµ½ÆÕͨÊý¾Ý±íÖУºPartition to Table£»
2. Çл»ÆÕͨ±íÊý¾Ýµ½·ÖÇø±íµÄÒ»¸ö·ÖÇøÖУºTable to Partition£»
3. Çл»·ÖÇø±íµÄ·ÖÇøµ½ÁíÒ»·ÖÇø±í£ºPartition to Partition¡£
²¢Ö¸³öÁËÔÚ·ÖÇø±í·ÖÇøÇл»¹ý³ÌÖеÄ×¢ÒâÊÂÏî¡£
-- ´´½¨·ÖÇøº¯Ê ......
ÓÉÓÚÊý¾Ý¿â¶ÔxmlÊý¾ÝÖ±½Ó´¦ÀíÓкܶàÓÅÊÆ£¬05Ò²¶ÔÕâ·½Ãæ¼ÓÇ¿Á˹¦ÄÜ¡£
µ«Õâ·½Ãæ×ÊÁÏÉÙ£¬ËùÒÔ×Ô¼º×öÁËһЩ×ܽᣬϣÍû»á¸ø´ó¼Ò´øÀ´°ïÖú
--charry0110(Ïþ·ç²ÐÔÂ)
--×÷Õߣº³Â ......
ÔÚÊý¾Ý¿â¿ª·¢¹ý³ÌÖУ¬µ±Äã¼ìË÷µÄÊý¾ÝÖ»ÊÇÒ»Ìõ¼Ç¼ʱ£¬ÄãËù±àдµÄÊÂÎñÓï¾ä´úÂëÍùÍùʹÓÃSELECT INSERT Óï¾ä¡£µ«ÊÇÎÒÃdz£³£»áÓöµ½ÕâÑùÇé¿ö£¬¼´´Óijһ½á¹û¼¯ÖÐÖðÒ»µØ¶ÁÈ¡Ò»Ìõ¼Ç¼¡£ÄÇôÈçºÎ½â¾öÕâÖÖÎÊÌâÄØ£¿ÓαêΪÎÒÃÇÌṩÁËÒ»ÖÖ¼«ÎªÓÅÐãµÄ½â¾ö·½°¸¡£
1.1 ÓαêºÍÓαêµÄÓŵã
ÔÚÊý¾Ý¿âÖУ¬ÓαêÊÇÒ»¸ö ......