HI.

Regarding number 4 in scenario 2: It is my understanding that installing
CPF - regardless of what pipelines are configured - causes overhead. If
nothing else, there are about 6 triggers installed (which a subset get run
on the insert).

Kind Regards,
David Ennis



Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 27 November 2014 at 12:28, Rahul Gupta <[email protected]> wrote:

>  Can you please let me know why Marklogic times out in mentioned
> Scenario2 whereas it quickly performs Scenario1?
>
>
>
> *Scenario1: *
>
> 1)      Create a new database.
>
> 2)      Insert 20000 documents in this database through QConsole using
> the following code.
>
> for $i in (1 to 20000)
>
> let $uri := fn:concat(“/xml”, $i, “.xml”)
>
> let $document := element{fn:concat(“cpf_”, $i)} {$i}
>
> return
>
> xdmp:document-insert($uri, $document, xdmp:default-permissions(),
> “collections”)
>
> *3)      **It takes time 4-9 seconds on ML 7.0-4.1 for DUAl CORE
> Processor with 1 forest attached only.*
>
>
>
> *Scenario2:*
>
> 1)      Install Cpf over this database and don’t mention any action on
> initial state. Rather give some action on any user-defined state.
>
> 2)      Run the same code again.
>
> 3)      All the documents inserted will go to initial state without any
> invoking of any action.
>
> *4)      **My understanding says installing cpf without any action being
> performed on initial state should give us same performance as Scenario 1
> which is not the case.*
>
> 5)      It is very long time taking query which even times out. *Tested
> with 12000 and it takes 19 minutes.*
>
>
>
>
>
> Thanks,
>
> Rahul Gupta
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to