Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: odbc batching
From
Argyn Kuketayev <[email protected]>
To
[email protected]
Subject
Re: st: Re: odbc batching
Date
Fri, 11 Mar 2011 10:23:37 -0500
I'm trying to download 20 million records. One issue's that odbc
command doesn't show any status. I don't know how many records are
already downloaded.
the target is MS SQL Server. it seems that odbc command is not suited
well for this sort of use. I should probably download the data
externally, then read a file from Stata.
On Thu, Mar 10, 2011 at 11:50 AM, Joseph Coveney <[email protected]> wrote:
> Argyn Kuketayev wrote:
>
> does odbc command use batching?
> it seems to be awfully slow.
>
> --------------------------------------------------------------------------------
>
> It does as of Release 11, as I understand things.
>
> Are you reading (-odbc load-) or writing (-odbc insert-)? The latter is slower
> than the former, especially if you don't temporarily turn off indexes in the
> target database.
--
Argyn Kuketayev
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/