Article Kyle Baxter · Oct 10, 2019 2m read A simple trick I wish someone had told me 10 years ago Are you all ready for something you wish you knew ages ago (or, in my case, a DECADE ago)? Open up a portal in your favorite instance and go to: System Administration->Configuration->Additional Settings->Startup Scroll down to "Terminal Prompt" and click 'Edit'. This allows you to edit what you see on your terminal prompt. You can change that to my current setting: 8,3,2 What does this do? It adds your instance name for your prompt. So now your prompt can look like: DEVELOPMENT:USER> #Development Environment #Management Portal #Terminal #Caché #InterSystems IRIS 12 12 1 1.2K
Article Kyle Baxter · Jan 11, 2019 10m read The One Query Performance Trick You NEED to Know? Tune Table! A good writer is supposed to draw you in with the title and bury the answer somewhere in the article. I suppose this makes me a bad writer – don’t think less of me, my whole feeling of self-worth comes from the opinions of internet strangers! #Best Practices #Performance #SQL #Caché #InterSystems IRIS 16 8 9 2.8K
Announcement Kyle Baxter · May 25, 2018 New Video: SQL – Things You Should Know Hi Community!New session recording from Global Summit 2017 is already on DC YouTube Channel:SQL – Things You Should Know https://www.youtube.com/embed/7fQ_ozYtAqk[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings] #Global Summit 2017 #SQL #Video #Global Summit 1 2 0 510
Article Kyle Baxter · Apr 12, 2017 1m read It's upgrade season - is your SQL Body ready?! Keep your SQL Slim and Toned for Upgrade Season! It's almost time to get your customers upgraded to new versions - are you worried about showing off your SQL Performance after upgrades? If you want to upgrade without worrying, then I have just the program for you!!! Check out this video from Global Summit 2016 featuring yours truly explaining how to upgrade a system without worrying about pesky SQL queries showing on your waistline! https://www.youtube.com/watch?v=GfFPYfIoR_g #Caché #Global Summit 2016 #SQL #Performance #Tips & Tricks 1 0 0 341
Article Kyle Baxter · Jan 12, 2017 3m read Kyle Lists Common Problems and Their Solutions: 7 Reasons A Query Returns No Data So I know it's been a while, and I hate to let my adoring fans down... just not enough to actually start writing again. But the wait is over and I'm back! Now bask in my beautiful ginger words!For this series, I am going to look at some common problems we see in the WRC and discuss some common solutions. Of course, even if you find a solution here, you are always welcome to call in and expression you gratitude, or just hear my voice!This week's common problem: "My query returns no data." #Caché #ObjectScript #SQL 7 1 0 460
Article Kyle Baxter · Sep 9, 2016 5m read Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!* Have some free text fields in your application that you wish you could search efficiently? Tried using some methods before but found out that they just cannot match the performance needs of your customers? Do I have one weird trick that will solve all your problems? Don’t you already know!? All I do is bring great solutions to your performance pitfalls!As usual, if you want the TL;DR (too long; didn’t read) version, skip to the end. Just know you are hurting my feelings. #Best Practices #iFind #Indexing #Object Data Model #ObjectScript #SQL #Caché 22 11 2 2.7K
Article Kyle Baxter · Aug 29, 2016 6m read Data Storage - Information You Must Know to Make Good Decisions When Developing This post is the direct result of working with an InterSystems customer who came to me with the following problem: SELECT COUNT(*) FROM MyCustomTable Takes 0.005 seconds, total 2300 rows. However: #Data Model #Globals #Object Data Model #ObjectScript #SQL #Tips & Tricks #Tutorial 11 11 0 1.4K
Article Kyle Baxter · Aug 10, 2016 3m read Improve SQL Performance for Date Queries, AGAIN! Date range queries going too slow for you? SQL Performance got you down? I have ANOTHER weird trick that SQL Developers don't want you to know!* #Code Snippet #Performance #SQL #Caché #InterSystems IRIS 10 0 1 2.6K
Article Kyle Baxter · Jul 19, 2016 2m read Improve SQL Performance for Date Range Queries Date range queries going too slow for you? SQL Performance got you down? I have one weird trick that might just help you out! (SQL Developers hate this!)* If you have a class that records timestamps when the data is added, then that data will be in sequence with your IDKEY values - that is, TimeStamp1 < TimeStamp2 if and only if ID1 < ID2 for all IDs and TimeStamp values in table - then you can use this knowledge to increase performance for queries against TimeStamp ranges. Consider the following table: #Best Practices #Code Snippet #SQL #InterSystems IRIS 18 9 1 30.2K
Article Kyle Baxter · Apr 7, 2016 1m read Global Summit 2016 - Painless SQL Upgrades Presenter: Kyle BaxterTask: Upgrade to a new version of Caché without concerns about slowing existing SQL queriesApproach: Use the new Frozen Plans feature in Caché Content related to this session, including slides, video and additional learning content can be found here. #Global Summit 2016 #SQL 2 0 0 353
Article Kyle Baxter · Feb 2, 2016 1m read Creating an IDKEY with a chosen name What do you do if you want to have the ID field have a meaningful name for your application? Sometimes it comes to pass that when you're making a new table that you want to have the unique row identifier (a.k.a. IDKEY) to be a field that has a name that is meaningful for your data. Moreover, sometimes you want to set this value directly. Caché fully supports this functionality and it works Suppose you have a class Test.Kyle. The data will be stored like so:^Test.Kyle(IDKEY)=$LB("",Field1,Field2,...,Fieldn) #Object Data Model #SQL #Caché 3 2 0 463