Re: SQL2k Profiler: load big trace file into table, on small system ?



Steve M (SteveM@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I need to load the whole trace log file into the table. How can I do
that in the existing environment ? Is there perhaps a reg key I can
tweak to get the temp file re-directed to a different location, with
more space ?

Control Panel->System->Advanced->Environment Variables. Change TEMP and TMP.
These two environment variables are used by many programs in Windows.
You could start looking at what directories they point to now. Chances are
that you could find a lot to clean up there.

Of course, Andrews advice of using fn_trace_gettable is the right soluition
in this case. Nevertheless, the knowledge about %TEMP% and %TMP% may be
useful in the future.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: SQL 2005, sysobjects and security
    ... Marius Horak writes: ... I am not at the site, I don't know your environment, and I ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Record Counter
    ... How can I display the total records, for the table, on the form on the ... But you don't tells what environment you are working in. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: how to give create table permissions only
    ... table access to one of our environment. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: error: Cursor not returned from query
    ... During my test I have created the following query. ... Apparently you are using some environment unknown to me. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Recordset.AddNew and the recordset objects data retaining
    ... I am in an environment where bulk insert isn't an option--even though the ... underlying database is SQL server, I am using a third party OLE DB provider-- ... > insert(assuming you are using SQL server) or DTS. ...
    (microsoft.public.data.ado)