Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

RpcTabTiming: SQLTransform takes too long?

$
0
0
SmartClient Version: v10.0p_2014-12-17/EVAL Deployment (expires 2015.02.15_07.40.12) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

Hello, I'm using the RpcTabTiming feature to analyze a fetch which seems to take too much time, respect to the time taken to execute in a oracle client.

In the 'Raw Response' tab, I see that actually it's the SQLTransform operation which takes most of the time:
Code:

{
                                name:"Unpaged fetch",
                                start:1418987042485,
                                children:[
                                    {
                                        name:"get connection",
                                        start:1418987042485,
                                        children:[
                                        ],
                                        end:1418987042508
                                    },
                                    {
                                        name:"query",
                                        start:1418987042508,
                                        children:[
                                        ],
                                        end:1418987042623
                                    },
                                    {
                                        name:"SQLTransform",
                                        start:1418987042623,
                                        children:[
                                        ],
                                        end:1418987054845
                                    }
                                ],
                                end:1418987054845
                            }

actually the select fetches 10k rows, so I'm asking:
- is it an expected processing time?
- is it possible to optimize it with SmartClient settings?

this is a sample of a fetched record:
Code:

{
            UPGRADE_WIP:false,
            PREZZO_NETTO_IVA:2603.31,
            SCONTO_PERC:0,
            DESCRIZIONE_SETTORE:"Trib. O.FooBar 1Liv.",
            ID_REC:123456,
            ARCHIVIATO_PER_STATS:false,
            ID_STATO_CONTRATTO_FK:1102190,
            FL_CONFERMATO:true,
            ID_SETTORI_FK:183757,
            DATE_CREATOR:"2013-02-05T09:44:07.000",
            PREZZO_LISTINO_SCONTO:3150,
            VALORE_SCONTATO:3150,
            ACCOUNT:"foobar",
            VALORE_PREZZO:3150,
            CONTRATTO_NUM:4133,
            ID_VOCE_LISTINO_PER_SCONTO_FK:185902,
            ID_POSTI_FK:184020,
            CODICE_SETTORE:"104",
            IS_ANNULLATO:false,
            SOGGETTO_DESC:"FooBar Food",
            ID_CONTRATTI_FK:123456,
            SERVIZI_LORDO:1150,
            NUMERO_POSTO:9,
            SCONTO_CALCOLATO:0,
            SERVIZI:950.41,
            STATO_CONTRATTO:"APP",
            IS_OMAGGIO:false,
            TICKETING:1652.89,
            ID_FILE_FK:184013,
            STAGIONE:"2013/2014",
            DATA_FATTURA:"2013-03-28",
            DATA_INCASSO:"2013-03-21",
            TIPO_SOGGETTO:"Azienda",
            eliminaRigaTransitorio:true,
            VOCE_LISTINO_SCONTO:"Trib. O.FooBar 1Liv.",
            SEGNAPOSTO_TESSERA_CONSEGNATA:false,
            PREZZO_LISTINO_SCONTO_NO_IVA:2603.3,
            SCONTO_PROX_STAGIONE:false,
            ID_STAGIONI_FK:182001,
            TICKETING_LORDO:2000,
            NUMERO_FILA:16,
            ACCOUNT_MOD:"safoobar",
            DATE_MOD:"2013-06-22T09:50:44.000",
            DATA_SOTTOSC_CLIENTE:"2013-02-25",
            NUM_TESSERA:"123456789123"
        },


Viewing all articles
Browse latest Browse all 4756

Trending Articles