{"id":13167,"date":"2019-10-09T08:58:51","date_gmt":"2019-10-09T08:58:51","guid":{"rendered":"https:\/\/dbtut.com\/?p=13167"},"modified":"2019-10-09T08:58:51","modified_gmt":"2019-10-09T08:58:51","slug":"enable-trace-for-a-session-in-oracle","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/","title":{"rendered":"Enable Trace For a Session in Oracle"},"content":{"rendered":"<p>You may need to enable trace for a session for many reasons. For example, you may need to determine which queries run in a session.<\/p>\n<p>You can enable trace for a session with the DBMS_MONITOR.session_trace_enable procedure. Use of the procedure and the parameters it passes are as follows.<\/p>\n<pre class=\"lang:default decode:true \">DBMS_MONITOR.SESSION_TRACE_ENABLE(\r\n    session_id   IN  BINARY_INTEGER DEFAULT NULL,\r\n    serial_num   IN  BINARY_INTEGER DEFAULT NULL,\r\n    waits        IN  BOOLEAN DEFAULT TRUE,\r\n    binds        IN  BOOLEAN DEFAULT FALSE,\r\n    plan_stat    IN  VARCHAR2 DEFAULT NULL);<\/pre>\n<h2>Example<\/h2>\n<h3>Enable Trace<\/h3>\n<p>The following command can be used to start trace for a session with session id 1153.<\/p>\n<pre class=\"lang:default decode:true \">SQL&gt; EXEC DBMS_MONITOR.session_trace_enable(session_id =&gt;1153, waits=&gt;TRUE, binds=&gt;TRUE);\r\n\r\nPL\/SQL procedure successfully completed.<\/pre>\n<p>If &#8220;binds =&gt; TRUE&#8221; is not specified, the variables used during the session will not be written. Therefore, &#8220;binds =&gt; TRUE&#8221; must be specified.<\/p>\n<h3>Trace Directory Information<\/h3>\n<p>We can find the trace directory information with the following query.<\/p>\n<pre class=\"lang:default decode:true \">SQL&gt; SELECT p.tracefile\r\nFROM   v$session s\r\n       JOIN v$process p ON s.paddr = p.addr\r\nWHERE  s.sid = 1153;\r\n\r\nTRACEFILE\r\n--------------------------------------------------------------------------------\r\n\/u01\/app\/oracle\/diag\/rdbms\/testdb\/TESTDB2\/trace\/TESTDB2_ora_11011484.trc<\/pre>\n<h3>Disable Trace<\/h3>\n<p>We can use the DBMS_MONITOR.SESSION_TRACE_DISABLE procedure to disable the trace process.<\/p>\n<pre class=\"lang:default decode:true \">DBMS_MONITOR.SESSION_TRACE_DISABLE(\r\n   session_id      IN     BINARY_INTEGER DEFAULT NULL,\r\n   serial_num      IN     BINARY_INTEGER DEFAULT NULL);<\/pre>\n<p>We can disable the trace we have enabled as follows.<\/p>\n<pre class=\"lang:default decode:true \">SQL&gt; exec DBMS_MONITOR.SESSION_TRACE_DISABLE(session_id =&gt;1153);\r\n\r\nPL\/SQL procedure successfully completed.<\/pre>\n<h3>Read Trace File<\/h3>\n<p>The contents of the trace file will be as follows.<\/p>\n<pre class=\"lang:default decode:true \">Trace file \/u01\/app\/oracle\/diag\/rdbms\/testdb\/TESTDB2\/trace\/TESTDB2_ora_11011484.trc\r\nOracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production\r\nWith the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,\r\nData Mining and Real Application Testing options\r\nORACLE_HOME = \/u01\/app\/oracle\/product\/11.2.0\/dbhome_1\r\nSystem name:    AIX\r\nNode name:      oradb2\r\nRelease:        1\r\nVersion:        7\r\nMachine:        00F745F54C00\r\nInstance name: TESTDB2\r\nRedo thread mounted by this instance: 2\r\nOracle process number: 64\r\nUnix process pid: 11011484, image: oracle@oradb2\r\n\r\n\r\n*** 2018-11-29 17:23:21.648\r\n*** SESSION ID:(1153.50309) 2018-11-29 17:23:21.648\r\n*** CLIENT ID:() 2018-11-29 17:23:21.648\r\n*** SERVICE NAME:(TESTDB) 2018-11-29 17:23:21.648\r\n*** MODULE NAME:(TOAD 13.0.0.80) 2018-11-29 17:23:21.648\r\n*** ACTION NAME:(59930432,284684816,285133360) 2018-11-29 17:23:21.648\r\n \r\nCLOSE #4574988368:c=23,e=39,dep=0,type=1,tim=56146470874665\r\nLOBARRTMPFRE: c=9,e=14,p=0,cr=0,cu=0,tim=56146470889817\r\n=====================\r\nPARSING IN CURSOR #4574986224 len=356 dep=0 uid=150 oct=3 lid=150 tim=56146470890334 hv=2159962230 ad='7000104eb336e90' sqlid='dpt20ua0bwu3q'\r\nSelect schemaname, decode(sql_hash_value, 0, prev_hash_value, sql_hash_value) hash,\r\n       decode(sql_hash_value, 0, RawToHex(prev_sql_addr), RawToHex(sql_address)) address\r\n       , decode(sql_id, null, prev_sql_id, sql_id) sql_id\r\n       , decode(sql_child_number, null, prev_child_number, sql_child_number) sql_child_number\r\nfrom v$session\r\nwhere sid = :sid\r\nEND OF STMT\r\nPARSE #4574986224:c=290,e=475,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=56146470890333\r\n=====================\r\nPARSING IN CURSOR #4577893528 len=37 dep=1 uid=0 oct=3 lid=0 tim=56146470891198 hv=1398610540 ad='7000104e38da7b8' sqlid='grwydz59pu6mc'\r\nselect text from view$ where rowid=:1\r\nEND OF STMT\r\nPARSE #4577893528:c=315,e=520,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,plh=0,tim=56146470891198\r\nBINDS #4577893528:\r\n Bind#0\r\n  oacdty=11 mxl=16(16) mxlc=00 mal=00 scl=00 pre=00\r\n  oacflg=18 fl2=0001 frm=00 csi=00 siz=16 off=0\r\n  kxsbbbfp=110dd1858  bln=16  avl=16  flg=05<\/pre>\n\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_13167\" class=\"pvc_stats all  \" data-element-id=\"13167\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>You may need to enable trace for a session for many reasons. For example, you may need to determine which queries run in a session. You can enable trace for a session with the DBMS_MONITOR.session_trace_enable procedure. Use of the procedure and the parameters it passes are as follows. DBMS_MONITOR.SESSION_TRACE_ENABLE( session_id IN BINARY_INTEGER DEFAULT NULL, serial_num &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_13167\" class=\"pvc_stats all  \" data-element-id=\"13167\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":13168,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[4],"tags":[4868,4859,4862,4861,4860,4869,4864,4866,4865,4867,4863],"class_list":["post-13167","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-oracle","tag-enable-trace-at-session-level-in-oracle","tag-enable-trace-for-a-session-in-oracle","tag-enable-trace-for-a-session-in-oracle-11g","tag-enable-trace-for-a-session-in-oracle-12c","tag-enable-trace-for-particular-session-in-oracle","tag-how-can-you-enable-a-trace-for-a-session-in-oracle","tag-how-do-i-turn-on-sql-trace","tag-how-do-i-view-a-sql-trace-file","tag-how-do-you-run-a-trace","tag-where-is-the-trace-file-generated-in-oracle","tag-which-command-do-you-execute-to-enable-sql-trace-for-the-current-session"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Enable Trace For a Session in Oracle - Database Tutorials<\/title>\n<meta name=\"description\" content=\"Enable Trace For a Session in Oracle\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enable Trace For a Session in Oracle - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"Enable Trace For a Session in Oracle\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-09T08:58:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"683\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"dbtut\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"dbtut\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\"},\"author\":{\"name\":\"dbtut\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\"},\"headline\":\"Enable Trace For a Session in Oracle\",\"datePublished\":\"2019-10-09T08:58:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\"},\"wordCount\":158,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png\",\"keywords\":[\"enable trace at session level in oracle\",\"Enable Trace For a Session in Oracle\",\"enable trace for a session in oracle 11g\",\"enable trace for a session in oracle 12c\",\"enable trace for particular session in oracle\",\"how can you enable a trace for a session in oracle\",\"How do I turn on SQL trace?\",\"How do I view a SQL trace file?\",\"How do you run a trace?\",\"Where is the trace file generated in Oracle?\",\"Which command do you execute to enable SQL trace for the current session?\"],\"articleSection\":[\"ORACLE\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\",\"name\":\"Enable Trace For a Session in Oracle - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png\",\"datePublished\":\"2019-10-09T08:58:51+00:00\",\"description\":\"Enable Trace For a Session in Oracle\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png\",\"width\":683,\"height\":453},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enable Trace For a Session in Oracle\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408\",\"name\":\"dbtut\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g\",\"caption\":\"dbtut\"},\"description\":\"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.\",\"sameAs\":[\"http:\/\/NurullahCAKIR\"],\"url\":\"https:\/\/dbtut.com\/index.php\/author\/dbtut\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enable Trace For a Session in Oracle - Database Tutorials","description":"Enable Trace For a Session in Oracle","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/","og_locale":"en_US","og_type":"article","og_title":"Enable Trace For a Session in Oracle - Database Tutorials","og_description":"Enable Trace For a Session in Oracle","og_url":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/","og_site_name":"Database Tutorials","article_published_time":"2019-10-09T08:58:51+00:00","og_image":[{"width":683,"height":453,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png","type":"image\/png"}],"author":"dbtut","twitter_card":"summary_large_image","twitter_misc":{"Written by":"dbtut","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/"},"author":{"name":"dbtut","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408"},"headline":"Enable Trace For a Session in Oracle","datePublished":"2019-10-09T08:58:51+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/"},"wordCount":158,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png","keywords":["enable trace at session level in oracle","Enable Trace For a Session in Oracle","enable trace for a session in oracle 11g","enable trace for a session in oracle 12c","enable trace for particular session in oracle","how can you enable a trace for a session in oracle","How do I turn on SQL trace?","How do I view a SQL trace file?","How do you run a trace?","Where is the trace file generated in Oracle?","Which command do you execute to enable SQL trace for the current session?"],"articleSection":["ORACLE"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/","url":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/","name":"Enable Trace For a Session in Oracle - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png","datePublished":"2019-10-09T08:58:51+00:00","description":"Enable Trace For a Session in Oracle","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2019\/10\/Ads\u0131z-2.png","width":683,"height":453},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2019\/10\/09\/enable-trace-for-a-session-in-oracle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Enable Trace For a Session in Oracle"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/fc047c39e1e53dce28fc4253529ea408","name":"dbtut","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c322c32021bf651d9e103b183963c479a9c9791ead0715f4348203496c39aa54?s=96&d=mm&r=g","caption":"dbtut"},"description":"We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.","sameAs":["http:\/\/NurullahCAKIR"],"url":"https:\/\/dbtut.com\/index.php\/author\/dbtut\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/13167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=13167"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/13167\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/13168"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=13167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=13167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=13167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}