IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Adaptive Server Enterprise Sybase Discussion :

[ASE 12.5.4] problème de performance


Sujet :

Adaptive Server Enterprise Sybase

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    28
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 28
    Points : 18
    Points
    18
    Par défaut [ASE 12.5.4] problème de performance
    Bonjour,

    Voila mon petit problème.

    A l'heure actuelle j'ai deux moteur sybase sur deux machines distinct.
    la première est un moteur sybase 12.5.0 et le deuxième un moteur sybase 12.5.4 .
    J'ai developpé une application sur le moteur sybase 12.5.0 à l'aide de procédure stocké (+ de 1500 procs contenant en moyenne entre 200 et 400 lignes chacune) .

    J'ai effectué une optimisation sur l'une des procédures en utilisant des tables temporaires et des indexes. Sous sybase 12.5.0 sa ma permis de gagner du temps (je passe de 2min30 à 1min) par contre sous sybase 12.5.4 le temps a augmenté (de 30s je passe à 3 min) . Il faut savoir que les deux machines n'ont pas tout à fait les même caractéristique ( la première n'est qu'un mono processeur avec 512 de ram alors que la deuxième et un bi processeur G5 avec 4GO de ram).

    qu'elle paramètre j'aurai pu oublier de mettre à jour sur mon install de 12.5.4 qui pourrait provoquer cette différence de temps ?
    ou y'a t'il un moyen de voir ce u'exécute ma procédure ? (on m'a parlé d'explain plan sous oracle)

    Merci encore de l'aide que vous pourrez m'apporter.
    kei-kun

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Mars 2006
    Messages
    293
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2006
    Messages : 293
    Points : 182
    Points
    182
    Par défaut
    Déja quel version est sur quel serveur ?? tu peux faire un set shoplan on afin de voir le plan d'éxécution... sinon sur ta machine a deux procs, de faire la configuration max online engine a 2 number of engine a 2. Tu peux de plus utiliser le parallelisme...
    Voir le nombre of locks durant l'éxecution de tes procédures voir si ce paramètre est correctement dimenssioné car les contention sont souvent au niveau des locks..
    Voila pour une first analyse.
    A+

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    28
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 28
    Points : 18
    Points
    18
    Par défaut
    Les deux machines sont sous Unix. (5.2 pour la meilleur config l'autre je sais pas)

    concernant les processeurs se sont deux bi-processeurs G5 donc je dois passer la variable à 4 ??

    qu'est ce que tu entend par utiliser le parallélisme ?


    Voir le nombre of locks durant l'éxecution de tes procédures voir si ce paramètre est correctement dimenssioné car les contention sont souvent au niveau des locks..
    excuse moi je viens de commencer en tant que développeur sybase et admin en meme temps donc si tu pouvais être un epu plus explicite . c'est à dire qu'entend tu par paramètre sur le nombre de lock?

    merci encore de ton aide

  4. #4
    Membre chevronné

    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    1 307
    Détails du profil
    Informations personnelles :
    Âge : 64
    Localisation : Suisse

    Informations forums :
    Inscription : Janvier 2006
    Messages : 1 307
    Points : 1 828
    Points
    1 828
    Par défaut
    La première chose à faire est d'exécuter la requête qui pose problème dans les deux environnements en positionnant le "SET SHOWPLAN ON" et "SET STATISTICS IO ON".

    Cela permettra de voir si le plan d'exécution est le même (ce qui n'est probablement pas le cas), et dans quelles tables il y a le plus d'IO (physiques et logiques).

    Ensuite il faudra voir quelles sont éventuellement les différences de configurations entre les deux serveurs (mémoire cache, principalement).

    Tu peux exécuter "sp_cacheconfig" pour voir comment sont configurées les caches sur les deux serveurs.

    Ces deux actions devraient déjà permettre d'y voir un peu plus clairs.

    Michael
    Michael Peppler
    Membre de TeamSybase - www.teamsybase.com

    "A successful [software] tool is one that was used to do something undreamed of by its author." -- S. C. Johnson

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    28
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 28
    Points : 18
    Points
    18
    Par défaut
    Concernant la mémoire cache les deux serveurs ont 50MO de cache. (MAJ hier sur le nouveau serveur mais sa n'a eu aucune incidence sur mon problème)

    Si sa peut aider voici les deux explain plan de ma requête optimisé.
    la première est sur l'ancien serveur (petite config mais les temps de réponse pour cette requête sont plus rapide...) et le deuxième est le nouveau serveur (config importante mais temps moins rapide...).
    (La charge sur les deux serveur est approximativement la même.)
    ancien serveur :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
     
     
    QUERY PLAN FOR STATEMENT 1 (at line 1). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 2 (at line 7). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 3 (at line 13). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 4 (at line 19). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 5 (at line 20). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 6 (at line 21). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 7 (at line 22). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 8 (at line 23). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 9 (at line 24). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 10 (at line 25). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 11 (at line 30). 
     
     
     
     
        STEP 1 
            The type of query is DECLARE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 12 (at line 33). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 13 (at line 34). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 14 (at line 36). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 15 (at line 39). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Index : IX_OrdrePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                AnneeGestionOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With MRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #OrdrePaiement1 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 16 (at line 51). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Index : IX_OrdrePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                AnneeGestionOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #DDRUOrdrePaiement2 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 17 (at line 61). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Index : IX_OrdrePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                AnneeGestionOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #DDRU2OrdrePaiement3 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 18 (at line 71). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Engagement 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Engagement 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 19 (at line 80). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #OrdrePaiement1 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP1 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 20 (at line 89). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP1 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 21 (at line 103). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #DDRUOrdrePaiement2 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP2 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 22 (at line 111). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP2 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #2Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 23 (at line 125). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #DDRU2OrdrePaiement3 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP3 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 24 (at line 133). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP3 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #3Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 25 (at line 149). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
            Worktable1 created for REFORMATTING. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is UPDATE. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #2Reglement_DDRU 
                R2 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                Worktable1. 
            EXISTS TABLE : nested iteration. 
            Using Clustered Index. 
            Forward scan. 
            Positioning by key. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 26 (at line 157). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is deferred. 
     
     
            FROM TABLE 
                #2Reglement_DDRU 
                R2 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
     
     
            Run subquery 1 (at nesting level 1). 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
        STEP 1 
     
     
    NESTING LEVEL 1 SUBQUERIES FOR STATEMENT 26. 
     
     
      QUERY PLAN FOR SUBQUERY 1 (at nesting level 1 and at line 160). 
     
     
        Correlated Subquery. 
        Subquery under an EXISTS predicate. 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
            Evaluate Ungrouped ANY AGGREGATE. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
     
     
      END OF QUERY PLAN FOR SUBQUERY 1. 
     
     
     
     
     
     
    QUERY PLAN FOR STATEMENT 27 (at line 164). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
            Worktable1 created for REFORMATTING. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is UPDATE. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #3Reglement_DDRU 
                R2 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                Worktable1. 
            EXISTS TABLE : nested iteration. 
            Using Clustered Index. 
            Forward scan. 
            Positioning by key. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 28 (at line 171). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is deferred. 
     
     
            FROM TABLE 
                #3Reglement_DDRU 
                R2 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
     
     
            Run subquery 1 (at nesting level 1). 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
        STEP 1 
     
     
    NESTING LEVEL 1 SUBQUERIES FOR STATEMENT 28. 
     
     
      QUERY PLAN FOR SUBQUERY 1 (at nesting level 1 and at line 174). 
     
     
        Correlated Subquery. 
        Subquery under an EXISTS predicate. 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
            Evaluate Ungrouped ANY AGGREGATE. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
     
     
      END OF QUERY PLAN FOR SUBQUERY 1. 
     
     
     
     
     
     
    QUERY PLAN FOR STATEMENT 29 (at line 178). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 2 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 30 (at line 187). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
    (1 row affected)
    (1 row affected)
    (1122 rows affected)
    (7 rows affected)
    (1200 rows affected)
    (115049 rows affected)
    (3958 rows affected)
    (84 rows affected)
    (17 rows affected)
    (5 rows affected)
    (4089 rows affected)
    (82 rows affected)
    Server Message:  Number  1562, Severity  10
    Server 'NABD', Line 149:
    The sort for Worktable1 is done in Serial   
    (3 rows affected)
    (2 rows affected)
    Server Message:  Number  1562, Severity  10
    Server 'NABD', Line 164:
    The sort for Worktable1 is done in Serial   
    (57 rows affected)
    (25 rows affected)
    (111 rows affected)
    (1 row affected)
    (1 row affected)

    je met le deuxième dans un autre poste car il y a trop de caractères


    désolé si c'est très long mais j'avoue que je n'arrive pas trop à comprendre ces fichiers et surtout à voir comment optimiser en modifiant des paramètres systèmes.

    J'ai activé le deuxième processeur en mettant 2 dans nombre de processeur et sa n'a pas non plus changé grand chose...

    Sinon il reste toujour ma question sur le fait que se sont 2 bi-processeurs donc est ce que je doit mettre le nombre de processeurs à 4 ou 2 ???

    Merci encore pour votre aide

  6. #6
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2006
    Messages
    28
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2006
    Messages : 28
    Points : 18
    Points
    18
    Par défaut
    nouveau serveur :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
     
    QUERY PLAN FOR STATEMENT 1 (at line 1). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 2 (at line 7). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 3 (at line 13). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 4 (at line 19). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 5 (at line 20). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 6 (at line 21). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 7 (at line 22). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 8 (at line 23). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 9 (at line 24). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 10 (at line 25). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 11 (at line 30). 
     
     
     
     
        STEP 1 
            The type of query is DECLARE. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 12 (at line 33). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 13 (at line 34). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 14 (at line 36). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 15 (at line 39). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #OrdrePaiement1 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 16 (at line 51). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Index : IX_OrdrePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                AnneeGestionOrdrePaiement  ASC 
            Using I/O Size 16 Kbytes for index leaf pages. 
            With MRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #DDRUOrdrePaiement2 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 17 (at line 63). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                OrdrePaiement 
            Nested iteration. 
            Index : IX_OrdrePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                AnneeGestionOrdrePaiement  ASC 
            Using I/O Size 16 Kbytes for index leaf pages. 
            With MRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #DDRU2OrdrePaiement3 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 18 (at line 75). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Engagement 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Engagement 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 19 (at line 84). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #OrdrePaiement1 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP1 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 20 (at line 93). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP1 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 21 (at line 107). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #DDRUOrdrePaiement2 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP2 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 22 (at line 115). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP2 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #2Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 23 (at line 129). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #DDRU2OrdrePaiement3 
                O1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                LignePaiement 
                LP1 
            Nested iteration. 
            Index : FK_LignePaiement_02 
            Forward scan. 
            Positioning by key. 
            Keys are: 
                IdOrdrePaiement  ASC 
            Using I/O Size 2 Kbytes for index leaf pages. 
            With LRU Buffer Replacement Strategy for index leaf pages. 
            Using I/O Size 2 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #LP3 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 24 (at line 137). 
     
     
     
     
        STEP 1 
            The type of query is SELECT (into Worktable1). 
            GROUP BY 
            Evaluate Grouped SUM OR AVERAGE AGGREGATE. 
     
     
            FROM TABLE 
                #LP3 
                LP1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #Engagement 
                E1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                Worktable1. 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #3Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 25 (at line 153). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
            Worktable1 created for REFORMATTING. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is UPDATE. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #2Reglement_DDRU 
                R2 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                Worktable1. 
            EXISTS TABLE : nested iteration. 
            Using Clustered Index. 
            Forward scan. 
            Positioning by key. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 26 (at line 161). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is deferred. 
     
     
            FROM TABLE 
                #2Reglement_DDRU 
                R2 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
     
     
            Run subquery 1 (at nesting level 1). 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
        STEP 1 
     
     
    NESTING LEVEL 1 SUBQUERIES FOR STATEMENT 26. 
     
     
      QUERY PLAN FOR SUBQUERY 1 (at nesting level 1 and at line 164). 
     
     
        Correlated Subquery. 
        Subquery under an EXISTS predicate. 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
            Evaluate Ungrouped ANY AGGREGATE. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
     
     
      END OF QUERY PLAN FOR SUBQUERY 1. 
     
     
     
     
     
     
    QUERY PLAN FOR STATEMENT 27 (at line 168). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is direct. 
            Worktable1 created for REFORMATTING. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                Worktable1. 
     
     
        STEP 2 
            The type of query is UPDATE. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                #3Reglement_DDRU 
                R2 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
     
     
            FROM TABLE 
                Worktable1. 
            EXISTS TABLE : nested iteration. 
            Using Clustered Index. 
            Forward scan. 
            Positioning by key. 
            Using I/O Size 16 Kbytes for data pages. 
            With LRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 28 (at line 175). 
     
     
     
     
        STEP 1 
            The type of query is INSERT. 
            The update mode is deferred. 
     
     
            FROM TABLE 
                #3Reglement_DDRU 
                R2 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
     
     
            Run subquery 1 (at nesting level 1). 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement_DDRU 
            Using I/O Size 2 Kbytes for data pages. 
        STEP 1 
     
     
    NESTING LEVEL 1 SUBQUERIES FOR STATEMENT 28. 
     
     
      QUERY PLAN FOR SUBQUERY 1 (at nesting level 1 and at line 178). 
     
     
        Correlated Subquery. 
        Subquery under an EXISTS predicate. 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
            Evaluate Ungrouped ANY AGGREGATE. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
                R1 
            EXISTS TABLE : nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
     
     
      END OF QUERY PLAN FOR SUBQUERY 1. 
     
     
     
     
     
     
    QUERY PLAN FOR STATEMENT 29 (at line 182). 
     
     
     
     
        STEP 1 
            The type of query is CREATE TABLE. 
     
     
        STEP 2 
            The type of query is INSERT. 
            The update mode is direct. 
     
     
            FROM TABLE 
                #Reglement_DDRU 
            Nested iteration. 
            Table Scan. 
            Forward scan. 
            Positioning at start of table. 
            Using I/O Size 16 Kbytes for data pages. 
            With MRU Buffer Replacement Strategy for data pages. 
            TO TABLE 
                #Reglement 
            Using I/O Size 16 Kbytes for data pages. 
     
     
     
     
    QUERY PLAN FOR STATEMENT 30 (at line 191). 
     
     
     
     
        STEP 1 
            The type of query is SELECT. 
     
     
    (1 row affected)
    (1 row affected)
    (1181 rows affected)
    (16 rows affected)
    (1290 rows affected)
    (115135 rows affected)
    (4288 rows affected)
    (76 rows affected)
    (29 rows affected)
    (8 rows affected)
    (4398 rows affected)
    (86 rows affected)
    (4 rows affected)
    Server Message:  Number  1562, Severity  10
    Server 'NABD', Line 153:
    The sort for Worktable1 is done in Serial   
    (4 rows affected)
    Server Message:  Number  1562, Severity  10
    Server 'NABD', Line 168:
    The sort for Worktable1 is done in Serial   
    (55 rows affected)
    (31 rows affected)
    (111 rows affected)
    (1 row affected)
    (1 row affected)

  7. #7
    Membre du Club
    Inscrit en
    Mars 2007
    Messages
    137
    Détails du profil
    Informations forums :
    Inscription : Mars 2007
    Messages : 137
    Points : 68
    Points
    68
    Par défaut
    Bonjour

    ce que je constate, c'est que sur ton nouveau serveur, l'optimiseur utilise le cache de 16K alors que l'ancien non
    Pour cela, peux tu nous envoyer un "sp_cacheconfig"

    Il faudrait aussi nous envoyer un "set statistics io, time on"

    Est ce que les données des tables sont les mêmes ? J'imagine que oui mais on sait jamais (ex : OrdrePaiement)




    jeeps64

Discussions similaires

  1. [ASE 12.5] problème de performances
    Par bossun dans le forum Adaptive Server Enterprise
    Réponses: 9
    Dernier message: 29/04/2008, 18h24
  2. [ASE 12.5.4] problème de performance
    Par kei-kun dans le forum Sybase
    Réponses: 6
    Dernier message: 19/03/2007, 08h39
  3. [ASE][12.5.2]Problème de performance
    Par dngaya dans le forum Sybase
    Réponses: 1
    Dernier message: 16/12/2005, 11h48
  4. [oracle 9i][Workbench]Problème de performance
    Par nuke_y dans le forum Oracle
    Réponses: 6
    Dernier message: 03/02/2005, 17h38
  5. [ POSTGRESQL ] Problème de performance
    Par Djouls64 dans le forum PostgreSQL
    Réponses: 6
    Dernier message: 26/05/2003, 16h18

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo