← Back to team overview

dhis2-devs team mailing list archive

Re: Generating 2.5 mill UIDs and saving them to a file

 

By courtesy of Bob:

https://github.com/dhis2/dhis2-utils/blob/master/resources/sql/uid.sql

On Sun, Jun 25, 2017 at 11:33 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:

> Hi
>
> I need around 2.5 mill UIDs for use as event UIDs, but the following only
> returns 10,000 (this might be a browser setting - not sure):
>
> http://localhost:8080/dhis//api/26/system/id.csv?limit=
> 2500000&paging=false
>
> Any other way to generate those 2.5 mill UIDs and dump them directly out
> into a csv file?
>
> Regards
> calle
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>
> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>
> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

Follow ups

References